tju-yxq opened a new pull request, #2676: URL: https://github.com/apache/rocketmq-dashboard/pull/2676
Fixes #2675. ## What changed - Keep cloud import running after an unexpected failure while resolving the provider, discovering regions, listing one region, or creating one instance. - Treat null and malformed catalog entries as reported failures instead of letting them turn into a 500 response. - Deduplicate repeated region and instance rows before making detail/persistence calls. - Keep duplicate-name skips and request validation behavior unchanged. - Bound failure detail messages and the returned detail list while exposing the complete `failedCount` and a truncation flag. - Update the instance page so a failed import is not shown as "all instances already exist" and so it uses the complete failure count. ## Verification - `mvn -Dtest=InstanceServiceTest test` — 75 tests passed, Checkstyle 0 violations - `mvn -DskipTests=false test` — 1,794 tests, 0 failures, 0 errors, 0 skipped - `vitest run src/api/instance.test.ts src/pages/instance/__tests__/InstancePage.test.tsx` — 29 tests passed - TypeScript compilation — passed - ESLint — 0 errors (the repository's existing 9 warnings remain) - Prettier check — passed - Vite production build — passed - `git diff --check` — passed -- 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]
