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

Head commit for run:
f8e6bac09f3889d79f0607741efe1885e735ccd7 / Ephraim Anierobi 
<[email protected]>
Ensure consistent Seriailized DAG hashing

The serialized DAG dictionary is not ordered correctly when creating hashes, 
and that causes inconsistent hashes, leading to
frequent update of the serialized DAG table.

Changes:

Implemented sorting for serialized DAG dictionaries and nested structures to 
ensure consistent and predictable serialization order for hashing. Using 
`sort_keys` in `json.dumps` is not enough to sort the nested structures in the 
serialized DAG.

Added serialize and deserialize methods for DagParam and ArgNotSet to allow for 
more structured serialization.

Updated serialize_template_field to handle objects that implement the serialize 
method. This was done because of DagParam and ArgNotSet in the template fields. 
Previously, it produced an object, but with this change, it now serialises to a 
consistent object.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to