jroachgolf84 commented on issue #54456:
URL: https://github.com/apache/airflow/issues/54456#issuecomment-3186529530

   I like this idea, would it be some sort of a `pause_on_dag_failure` 
parameter that gets passed into the DAG during definition? Something like this?
   
   ```python
   ...
   
   with DAG(
       dag_id="my_dag",
       start_date=datetime(2025, 1, 1),
       schedule="@daily",
       
       # Pause if the last run is a failure
       pause_on_dag_failure=True
   )
   
   ...
   ```


-- 
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]

Reply via email to