Under which category would you file this issue?
Airflow Core
Apache Airflow version
3.2.2
What happened and how to reproduce it?
For a moderately sized dag with approx 30 tasks and history of 25 dag runs shown, the grid view is extremely slow. Clicking on items in the grid has signifiant yank and delay. This was not an issue in Airflow 2.
- Just hovering over an item has noticeable lag before the row is highlighted
- Clicking on an item in the grid causes the grid to flicker into white, before showing the same content again. Then it takes 3-4 seconds for the content in the details tab to load.
- It is likely not an API issue, looking in the network tab of the browser shows this after clicking on an item in the grid:
- The requests are served pretty fast: ~50ms each
- There's not excessive amounts of requests: 6 per click, which is not great, but not terrible either. Two minor things standing out:
hitlDetails and externalLogUrl are seperate endpoints. Better to merge them into the tasks or taskInstances endpoint?
/ui/grid/ti_summaries appears to reload on every click, even if clicking a task doesn't change the range of displayed dagruns
- It some times takes a second after clicking even for the first request to be sent (not seen in the graph)
- After the last response has been received, it takes nearly a second for the UI to be updated (not seen in the graph)
What you think should happen instead?
No response
Operating System
Ubuntu
Deployment
Other
Apache Airflow Provider(s)
No response
Versions of Apache Airflow Providers
apache-airflow==3.2.2
apache-airflow-client==3.2.2
apache-airflow-core==3.2.2
apache-airflow-mypy==0.1.0
apache-airflow-providers-celery==3.20.0
apache-airflow-providers-cncf-kubernetes==10.17.1
apache-airflow-providers-common-compat==1.15.0
apache-airflow-providers-common-io==1.7.2
apache-airflow-providers-common-sql==2.0.0
apache-airflow-providers-docker==4.5.6
apache-airflow-providers-fab==3.6.4
apache-airflow-providers-postgres==6.7.0
apache-airflow-providers-smtp==3.0.1
apache-airflow-providers-standard==1.13.1
apache-airflow-task-sdk==1.2.2
Official Helm Chart version
Not Applicable
Kubernetes Version
No response
Helm Chart configuration
No response
Docker Image customizations
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Under which category would you file this issue?
Airflow Core
Apache Airflow version
3.2.2
What happened and how to reproduce it?
For a moderately sized dag with approx 30 tasks and history of 25 dag runs shown, the grid view is extremely slow. Clicking on items in the grid has signifiant yank and delay. This was not an issue in Airflow 2.
hitlDetailsandexternalLogUrlare seperate endpoints. Better to merge them into thetasksortaskInstancesendpoint?/ui/grid/ti_summariesappears to reload on every click, even if clicking a task doesn't change the range of displayed dagrunsWhat you think should happen instead?
No response
Operating System
Ubuntu
Deployment
Other
Apache Airflow Provider(s)
No response
Versions of Apache Airflow Providers
Official Helm Chart version
Not Applicable
Kubernetes Version
No response
Helm Chart configuration
No response
Docker Image customizations
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct