The GitHub Actions job "Tests" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
68691417109b5194dc9e84a9c08c14e2000836b6 / D. Ferruzzi <[email protected]>
Fix deadline alert hashing bug (#61702)

* Fix deadline alert hashing bug

When I implemented UUID reuse to reduce DAG re-serialization, the code was too 
overzealous.  I reused UUIDs if the DAG previously had ANY deadlines, which 
caused two bugs:

1. Multiple deadline alerts failed silently (no DeadlineAlert records created)
2. Deadline property changes (interval/reference/callback) were ignored

We now compare existing DeadlineAlert records and check if any definitions 
changed.

New logic:
- Reuse UUIDs when ALL deadlines match (preserves hash, avoids unnecessary 
writes and re-serialization)
- Generate new UUIDs when any deadline changes (updates the hash and creates 
new records)

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

With regards,
GitHub Actions via GitBox


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

Reply via email to