eladkal commented on code in PR #36935:
URL: https://github.com/apache/airflow/pull/36935#discussion_r1511797496
##########
airflow/config_templates/config.yml:
##########
@@ -116,6 +116,17 @@ core:
type: string
example: ~
default: "16"
+ max_consecutive_failed_dag_runs_per_dag:
+ description: |
+ The maximum number of consecutive DAG failures before DAG is
automatically paused.
+ This is also configurable per DAG level with
``max_consecutive_failed_dag_runs``,
+ which is defaulted as ``max_consecutive_failed_dag_runs_per_dag``.
+ If not specified, then the value is considered as None,
+ meaning that the dags are never paused out by default.
Review Comment:
Lets mention this as experimental feature.
We need also:
1. News fragment entry for feature (that gives 2-3 sentences about this
capability and explain this is experimental one)
2. Doc entry that explain this feature and explain this is experimental one
After these LGTM
--
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]