Sakibpedia opened a new pull request, #77754: URL: https://github.com/apache/airflow/pull/77754
AirflowFailException raised in a task state-change callback (for example `on_retry_callback`) was swallowed like any other callback error, so a task already marked `UP_FOR_RETRY` kept retrying. This propagates that exception out of the callback runner and, in `finalize()`, converts it into a terminal `FAILED` state by sending a corrected terminal state message to the supervisor. Ordinary callback exceptions are still logged and ignored as before. Regression tests cover both `on_retry_callback` and `on_failure_callback`. Fixes #60172 -- 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]
