tju-yxq opened a new pull request, #2600: URL: https://github.com/apache/rocketmq-dashboard/pull/2600
Closes #2599 ## Summary - sequence the DLQ group inventory with a request-generation ref - ignore stale success and error responses after instance, search, pagination, or refresh changes - keep loading-state updates tied to the latest request - preserve the existing instance-scope reset, detail request sequencing, and retry request sequencing - add a regression test where a stale response from the previous instance cannot replace the current instance’s groups ## Why The group inventory previously used a local `cancelled` flag. That only protected unmount; it could not distinguish a slow earlier request from the latest one. The detail drawer and retry flow already had request-generation guards, leaving the main inventory inconsistent and vulnerable to stale writes. ## Tests - focused: `DLQPage.test.tsx` — 16 tests passed - `npm run lint -- --quiet`: 0 errors, 2 pre-existing warnings - `npm run build`: passed - `git diff --check`: passed Production changes: 13 additions / 11 deletions. The full PR is 38 additions / 11 deletions. This is a genuine correctness fix, but production changed lines are below the separate 100-line target, so the tracking ledger records it as a candidate rather than a complete group. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
