eladkal commented on code in PR #36935: URL: https://github.com/apache/airflow/pull/36935#discussion_r1500672202
########## airflow/api_connexion/schemas/dag_schema.py: ########## @@ -69,6 +69,7 @@ class Meta: tags = fields.List(fields.Nested(DagTagSchema), dump_only=True) max_active_tasks = auto_field(dump_only=True) max_active_runs = auto_field(dump_only=True) + max_consecutive_failed_dag_runs = auto_field(dump_only=True) Review Comment: I need to think about the name. > if user wants to restart counting again, they will have add to add a non-failed dag_run for now That might be problematic however I think we can avoid deciding right now. We can mark this feature as experimintal thus it allows the flexability of changing the behavior if needed. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org