The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-deadline-dag-parse-retry has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
70a915bcc74114fd19155daf802ed2e4b03bb219 / Ephraim Anierobi 
<[email protected]>
Fix Dags with deadlines failing to parse after a database retry

Writing a Dag with a deadline rewrites its serialized deadline entries from
definitions into UUID references, and it did so on the object the caller passed
in. When update_dag_parsing_results_in_db hit a transient database error it
rolled back and retried the same objects, which by then held UUID strings where
definitions were expected. The retry raised AttributeError while re-encoding
them, and since that is not a database error it escaped the retry entirely, so
the manager discarded the whole file's parse results rather than one Dag's.

Rewrite a copy instead. Only the "dag" sub-dict is copied, so the bulk of the
serialized structure is still shared, and the Dag the caller holds stays in the
shape it arrived in however many times the write is attempted.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to