Codingaditya17 opened a new pull request, #67673: URL: https://github.com/apache/airflow/pull/67673
This backports the DagVersion alignment fix from #65835 to the 3.1 line. When clearing task instances with `run_on_latest_version=True`, the cleared task instances should use the latest serialized DAG version. For queued or running DagRuns, the DagRun's created DAG version and bundle version also need to be aligned so the next task execution uses the latest DAG bundle instead of the older one. This issue was reported against Airflow 3.1.6 in #67657. The fix already exists on newer branches, but was missing from `v3-1-test`. Testing: - `uv run ruff check airflow-core/src/airflow/models/taskinstance.py` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
