Skip to content

[2.0] Fixes #38296: backport single-fetch pagination (#38308) - #38481

Merged
sweta1308 merged 1 commit into
open-metadata:2.0from
Kefia-02:backport/2.0/pr-38308-manual-20261123
Nov 23, 2026
Merged

sweta1308 merged 1 commit into
open-metadata:2.0from
Kefia-02:backport/2.0/pr-38308-manual-20261123

Conversation

@Kefia-02

@Kefia-02 Kefia-02 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Backport #38308 to 2.0 after the automatic conflict resolver failed: #38308 (comment).

Fixes #38296 for the 2.0 release branch.

Keep one URL-driven fetch path across the eleven cursor-paginated lists, including search/filter page resets and protection against older list responses. Adapt the changes to 2.0's Ant Design components and preserve its inherited team-user search/export behavior.

Validation

  • Relevant Jest verification: 13 suites, 105 unique tests passed, with no skipped tests in the passing suite runs.
  • Six selected regressions fail against the unchanged 2.0 baseline 8e6938ff (duplicate requests, incorrect search-page arguments or overwritten search results), and pass with this backport.
  • The classification page-1-switch regression also fails when the old skip flag is restored.
  • The classification and marketplace regressions use the actual table/pager or actual pager, and verify returned rows/cards as well as request counts. Bot paging fixtures account for 2.0's separate bot-map request.
  • All 16 changed UI files passed organize-imports, ESLint and Prettier. git diff --check passed.
  • Built the 2.0 core-components package and generated its schemas/ANTLR parsers with Node 22.23.5 and Yarn 1.22.22. Tests use the branch's normal Jest configuration.

Source merge: 55b747a535e16193cda9bac9efd32a8ab655b101. This is a manual adaptation, so it includes 2.0-specific regression coverage. These are local verification results; upstream CI and maintainer integration are pending.

Prepared and verified with AI assistance.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Moves paging requests from click handlers to the existing URL-driven effects across eleven lists.

  • List pages load from the cursor saved by the page control.
  • Service searches and filters start from the page that matches their results.
  • Team-user searches page through matching results without losing the team list.
  • Bot pages keep the selected cursor and ignore older list responses.

No actionable issues were found. This review checked code and test assertions; it did not rerun tests or capture the UI.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[User changes page or filter] --> B[Update URL paging values]
  B --> C[Existing effect fetches rows]
  C --> D[Receive response]
  D --> E[Services, bots, and team users check request number]
  E -->|Newest request| F[Update rows and paging]
  E -->|Older request| G[Ignore response]
Loading

Reviews (1) · Last reviewed commit: "fix(ui): backport single-fetch cursor pa..." · Reviewed by Greptile

…a#38308)

Manually adapt main merge 55b747a to the 2.0 Ant Design views and retain inherited team-user search/export behavior.

Keep URL-driven effects as the single fetch path in eleven cursor-paginated lists; preserve search/filter resets and latest-response guards. Add 2.0 regressions with the real table/pager for classification and the real marketplace pager, and account for the separate bot-map load.

Validation: 13 relevant suites / 105 unique tests pass using the normal 2.0 Jest configuration. Six selected regressions fail on unchanged base 8e6938f. Restoring the old page-1 classification skip also fails its regression. Core components build, schema/ANTLR generation, all 16 changed-file UI checkstyle checks, and git diff --check pass.
@Kefia-02
Kefia-02 requested a review from a team as a code owner November 23, 2026 11:34
@Kefia-02
Kefia-02 requested review from anuj-kumary and removed request for a team November 23, 2026 11:34
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

@gitar-bot

gitar-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Changing URL-driven pagination and stale-response handling across eleven UI lists could show incorrect or outdated results when requests overlap or filters reset.

Backports the single-fetch cursor pagination fix for eleven URL-driven lists to the 2.0 release branch, adapted to Ant Design components and preserving inherited team-user search/export behavior. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

Copy link
Copy Markdown
Contributor Author

@chirag-madlani This is the manual 2.0 backport of #38308 after the automatic resolver failed. The 2.0 adaptation is complete: 13 relevant suites / 105 unique tests pass locally, and six selected regressions fail on the unchanged 2.0 baseline.

The metadata check reports No GitHub issue is linked, even though this PR's description contains Fixes #38296. The workflow uses native Development links for same-repository issues. Could a maintainer link the existing issue #38296 in the Development section and re-run the metadata check? The source PR already passed the Shipping validation for that issue. No new issue or Shipping setup is needed.

@sweta1308 sweta1308 linked an issue Nov 23, 2026 that may be closed by this pull request
@sweta1308
sweta1308 merged commit f9d9da4 into open-metadata:2.0 Nov 23, 2026
51 of 54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Six list pages fetch twice on every page change

3 participants