Description
related - #36935
We are adding the ability to automatically turn off DAG after X number of consecutive failures.
There are 2 ways to configure this
in DAG() using max_consecutive_failed_dag_runs parameter this will override any config (as below)
Using core config inside airflow.cfg or variable AIRFLOW__CORE_MAX_CONSECUTIVE_FAILED_DAG_RUNS_PER_DAG
environment variable.
Use case/motivation
We should also show this information into dag_id(besides dag_id) if this is being used,
although we are showing this in dag details for now.
Related issues
#36935
Are you willing to submit a PR?
Code of Conduct
Description
related - #36935
We are adding the ability to automatically turn off DAG after X number of consecutive failures.
There are 2 ways to configure this
in DAG() using max_consecutive_failed_dag_runs parameter this will override any config (as below)
Using core config inside airflow.cfg or variable AIRFLOW__CORE_MAX_CONSECUTIVE_FAILED_DAG_RUNS_PER_DAG
environment variable.
Use case/motivation
We should also show this information into dag_id(besides dag_id) if this is being used,
although we are showing this in dag details for now.
Related issues
#36935
Are you willing to submit a PR?
Code of Conduct