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

   ### Apache Airflow version
   
   2.3.2 (latest released)
   
   ### What happened
   
   Using cluster policies, I set a default `on_failure_callback`.
   This works great with all tasks expect with task new task mapping.
   
   I tried to change the cluster policy to change the DAG `default_args` to add 
the default callback to default_args but after that task mapping appeared but 
no tasks have the `on_failure_callback` filled, including the previous that 
worked previously.
   
   ### What you think should happen instead
   
   Policies should work on all tasks, including the dynamic mapping or generate 
an exception with the error.
   
   ### How to reproduce
   
   Overwrite any parameters using the `dag_policy`.
   
   ### Operating System
   
   Official docker image
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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