zmuxuny opened a new pull request, #7378: URL: https://github.com/apache/rocketmq-dashboard/pull/7378
### Which Issue(s) This PR Fixes Fixes #7214. Replaces stale-closed #7215, preserving its original authorship and existing fork branch. ### Brief Description Invalidate the comparison request generation when TopicConfigComparisonModal unmounts. Closing the dialog or navigating away must end ownership of pending inventory outcomes, so an old rejection cannot display a global error over a newer view. Existing instance-pair invalidation is retained. The refreshed branch is based on Studio trunk 7abf8ada and contains only the comparison component and its tests (2 files, +92/-3). Unrelated Consumer polling changes from the older PR are not in the net diff. Open comparison-related PRs were checked; no equivalent disposal fix was found. ### How Did You Test This Change? Rerun on November 4 at exact head 33649bb12cdcf0969a33c487f3a80a8e78bc0ed0: - npm test -- src/components/__tests__/TopicConfigComparisonModal.test.tsx: 15 passed, including a restored-code rerun. - Negative control using unchanged trunk production code with the same tests: 3 failed, 12 passed. - npx tsc -b --force: passed. - Changed-file ESLint and Prettier checks: passed. - npm run build: passed, including license check (134 components, 141 license files). Controlled service promises, real component and AntD. No live cluster or full frontend/backend suite was run locally; hosted CI is separate. AI assistance was used for audit and validation. ### Checklist - [x] One coherent fix; regression assertions retained. - [x] Existing authorship and branch history preserved. - [x] No new UI strings, dependencies, or source files. -- 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]
