Shally-Katariya commented on issue #59598:
URL: https://github.com/apache/airflow/issues/59598#issuecomment-3694018000

   Summarizing the issue:
   
   1️ The issue affects the DAG Tasks tab in the Airflow UI 
(`/dags/<dag_id>/tasks`).
   
   2️ The problem is an N+1 query pattern where the UI makes one `taskInstances`
   API call per task, leading to hundreds of requests for large DAGs.
   
   3️ A fix is already in progress and linked via PR #59814 by @Arunodoy18,
   which batch-fetches task instances in `Tasks.tsx` and avoids per-task 
requests.
   
   I tested the changes from PR #59814 locally using Breeze, and the N+1 calls
   are no longer present on the Tasks tab. Task cards render correctly with
   batched data.
   
   Once the PR is merged, this issue should be resolved.
   


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