You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2025/07/28 15:26:15 UTC

[GH] (airflow/fix-issue-upgrade-taskinstance): Workflow run "Tests AMD" is working again!

The GitHub Actions job "Tests AMD" on airflow.git/fix-issue-upgrade-taskinstance has succeeded.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
db981eb17f42cc24a09750efc89bf952fb1d27c3 / Ephraim Anierobi <sp...@gmail.com>
Serialize Dags before making TI.dag_version_id non-nullable

It seemed simpler to reserialize the DAGs and update the
task instances directly, so that's what I did here.
I'm slightly unsure if this could lead to failures during
reserialization or cause performance issues.

An alternative would have been to manually create entries
for serialized_dag, dag_version, and dag_code before
updating the TIs, but that felt more complex.

The issue here is that, upgrades from AF2 fails due to the
TIs not been associated with dag_versions. The issue mainly
affects users upgrading from Airflow 2, since in Airflow 3
the dag_version table is already populated for all DAGs.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org