emery-finkelstein opened a new issue, #77753:
URL: https://github.com/apache/airflow/issues/77753

   ### Description
   
   Two quality of life improvements around the handling of the new durable 
parameter for tasks:
   1. Configuration option to set default Task durable argument value at a 
system level.
   2. In retry task dialog provide an option to override the durable value of 
the task instance for the retry.
   
   ### Use case/motivation
   
   Upgrading to Airflow 3.3 broke our recovery workflows because of the durable 
parameter and it's system wide default to true.
   
   When a task in DAGs with many stages fails, we will tend to do address the 
underlying condition that caused the failure and retry the failed task. The 
vast majority of our tasks are BigQueryInsertJobOperators, we had previously 
addressed the issue of BigQueryJobId reuse by setting `force_retry=true` in 
DAGs in large DAGs that we expect to retry single steps.
   
   It would be helpful to set the default durable setting on a system basis 
instead of introducing a bunch of tech debt to apply it at each of the DAG 
levels. Maybe on a provider by provider basis.
   
   Additionally, it may be beneficial to allow the durable parameter to be 
overridden when the task state is cleared to allow an operator to determine 
whether it should be a durable action or not.
   
   
   ### Related issues
   
   Couldn't find one.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to