-
Notifications
You must be signed in to change notification settings - Fork 16.5k
feat: add depth filter to TaskStreamFilter in UI #60549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pierrejeambrun
merged 8 commits into
apache:main
from
OscarLigthart:feat/add-depth-filter-to-ui
Jan 19, 2026
Merged
feat: add depth filter to TaskStreamFilter in UI #60549
pierrejeambrun
merged 8 commits into
apache:main
from
OscarLigthart:feat/add-depth-filter-to-ui
Jan 19, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bbovenzi
approved these changes
Jan 15, 2026
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great. I think static vs traverse mode makes sense. Adding a description could help users though
Just some minor comments
airflow-core/src/airflow/ui/src/layouts/Details/TaskStreamFilter.tsx
Outdated
Show resolved
Hide resolved
pierrejeambrun
approved these changes
Jan 19, 2026
Member
|
I agree a nice follow up could be to add some 'information' tooltip explaining what the 'static' vs 'traverse' mean |
jason810496
pushed a commit
to jason810496/airflow
that referenced
this pull request
Jan 22, 2026
* feat: add depth filter to task stream filter * feat: add traverse mode * refactor: change mode to buttongroup * fix: reset mode on clearing filter * fix: lint * fix: pnpm lint * fix: file length * fix: use translate for input placeholder
suii2210
pushed a commit
to suii2210/airflow
that referenced
this pull request
Jan 26, 2026
* feat: add depth filter to task stream filter * feat: add traverse mode * refactor: change mode to buttongroup * fix: reset mode on clearing filter * fix: lint * fix: pnpm lint * fix: file length * fix: use translate for input placeholder
shreyas-dev
pushed a commit
to shreyas-dev/airflow
that referenced
this pull request
Jan 29, 2026
* feat: add depth filter to task stream filter * feat: add traverse mode * refactor: change mode to buttongroup * fix: reset mode on clearing filter * fix: lint * fix: pnpm lint * fix: file length * fix: use translate for input placeholder
1 task
jhgoebbert
pushed a commit
to jhgoebbert/airflow_Owen-CH-Leung
that referenced
this pull request
Feb 8, 2026
* feat: add depth filter to task stream filter * feat: add traverse mode * refactor: change mode to buttongroup * fix: reset mode on clearing filter * fix: lint * fix: pnpm lint * fix: file length * fix: use translate for input placeholder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
This PR adds the ability for a user to filter the stream of tasks given a certain depth. It builds further upon the recent implementation of allowing to retrieve a partial dag from a root with a given depth in core and the API.
Example
An example of what the menu will look like is given here:

UX Changes
What's changed is that we now allow for the setting of a depth parameter. In which the user will only see an X amount of tasks away from the
root.The idea of having this depth was to allow the user to traverse the graph a bit easier, which is useful when the DAGs get complex, to understand how tasks are related to one another. However, with a static filter, the depth parameter will require a lot of clicks from the user. At the same time, we don't want to get rid of the static filter, because it's useful to check some task information without necessarily altering the current view of the graph/grid (If the filter is not static, selecting another task will make that task the
rootin the filter and completely alter the view, making retrieving task logs a more intrusive operation).In order to get the best in each scenario, I introduce a mode for Task Stream filtering. A user can then specify themself whether they want to "traverse" the DAG, or investigate the "static" view.
Happy to discuss whether this makes sense, or how it can be improved!
Was generative AI tooling used to co-author this PR?
Claude Sonnet 4.5
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.