Skip to content

Deactivating an active DAG has no deactivation indicator in UI #63800

Description

@yavin87

Apache Airflow version

Other Airflow 3 version (please specify below)

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

3.1.6

What happened?

When deactivating a DAG by removing it from the DAGS_FOLDER, you can still access it on the UI by visiting its old URL.

However there is no indication that the DAG was deactivated. Additionally, if it was active before deletion:

  • its state is still active
  • a Next Run datetime is displayed

What you think should happen instead?

The UI should indicate that the DAG has been deactivated.

How to reproduce

  1. remove a an active DAG from DAGS_FOLDER
  2. await DAG processing
  3. open the now deactivated DAG's UI via its URL

Operating System

Linux via the standard docker-compose file

Versions of Apache Airflow Providers

apache-airflow-providers-amazon==9.19.0
apache-airflow-providers-celery==3.15.0
apache-airflow-providers-cncf-kubernetes==10.12.0
apache-airflow-providers-common-compat==1.11.0
apache-airflow-providers-common-io==1.7.0
apache-airflow-providers-common-messaging==2.0.1
apache-airflow-providers-common-sql==1.30.2
apache-airflow-providers-docker==4.5.1
apache-airflow-providers-elasticsearch==6.4.2
apache-airflow-providers-fab==3.1.1
apache-airflow-providers-ftp==3.14.0
apache-airflow-providers-git==0.2.0
apache-airflow-providers-google==19.3.0
apache-airflow-providers-grpc==3.9.1
apache-airflow-providers-hashicorp==4.4.1
apache-airflow-providers-http==5.6.2
apache-airflow-providers-microsoft-azure==12.10.1
apache-airflow-providers-mysql==6.4.0
apache-airflow-providers-odbc==4.11.0
apache-airflow-providers-openlineage==2.9.2
apache-airflow-providers-postgres==6.5.1
apache-airflow-providers-redis==4.4.1
apache-airflow-providers-sendgrid==4.2.0
apache-airflow-providers-sftp==5.5.1
apache-airflow-providers-slack==9.6.1
apache-airflow-providers-smtp==2.4.1
apache-airflow-providers-snowflake==6.8.1
apache-airflow-providers-ssh==4.2.1
apache-airflow-providers-standard==1.10.2

Deployment

Official Apache Airflow Helm Chart

Deployment details

Docker-Compose

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. boring-cyborg commented on Mar 17, 2026

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  2. added
    area:UIRelated to UI/UX. For Frontend Developers.
    on Mar 17, 2026
  3. jroachgolf84 commented on Mar 17, 2026

    @jroachgolf84
    Collaborator

    @yavin87 - just curious, what happens if you try to run the DAG?

  4. bbovenzi commented on Mar 18, 2026

    @bbovenzi
    Contributor

    Sounds like this is a deeper issue since the API is also returning information about the dag.

  5. TomasCorreia2003 commented on Mar 27, 2026

    @TomasCorreia2003

    I have an implemented fix for this bug

  6. added 2 commits that reference this issue on Mar 27, 2026
    f24ef9f
    a08724a
  7. added a commit that references this issue on Apr 14, 2026
    40f6ae9
  8. added a commit that references this issue on Apr 14, 2026
    2f6164a
  9. added a commit that references this issue on Apr 14, 2026
    2d42641
  10. added a commit that references this issue on Apr 14, 2026
    778c688
  11. added 4 commits that reference this issue on Apr 15, 2026
    c064cc2
    12bf460
    36e0ee6
    37ad1da
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions