The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/zombie-heartbeat-callback-dedupe has succeeded.
Run started by GitHub user hkc-8010 (triggered by hkc-8010).

Head commit for run:
8f9eb4bc40e2ae524de534e39fd739de66697245 / Hemkumar Chheda 
<[email protected]>
Load task and send email in heartbeat-timeout purge path

The purge path called handle_failure() without ever loading ti.task,
so fail_fast (ti.task.dag.fail_fast) silently no-opped and the
external-kill email path in process_executor_events never ran for
these TIs since the TI already left RUNNING/RESTARTING by the time
any executor event for it was processed. It also computed
task_callback_type with a max_tries > 0 guard that could disagree
with what handle_failure() actually persists for a RESTARTING TI
with max_tries=0.

Load ti.task before calling handle_failure(), decide the callback
type with plain is_eligible_to_retry() (matching
fetch_handle_failure_context exactly), and send an EmailRequest
alongside the existing TaskCallbackRequest.

closes: #42553

Report URL: https://github.com/apache/airflow/actions/runs/29439584136

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to