Skip to content

UI latency pausing DAGs from main /dags page (Airflow 3.1.4, Celery + Docker Compose) #59445

@marcosmartinezfco

Description

@marcosmartinezfco

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.
  3. Observe the long delay before the UI updates.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected_version:3.1Issues Reported for 3.1area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions