uranusjr commented on code in PR #36935: URL: https://github.com/apache/airflow/pull/36935#discussion_r1512561027
########## airflow/models/dagrun.py: ########## @@ -787,6 +826,16 @@ def recalculate(self) -> _UnfinishedStates: msg="task_failure", ) + # Check if the max_consecutive_failed_dag_runs has been provided and not 0 + # and last consecutive failures are more + if bool(dag.max_consecutive_failed_dag_runs): + self.log.info( Review Comment: Also shouldn’t be `info` IMO. -- 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