tju-yxq opened a new pull request, #2660:
URL: https://github.com/apache/rocketmq-dashboard/pull/2660

   ## What changed
   
   Fixes #2659.
   
   - Isolate unexpected provider/runtime failures to the current instance in 
`InstanceService.deleteInstances`.
   - Continue processing the remaining selected instances after one resource 
preflight or cleanup failure.
   - Keep existing `BusinessException` handling and successful deletion counts 
unchanged.
   - Return a trimmed, bounded (500-character) failure message instead of 
exposing an internal stack trace through the batch response.
   
   ## Verification
   
   - `mvn -q '-Dtest=InstanceServiceTest,InstanceControllerTest' test`
   - `mvn -DskipTests=false test` — 1790 tests, 0 failures, 0 errors, 0 skipped
   - `git diff --check`
   
   The regression test makes the first Apache provider resource check throw 
`IllegalStateException`, verifies the second selected instance is still 
processed and deleted, and covers bounded unexpected failure messages.


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