Skip to content

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

Open
warreee wants to merge 1 commit into
apache:v3-3-testfrom
warreee:backport-4dae472-v3-3-test
Open

[v3-3-test] Respect the limit search param in the task overview duration chart (#72147)#72357
warreee wants to merge 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)
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant