Repository navigation
[2.0] Fixes #38296: backport single-fetch pagination (#38308) - #38481
Conversation
…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.
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Code Review ✅ Approved 🟡 Medium riskChanging 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. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
@chirag-madlani This is the manual The metadata check reports No GitHub issue is linked, even though this PR's description contains |
Backport #38308 to
2.0after 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
2.0baseline8e6938ff(duplicate requests, incorrect search-page arguments or overwritten search results), and pass with this backport.git diff --checkpassed.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.


Confidence 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.
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]Reviews (1) · Last reviewed commit: "fix(ui): backport single-fetch cursor pa..." · Reviewed by Greptile