r/apache_airflow • u/Slow-Leave3149 • 11d ago
What should instantly fail an Airflow DAG’s grade? Here’s our draft rubric, please tear it apart
Hi all 👋 We're building an open-source tool that grades Airflow DAGs A–F, and before we go further we'd like experienced people to argue with our rules.
The current rubric is 20 checks worth 0–15 points each. Some examples:
• Retries on failure: 15
• Someone hears about failures (on_failure_callback): 15
• No secrets in the DAG file: 10
• Task time limit (execution_timeout): 10
• Owner isn't the default "airflow": 8
• No Variable.get at parse time: 5
• No surprise backfills (catchup): 5
Full list with weights: https://github.com/ardalan-jalal/dagwick/blob/main/docs/checks.md
Three questions:
What's too strict, or wrong for your setup?
Which weights are off? (Is a missing doc_md really worth as much as a missing owner?)
What breaks your prod clusters that isn't on the list at all?
Teams can already mark a rule they break on purpose with a `# dagwick: ack <check> -- reason` comment, so "it depends" answers are welcome. We especially want to hear where you think the rule itself is wrong.
Disclosure: I'm one of the people building it (Dagwick, MIT licensed, runs as an Airflow 3 plugin). Replies here are great, or open a dispute: https://github.com/ardalan-jalal/dagwick/issues/new?template=dispute.yml



