pateash opened a new issue, #38171:
URL: https://github.com/apache/airflow/issues/38171

   ### Description
   
   We are adding the  ability to automatically turn off DAG after X number of 
consecutive failures.
   
   There are 2 ways to configure this
   
   in DAG() using max_consecutive_failed_dag_runs parameter this will override 
any config (as below)
   Using core config inside airflow.cfg or variable 
AIRFLOW__CORE_MAX_CONSECUTIVE_FAILED_DAG_RUNS_PER_DAG
   environment variable.
   
   ### Use case/motivation
   
   We should also show this information into dag_id(besides dag_id) if this is 
being used,
   although we are showing this in dag details for now.
   
    
   <img width="838" alt="image" 
src="https://github.com/apache/airflow/assets/16856802/b1e098b1-a8ed-4bf6-831a-3d33b0fe4b08";>
   
   
   ### Related issues
   
    #36935
   
   ### Are you willing to submit a PR?
   
   - [X] 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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to