You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On tasks with retry when a TaskFailedEvent is from trigger the task is marked as failed with the retries not executed for the failed tasks. Similar issue with callbacks and also email_on_failure, email_on_retry also not being honored. This happens in main and also 2.10.4 . PR related #40084
What you think should happen instead?
Retries, callbacks and emails on failure should be honored.
How to reproduce
Create following triggers and dag with retries and callback.
Run the dag with TaskFailedEvent emitted from the trigger.
The dag is marked as failed without retries and callbacks executed.
Uncomment yielding TriggerEvent and run the dag again with new code.
Retry happens and the failure callback is also executed.
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/deferring.html#exiting-deferred-task-from-triggers
On tasks with retry when a
TaskFailedEvent
is from trigger the task is marked as failed with the retries not executed for the failed tasks. Similar issue with callbacks and also email_on_failure, email_on_retry also not being honored. This happens in main and also 2.10.4 . PR related #40084What you think should happen instead?
Retries, callbacks and emails on failure should be honored.
How to reproduce
TaskFailedEvent
emitted from the trigger.TriggerEvent
and run the dag again with new code.Operating System
Ubuntu 20.04.3 LTS
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: