Skip to content

Allow filtering the Dag runs list by Dag tags - #70861

Merged
bbovenzi merged 6 commits into
apache:mainfrom
Aaryan123456679:feature/dagrun-tag-filter-19197
Sep 30, 2026
Merged

bbovenzi merged 6 commits into
apache:mainfrom
Aaryan123456679:feature/dagrun-tag-filter-19197

Conversation

@Aaryan123456679

Copy link
Copy Markdown
Contributor

Finding runs for Dags with a specific tag currently requires filtering by dag_id one at a time, since the cross-Dag runs table has no way to scope by tag. This adds a tags filter (with an any/all match mode) to the GET /dags/~/dagRuns endpoint and wires it into the runs table's filter bar in the UI, mirroring the existing team filter.

closes: #19197

Finding runs for Dags with a specific tag currently requires filtering
by dag_id one at a time, since the cross-Dag runs table has no way to
scope by tag. Add a tags filter (with an any/all match mode) to the
dag runs API and wire it into the UI's runs table filter bar.

@bbovenzi bbovenzi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a screenshot, or better yet a gif, of the functionality.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Sep 19, 2026
The common parameters module was split into a package on main, so the Dag
run tags filter now lives in parameters/dag.py next to the existing tags and
teams filters. Main also gained a typeahead TagsFilter for the filter bar,
which this branch's separate select is dropped in favor of.
The tags filter now comes from the shared typeahead editor, which offers an
any/all match mode, so the runs table has to forward it as it does on the
Dags list. Without that the mode chosen in the filter bar was silently
ignored and every selection behaved as "any".
@Aaryan123456679

Copy link
Copy Markdown
Contributor Author
pr70861-dagrun-tags-filter

GIF as requested.

@github-actions github-actions Bot removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Sep 23, 2026
@bbovenzi bbovenzi added this to the Airflow 3.4.0 milestone Sep 30, 2026
@bbovenzi
bbovenzi merged commit 9e67831 into apache:main Sep 30, 2026
156 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow search and filter by tags in dag run table

2 participants