LiranBenShushan opened a new issue, #54456: URL: https://github.com/apache/airflow/issues/54456
### Description Add a DAG argument which when true it will prevent the start of future runs of a DAG which had a failure in the last instance. Don't pause (disactivate) the DAG, because developers can miss it without knowing it was deactivated automatically. depend_on_past do something similar but only work on the task level and not on the DAG level. Using depend_on_past in the DAG arguments just prevent a task to run if the previous instance of that task didn't succeed. ### Use case/motivation Prevent execution of DAG runs of a DAG, which depend on the past runs, in case of a failure in the last run. ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
