Skip to content

UI: Clarify active Dag runs in the header - #72371

Merged
pierrejeambrun merged 1 commit into
apache:mainfrom
sortega:sortega/max_active_runs
Sep 8, 2026
Merged

pierrejeambrun merged 1 commit into
apache:mainfrom
sortega:sortega/max_active_runs

Conversation

@sortega

@sortega sortega commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Clarifies the Dag header concurrency statistic by labeling it “Active Runs” while retaining the current-to-maximum ratio. The displayed count represents running Dag runs rather than also including queued runs.

Adds Catalan, Spanish, French, and Portuguese translations and a focused UI regression test.


Was generative AI tooling used to co-author this PR?
  • Yes — Codex (GPT-5)

Generated-by: Codex (GPT-5) following the guidelines


Drafted-by: Codex (GPT-5) (no human review before posting)

@sortega
sortega force-pushed the sortega/max_active_runs branch from 9bf8ea4 to a981fe7 Compare September 3, 2026 16:51

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

Just for sanity I checked. The scheduler does check both queued and running.

But from a UI perspective this is confusing indeed to see more runs that the capacity.

Showing only 'running' dags with a clear label is probably better at this point. Since queued runs will become 'running' a moment later.

The configured maximum is a limit rather than the metric displayed in the header, so the previous label made the ratio ambiguous.
@sortega
sortega force-pushed the sortega/max_active_runs branch from a981fe7 to 0d1f9b8 Compare September 7, 2026 15:20
@sortega

sortega commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

@jroachgolf84, anything else to improve/change?

@jroachgolf84

Copy link
Copy Markdown
Collaborator

@pierrejeambrun - do you mind merging this?

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice thanks

@pierrejeambrun pierrejeambrun added this to the Airflow 3.3.2 milestone Sep 8, 2026
@pierrejeambrun
pierrejeambrun merged commit b916de6 into apache:main Sep 8, 2026
99 checks passed
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-3-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
❌ v3-3-test Commit Link

You can attempt to backport this manually by running:

cherry_picker b916de6 v3-3-test

This should apply the commit to the v3-3-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.

vatsrahul1001 pushed a commit that referenced this pull request Sep 8, 2026
The configured maximum is a limit rather than the metric displayed in the header, so the previous label made the ratio ambiguous.

(cherry picked from commit b916de6)

Co-authored-by: Sebastián Ortega <[email protected]>
regarmukesh3g pushed a commit to regarmukesh3g/airflow that referenced this pull request Sep 27, 2026
The configured maximum is a limit rather than the metric displayed in the header, so the previous label made the ratio ambiguous.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants