The GitHub Actions job "Tests" on 
airflow.git/make-serialized-dag-write-dag-atomic has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
8ddeef17b5520e40f4ad0b72efc837f5c309cf91 / Ephraim Anierobi 
<[email protected]>
Fix atomicity issue in SerializedDagModel.write_dag preventing orphaned 
DagVersions

When writing serialized DAGs to the database, if DagCode.write_code failed
or serializedDag writing failed, after DagVersion was created, the DagVersion
would remain committed even though the SerializedDagModel write failed.
This left orphaned DagVersion records in the database that could cause
inconsistencies in DAG versioning.

The fix ensures all operations (DagVersion, SerializedDagModel, and DagCode)
are created within the same transaction, so if any operation fails, everything
rolls back together maintaining database consistency.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to