You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/06 22:24:00 UTC
[GH] (airflow/feature/fix-airflow-fail-exception-on-retry-callback): Workflow run "Tests" failed!
The GitHub Actions job "Tests" on airflow.git/feature/fix-airflow-fail-exception-on-retry-callback has failed.
Run started by GitHub user IvanildoBarauna (triggered by potiuk).
Head commit for run:
a45f644b113663450c0bbbeef29f0a322a515442 / IvanildoBarauna <iv...@outlook.com>
Fix AirflowFailException in on_retry_callback not preventing retries
When AirflowFailException was raised inside on_retry_callback, it was
silently swallowed and the task proceeded with retry as normal.
The fix propagates AirflowFailException out of _run_task_state_change_callbacks
and intercepts it in the UP_FOR_RETRY branch of finalize(). When caught,
the task is marked as FAILED, the RetryTask message is withheld, and
TaskState(FAILED) is sent to the supervisor instead. The on_failure_callback
is then invoked as expected.
closes: #60172
Report URL: https://github.com/apache/airflow/actions/runs/23520690943
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org