The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-callback-event-buffer-69975 has failed.
Run started by GitHub user anmolxlight (triggered by anmolxlight).

Head commit for run:
312a819d48ae2c0c68e717b4bc944b9929f2582d / Anmol Mishra <[email protected]>
Restore executor event buffer on DB commit failure (#69975)

Executor events are popped from the buffer during processing but the
session commit happens when the create_session() context exits. If the
commit fails (transient DB error), the events are lost from the buffer
while the DB row remains in its original state. Unlike task instances,
executor callbacks have no recovery path that reselects these states.

Fix by snapshotting each executor's event buffer before processing and
restoring it if the session commit raises an exception. This ensures
events can be retried by the next scheduler loop iteration. For TIs,
the same restoration avoids re-processing gaps.

Signed-off-by: Anmol Mishra <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to