unbridled-41 opened a new issue, #6016:
URL: https://github.com/apache/rocketmq-dashboard/issues/6016

   ### Studio Version
   branch: `rocketmq-studio` @ `7e7aa344`
   ### Runtime Environment
   Frontend tests: `cd web && npx vitest run 
src/pages/instance/__tests__/AclPage.test.tsx`.
   ### Describe the Bug
   `handleExamine` fills the panel on success and only toasts on failure, so 
typing another cluster id and pressing 检查配置 leaves the previous cluster's 
accounts, version, whitelist and risk verdict on screen under the new text - 
the operator cannot tell which cluster the panel describes, and the panel never 
names its cluster although the API returns `clusterId` for exactly that reason.
   ### Steps to Reproduce
   1. Examine cluster-a (its accounts appear). 2. Change the input to cluster-b 
and examine while the lookup fails: cluster-a's accounts remain.
   ### What Did You Expect to See?
   The failure reported and the panel cleared (or explicitly labelled with the 
cluster it shows).
   ### What Did You See Instead?
   Another cluster's configuration under the new input.
   ### Impact
   A stale success view on an error path: an operator reads the wrong cluster's 
accounts and risk verdict.
   ### Acceptance Criteria
   A failed examine clears the panel and the panel names the cluster it 
describes, with a regression test.
   **Corresponding PR:** #ISSUEPR#
   


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