The GitHub Actions job "Tests AMD" on airflow.git/convert-serdag-3-2 has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
2b13a7bbf27c097a63279f8166355b2cd91cda60 / Ephraim Anierobi 
<[email protected]>
Reserialize Dags when downgrading below 3.1.0

Downgrading to Airflow ≤3.0.x could leave the metadata DB with
serializer v3 Dags that older versions cannot read or reserialize.
This change automatically reserializes Dags to a compatible serializer
version after a successful airflow db downgrade.
On downgrade, we map the target Airflow version to a serializer
version and reserialize all DAGs (skipped for --show-sql-only).
The mapping is derived from a new _SER_DAG_VERSIONS_MAP, resolved
from either --to-version or --to-revision.

Adds db.reserialize_all_dags_to_serializer_version supporting
3→2 down-conversion. It performs a SQL fast-path for uncompressed
rows across the db types and falls back to row-wise updates
for compressed rows. The function does not commit and logs warnings
instead of failing the CLI.

Tests cover triggering on --to-version, skipping with
--show-sql-only, and the --to-revision path.

User impact: Downgrading to 3.0.x no longer results in incompatible
v3-serialized Dags; the scheduler/UI can read Dags immediately after
the downgrade.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to