yyqdbngt opened a new pull request, #3892:
URL: https://github.com/apache/rocketmq-dashboard/pull/3892
### Motivation
The instance API tests covered create/update/delete/single capabilities and
cloud import, but the batch deletion endpoint introduced for multi-select
removal was untested. This PR adds two cases.
### Changes
- `deleteInstancesBatch` posts `{ ids }` to `/instances/delete-batch` and
unwraps the `BatchDeleteResult`.
- A partial batch deletion reports both the deleted count and the failed id
list.
### Verification
- `vitest run src/api/instance.test.ts`: 9/9 passed
- `tsc --noEmit`: clean
- `eslint src/api/instance.test.ts`: clean
--
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]