github-actions[bot] opened a new pull request, #63433:
URL: https://github.com/apache/airflow/pull/63433

   * Fix task group lookup using wrong DAG version for historical runs
   
   When a task group is renamed between DAG versions, the API's
   get_task_instances endpoint was resolving task groups against the
   latest DAG version instead of the version the run was created with.
   This caused 404 errors when clicking on task groups in the grid view
   for historical runs.
   
   The fix changes get_dag_for_run_or_latest_version to prefer the
   run's created_dag_version_id, falling back to the existing behavior
   only when unavailable.
   
   * Move inline comment to docstring in get_dag_for_run_or_latest_version
   (cherry picked from commit 48cc031600372d1695efd3847ec56270e3c3e7cd)
   
   Co-authored-by: Pierre Jeambrun <[email protected]>


-- 
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]

Reply via email to