Skip to content

Airflow UI in Home shows Dag Run count instead of DAG count #34955

@JustMaris

Description

@JustMaris

Apache Airflow version

2.7.2

What happened

After updating Airflow to 2.7.2, on the home page in the UI, the count in "All/ Active/ Paused" shows a number of dag runs not the number of DAGs.
image

I determined that this is Dag Run count, by looking at the cluster activity dashboard.
image
The number changed while I was making this issue, but when I started, both places had 482.

What you think should happen instead

I would expect to see All 75 dags as that is what I see in the Cluster Activity
image

How to reproduce

My current state of reproducibility is - to install Airflow 2.7.2.
It seems that the number for the UI Button is being taken from an incorrect location.

Operating System

OS on which Airflow Docker image is based

Versions of Apache Airflow Providers

apache-airflow-providers-amazon==8.7.1
apache-airflow-providers-cncf-kubernetes==7.6.0
apache-airflow-providers-common-sql==1.7.2
apache-airflow-providers-ftp==3.5.2
apache-airflow-providers-google==10.9.0
apache-airflow-providers-http==4.5.2
apache-airflow-providers-imap==3.3.2
apache-airflow-providers-mysql==5.3.1
apache-airflow-providers-odbc==4.0.0
apache-airflow-providers-oracle==3.7.4
apache-airflow-providers-postgres==5.6.1
apache-airflow-providers-sftp==4.6.1
apache-airflow-providers-slack==8.1.0
apache-airflow-providers-snowflake==5.0.1
apache-airflow-providers-sqlite==3.4.3
apache-airflow-providers-ssh==3.7.3

Deployment

Other Docker-based deployment

Deployment details

Deploying official Airflow docker image-based image in Kubernetes with constraints applied.
Python version 3.11

Anything else

This started as soon as I updated to Airflow 2.7.2.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions