Apache Airflow version
3.1.0
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
Loading the grid view for a DAG with <100 tasks took 30 seconds. Specifically this GET request ui/grid/structure/dag_name?limit=5&order_by=-run_after
This happens repeatedly across multiple DAGs and on multiple Airflow instances.
What you think should happen instead?
I think this should be significantly faster. Possibly it could be progressive, loading only the data required, like the top level task groups to start with?
How to reproduce
I'm not sure exactly what triggers the long load time. It's possible that mapped tasks are a factor, as we use those frequently. Maybe also the number of dag versions? This happens every time we load up the affected DAGs in the Grid View.
Operating System
debian bullseye
Versions of Apache Airflow Providers
No response
Deployment
Astronomer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
3.1.0
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
Loading the grid view for a DAG with <100 tasks took 30 seconds. Specifically this GET request
ui/grid/structure/dag_name?limit=5&order_by=-run_afterThis happens repeatedly across multiple DAGs and on multiple Airflow instances.
What you think should happen instead?
I think this should be significantly faster. Possibly it could be progressive, loading only the data required, like the top level task groups to start with?
How to reproduce
I'm not sure exactly what triggers the long load time. It's possible that mapped tasks are a factor, as we use those frequently. Maybe also the number of dag versions? This happens every time we load up the affected DAGs in the Grid View.
Operating System
debian bullseye
Versions of Apache Airflow Providers
No response
Deployment
Astronomer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct