Skip to content

UI: Add team column and filter to Dag Run and Task Instance lists - #70241

Merged
vincbeck merged 1 commit into
apache:mainfrom
aws-mwaa:dag-run-and-task-instance-team-column
Jul 23, 2026
Merged

UI: Add team column and filter to Dag Run and Task Instance lists#70241
vincbeck merged 1 commit into
apache:mainfrom
aws-mwaa:dag-run-and-task-instance-team-column

Conversation

@vincbeck

@vincbeck vincbeck commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

When multi-team mode is enabled, operators triaging failures across teams need to see which team owns each Dag Run and Task Instance, and scope the lists to a single team. This adds:

  • A "Team" column on the Dag Run list (after Run Type) and the Task Instance list (after State), each linking to the Dag list filtered by that team
  • A team filter in the existing filter bar on both pages
  • Backend support: a nullable team_name field on DAGRunResponse and TaskInstanceResponse, populated (via bundle association) only when multi-team is enabled, plus a teams query parameter on the list endpoints that scopes results by team

The column and filter render only when the multi_team configuration is enabled, so single-team deployments are unaffected.

Screenshots

Dag runs list

Screenshot 2026-07-22 at 10 56 51 AM

Task instances list

Screenshot 2026-07-22 at 10 57 42 AM

Filter

Screenshot 2026-07-22 at 10 57 55 AM
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Claude (Opus 4.8)


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@bugraoz93 bugraoz93 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.

Looks good to me on API and CTL side, would be great to get additional eyes for the UI

@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.

looks good just two nits

Comment thread airflow-core/src/airflow/ui/src/pages/DagRuns/DagRuns.tsx Outdated
Comment thread airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx Outdated
@vincbeck
vincbeck force-pushed the dag-run-and-task-instance-team-column branch 4 times, most recently from 6aefd04 to a3b9b46 Compare July 23, 2026 14:55
When multi-team mode is enabled, operators triaging failures across teams
need to see which team owns each Dag Run and Task Instance, and scope the
lists to a single team. This adds:

- A "Team" column on the Dag Run list (after Run Type) and the Task Instance
  list (after State), each linking to the Dag list filtered by that team
- A team filter in the existing filter bar on both pages
- Backend support: a nullable `team_name` field on `DAGRunResponse` and
  `TaskInstanceResponse`, populated (via bundle association) only when
  multi-team is enabled, plus a `teams` query parameter on the list
  endpoints that scopes results by team

The column and filter render only when the `multi_team` configuration is
enabled, so single-team deployments are unaffected.
@vincbeck
vincbeck force-pushed the dag-run-and-task-instance-team-column branch from a3b9b46 to 50f47c0 Compare July 23, 2026 15:03
@vincbeck
vincbeck merged commit 94b9fe3 into apache:main Jul 23, 2026
156 checks passed
@vincbeck
vincbeck deleted the dag-run-and-task-instance-team-column branch July 23, 2026 17:31
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
airflow-ctl/v0-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 94b9fe3 airflow-ctl/v0-1-test

This should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

@vincbeck

Copy link
Copy Markdown
Contributor Author

Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ airflow-ctl/v0-1-test Commit Link
You can attempt to backport this manually by running:

cherry_picker 94b9fe3 airflow-ctl/v0-1-test

This should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Anything I should do @bugraoz93 ?

@bugraoz93

Copy link
Copy Markdown
Contributor

Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ airflow-ctl/v0-1-test Commit Link
You can attempt to backport this manually by running:

cherry_picker 94b9fe3 airflow-ctl/v0-1-test

This should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Anything I should do @bugraoz93 ?

We don't need backport of generated models, let me remove the label too so we won't check while releasing if check needed. Thanks for checking Vincent!

@bugraoz93

Copy link
Copy Markdown
Contributor

Let me also check boring cyborg config to exclude the generated part only

@bugraoz93

Copy link
Copy Markdown
Contributor

Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ airflow-ctl/v0-1-test Commit Link
You can attempt to backport this manually by running:

cherry_picker 94b9fe3 airflow-ctl/v0-1-test

This should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Anything I should do @bugraoz93 ?

We don't need backport of generated models, let me remove the label too so we won't check while releasing if check needed. Thanks for checking Vincent!

We need to create according to state of support during release while fast forwarding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl 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.

3 participants