tju-yxq opened a new pull request, #2598: URL: https://github.com/apache/rocketmq-dashboard/pull/2598
Closes #2597 ## Summary - sequence NameServer registry requests with a request-generation ref - sequence registry-discovered cluster requests and their loading/error/data updates - sequence K8s certificate option requests - ignore stale auxiliary inventory responses after a newer refresh starts - preserve the existing instance-cluster refresh coordinator, registry mutations, tabs, and polling behavior ## Why The main instance-cluster polling loop already coordinates foreground/background refreshes, but the NameServer registry, registry-cluster inventory, and K8s certificate option effects still used independent local `cancelled` flags. Those flags only protect unmount; a slow earlier response could overwrite a newer refresh triggered by the global Refresh button. ## Tests - focused: `ClusterPage.test.tsx` — 17 tests passed - `npm run lint -- --quiet`: 0 errors, 2 pre-existing warnings - `npm run build`: passed - `git diff --check`: passed Production changes: 44 additions / 46 deletions. The full PR is 75 additions / 46 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]
