The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/acl-examine-cluster-binding has failed.
Run started by GitHub user unbridled-41 (triggered by unbridled-41).

Head commit for run:
b9c191c2709a61e8bed6b5fa9d67c1e6bacf9ffc / unbridled-41 
<[email protected]>
fix(acl): clear the examined cluster config when an examine fails

`handleExamine` fills the panel on success and only toasted on failure, so 
typing
another cluster id and pressing 检查配置 left the previous cluster's accounts, 
version,
whitelist and risk verdict on screen under the new text: the operator cannot 
tell
whether the panel describes the cluster they just examined - the panel never 
named
its cluster either, although the API returns `clusterId` for exactly that 
reason.

Clear the panel when an examine fails (the toast carries the reason, and the 
empty
state is honest), and show the examined cluster's id in the summary row so the 
panel
always says which cluster it describes.

Tests (web/): npx vitest run src/pages/instance/__tests__/AclPage.test.tsx -> 
Tests 27
passed; the new case (a successful examine of cluster-a, then a failing examine 
of
cluster-b) fails before this change with cluster-a's account still on screen and
passes after it; npx eslint and npx tsc -b are clean.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37998525571

With regards,
GitHub Actions via GitBox

Reply via email to