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/07/11 20:53:50 UTC

[GH] (airflow/fix-dag-processor-pending-rollback-on-integrity-error): Workflow run "Tests (AMD)" is working again!

The GitHub Actions job "Tests (AMD)" on airflow.git/fix-dag-processor-pending-rollback-on-integrity-error has succeeded.
Run started by GitHub user steveahnahn (triggered by steveahnahn).

Head commit for run:
7f443924c6260c3a4acad231d72b46ef33494d8b / Steve Ahn <38...@users.noreply.github.com>
Fix Dag processor crash with PendingRollbackError on concurrent dag_tag inserts

With multiple Dag processors (HA), concurrent parsing of the same dag races on
the dag_tag insert and one processor gets an IntegrityError. run_with_db_retries
retries every DBAPIError, but the parsing-results retry loop only rolled the
session back for OperationalError, so the retry ran on a poisoned session and
crashed with PendingRollbackError, masking the original error and failing the
whole parse batch instead of recovering on the second attempt.

Align both except clauses with the run_with_db_retries policy (DBAPIError,
StaleDataError): roll back before the retry, and let retryable DB errors from
per-dag serialization reach the retry loop instead of being misrecorded as dag
import errors.

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

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