Skip to content

[v3-3-test] Respect the limit search param in the task overview duration chart (#72147) - #72357

Merged
vatsrahul1001 merged 1 commit into
apache:v3-3-testfrom
warreee:backport-4dae472-v3-3-test
Sep 7, 2026
Merged

vatsrahul1001 merged 1 commit into
apache:v3-3-testfrom
warreee:backport-4dae472-v3-3-test

Conversation

@warreee

@warreee warreee commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Backport of #72147 to v3-3-test. The automatic backport failed on a modify/delete conflict: Overview.test.tsx does not exist on this branch, because the task overview plugin support that introduced it was never backported.

The change to Overview.tsx cherry picks cleanly. The test file is added here in a 3.3 shaped form: only the duration chart limit tests, without the plugin cases and without the mocks for usePluginServiceGetPlugins, usePluginAppliesToContext and ReactPlugin, since none of that exists on this branch.

…pache#72147)

The duration chart on the task overview always requested the last 14 task
instances, ignoring the number of dag runs the user picked. The dag details
layout already writes that choice to the limit search param, and the dag
overview page reads a value of its own, so the task page was the only view
that could not be widened.

Read the same limit search param the details layout writes, falling back to
the same default of 10, so the chart follows the selector and can be shared
through the URL.

The remaining limit on the failed task instance query is left alone: that
query only reads total_entries and never renders the rows it fetches.

(cherry picked from commit 4dae472)
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Sep 1, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.2 milestone Sep 7, 2026
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Sep 7, 2026
@vatsrahul1001
vatsrahul1001 merged commit 67f9494 into apache:v3-3-test Sep 7, 2026
83 checks passed
vatsrahul1001 pushed a commit that referenced this pull request Sep 7, 2026
…72147) (#72357)

The duration chart on the task overview always requested the last 14 task
instances, ignoring the number of dag runs the user picked. The dag details
layout already writes that choice to the limit search param, and the dag
overview page reads a value of its own, so the task page was the only view
that could not be widened.

Read the same limit search param the details layout writes, falling back to
the same default of 10, so the chart follows the selector and can be shared
through the URL.

The remaining limit on the failed task instance query is left alone: that
query only reads total_entries and never renders the rows it fetches.

(cherry picked from commit 4dae472)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants