GitHub user marcosmartinezfco created a discussion: UI latency pausing DAGs 
from main /dags page (Airflow 3.1.4, Celery + Docker Compose)

### Apache Airflow version

Other Airflow 3 version (please specify below)

### If "Other Airflow 3 version" selected, which one?

3.1.4

### What happened?

When navigating the main DAGs list page `/dags` UI, clicking the pause toggle 
for a DAG result in significant latency before the UI reflects the new state. 
Users see a long delay between the click and the toggle animation updating.

However, when pausing the same DAG from its detail view (inside the DAG view), 
the action is much faster and responsive.

### What you think should happen instead?

Pausing a DAG from the main DAGs list should be as responsive as pausing from 
the DAG detail view. Latency should be minimal (<1 second ideally) on both 
pages.

### How to reproduce

1. Deploy Airflow 3.1.4 using Docker Compose + Celery.
2. Navigate to the main UI DAGs list page.
3.Click the pause toggle on any listed DAG.
4. Observe the long delay before the UI updates.
5. Navigate to the individual DAG view and pause the same DAG — observe the 
faster response.

### Operating System

AlmaLinux 9.5 (Teal Serval)

### Versions of Apache Airflow Providers

```
apache-airflow-providers-amazon==9.18.0
apache-airflow-providers-celery==3.14.0
apache-airflow-providers-cncf-kubernetes==10.11.0
apache-airflow-providers-common-compat==1.10.0
apache-airflow-providers-common-io==1.7.0
apache-airflow-providers-common-messaging==2.0.1
apache-airflow-providers-common-sql==1.30.0
apache-airflow-providers-docker==4.5.0
apache-airflow-providers-elasticsearch==6.4.0
apache-airflow-providers-fab==3.0.3
apache-airflow-providers-ftp==3.14.0
apache-airflow-providers-git==0.1.0
apache-airflow-providers-google==19.1.0
apache-airflow-providers-grpc==3.9.0
apache-airflow-providers-hashicorp==4.4.0
apache-airflow-providers-http==5.6.0
apache-airflow-providers-microsoft-azure==12.9.0
apache-airflow-providers-mysql==6.4.0
apache-airflow-providers-odbc==4.11.0
apache-airflow-providers-openlineage==2.9.0
apache-airflow-providers-postgres==6.5.0
apache-airflow-providers-redis==4.4.0
apache-airflow-providers-sendgrid==4.2.0
apache-airflow-providers-sftp==5.5.0
apache-airflow-providers-slack==9.6.0
apache-airflow-providers-smtp==2.4.0
apache-airflow-providers-snowflake==6.7.0
apache-airflow-providers-ssh==3.14.0
apache-airflow-providers-standard==1.10.0
```


### Deployment

Docker-Compose

### Deployment details

_No response_

### Anything else?

## Environment

- Deployment: Docker Compose with CeleryExecutor
- Webserver / Scheduler / Workers: AWS r7i.8xlarge (ample hardware)
- Database: PostgreSQL Aurora (RDS) cluster with writer instance big enough to 
handle it
- Number of DAGs: 35


### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)


GitHub link: https://github.com/apache/airflow/discussions/60847

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to