Add support for filtering Dags by any DagRun state - #68657
Conversation
pierrejeambrun
left a comment
There was a problem hiding this comment.
Thanks, just one question
|
Changing these counts to “any DagRun is running/queued” makes the dashboard card count diverge from the card link. The cards still link to In the backfill case this PR fixes, the Running card can show Could we either add/use a Dags-list filter with matching “any active DagRun state” semantics for these card links, or keep the stats latest-run based so the count and click-through stay aligned? |
fd62e72 to
3622d5e
Compare
|
Makes sense. thanks for catching this, you're right that the count and the card link diverged. I went with the first option: I added a dedicated Just pushed the change and feel free to provide any suggestion about the changes. |
413d307 to
65fabdf
Compare
pierrejeambrun
left a comment
There was a problem hiding this comment.
Nice thanks a few suggestions
|
Thanks for the review. Here are some update:
Screenshot: Screen.Recording.2026-06-27.at.2.37.02.PM.mov |
adc4548 to
11d57f1
Compare
11d57f1 to
935bb34
Compare
pierrejeambrun
left a comment
There was a problem hiding this comment.
LGTM, a couple of small suggestion. Then we can merge.
67ecba1 to
aede937
Compare
aede937 to
20f3f91
Compare
4178a6b to
9e2a3c8
Compare
…sFilters.tsx Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
9e2a3c8 to
9feb968
Compare
|
I think the comments have been resolved and it looks good to merge. Please feel free to let me know or open pr/issue to refine this one, thanks! |
* Add support for filtering Dags by any DagRun state * Update airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx * Switched the fixed width to fit-content --------- (cherry picked from commit e05d6cd) Co-authored-by: Guan-Ming Chiu <105915352+guan404ming@users.noreply.github.com>
* Add support for filtering Dags by any DagRun state * Update airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx * Switched the fixed width to fit-content --------- (cherry picked from commit e05d6cd) Co-authored-by: Guan-Ming Chiu <105915352+guan404ming@users.noreply.github.com>
Related Issue
Why
During a backwards backfill the home dashboard reported no running Dags because the running/queued counts only looked at each Dag's latest run, missing an older run still active.
How
Was generative AI tooling used to co-author this PR?
Claude Code with Opus4.8
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.