youngkermit8-coder opened a new pull request, #1506:
URL: https://github.com/apache/rocketmq-dashboard/pull/1506

   ## Summary
   
   - ignore obsolete cloud credential, region, and instance catalog responses 
after the onboarding context changes
   - clear cloud-specific form values when switching between Apache, Aliyun, 
and Tencent vendors
   - keep loading and error state owned by the latest active request
   - add regression coverage for out-of-order region and instance responses
   
   ## Root cause
   
   The add-instance modal cancelled only its zero-delay timers. Once a catalog 
request started, its promise handlers remained active after a vendor, 
credential, or region change. A slower response from the previous selection 
could therefore overwrite the current options or clear the current request's 
loading state.
   
   ## Impact
   
   The modal now keeps its credential, region, and cloud-instance options 
aligned with the user's current selection, avoiding cross-account or 
cross-region catalog state during multi-cloud onboarding.
   
   ## Validation
   
   - `npx vitest run src/pages/instance/__tests__/InstancePage.test.tsx 
--reporter=dot` (7 tests passed)
   - `npx eslint src/pages/instance/index.tsx 
src/pages/instance/__tests__/InstancePage.test.tsx --quiet`
   - `npm run build`
   
   Fixes #1505
   


-- 
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]

Reply via email to