Body
This idea may raise some edge cases but the core concept of it is: If a DAG fails more than X times sequentially then it probably needs some manual action thus there is no point in keeping as active. When running large deployment of Airflow I discovered that many of the DAGs were some experiments/ad hoc/tests that were leftovers and no one noticed or needed.
The value of this feature is that it helps to reduce load from the scheduler and workers. This can be very helpful for large Airflow deployments with many DAG authors that share the same instance.
This should be optional functionality with default as -1 (which means feature is off - for backward compatibility)
Committer
Body
This idea may raise some edge cases but the core concept of it is: If a DAG fails more than X times sequentially then it probably needs some manual action thus there is no point in keeping as active. When running large deployment of Airflow I discovered that many of the DAGs were some experiments/ad hoc/tests that were leftovers and no one noticed or needed.
The value of this feature is that it helps to reduce load from the scheduler and workers. This can be very helpful for large Airflow deployments with many DAG authors that share the same instance.
This should be optional functionality with default as -1 (which means feature is off - for backward compatibility)
Committer