You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DAG list: state filters should use DAG run counts by state (like 2.x), not latest-run state only #67094
Airflow 2.x: The DAG list filters for run-related states behaved like they used DAG runs aggregated per DAG (counts or “has any run in this state”), so you could still find DAGs with failures when the latest run had already succeeded.
Airflow 3.x: The UI still offers filters for Queued, Running, Success, and Failed, but they behave as if they use the latest DAG run’s state only. Example: a DAG with many failed runs and a latest success disappears from a failure-oriented view even though failure runs still exist.
Ask: Change the DAG list state filters so they apply to DAG run totals per DAG by state (same general idea as 2.x), scoped however the backend defines which runs are considered for that list view. If the scope is not obvious in the UI, document it.
Use case/motivation
We use the DAG list as the first place to spot trouble: filter to failed (or queued/running), open those DAGs, investigate.
That only works if “failed” means this DAG has failed DAG runs, not the last DAG run failed. Right now 3.x follows the latest run and hides backlog behind a green latest run.
Related issues
#66946 DAG list page: show total run state counts per DAG
#50624 Bring back “Status of all previous DAG runs” column on the DAGs page
The backend joins each DAG to its most recent DagRun and filters on that state, so a DAG with older failures but a latest success won’t show up under Failed. That’s different from how the 2.x DAG list felt in practice, and it breaks the usual ops flow of scanning the list for trouble.
Worth treating as a real workflow issue, not just a nice to have UI change.
Activity
sidshas03 commentedon May 20, 2026
The backend joins each DAG to its most recent DagRun and filters on that state, so a DAG with older failures but a latest success won’t show up under Failed. That’s different from how the 2.x DAG list felt in practice, and it breaks the usual ops flow of scanning the list for trouble.
Worth treating as a real workflow issue, not just a nice to have UI change.