You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dstandish (via GitHub)" <gi...@apache.org> on 2025/04/20 15:55:58 UTC

[PR] Fix upgrade where dupe dag [airflow]

dstandish opened a new pull request, #49478:
URL: https://github.com/apache/airflow/pull/49478

   Candidate to resolve https://github.com/apache/airflow/issues/49476
   
   Migration from 2.10.5 fails.
   
   The issue occurs when the same DAG exists in two different files. In such cases, the [condition](https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/migrations/versions/0047_3_0_0_add_dag_versioning.py#L173) dag_code.fileloc_hash = serialized_dag.fileloc_hash fails. As a result, the dag_id column in the dag_code table remains null for that specific DAG, leading to the following error:
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove dag_code records with no serdag [airflow]

Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl commented on PR #49478:
URL: https://github.com/apache/airflow/pull/49478#issuecomment-2817734069

   Propose to make this to 3.0.1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove dag_code records with no serdag [airflow]

Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish merged PR #49478:
URL: https://github.com/apache/airflow/pull/49478


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org