yyqdbngt opened a new pull request, #3123: URL: https://github.com/apache/rocketmq-dashboard/pull/3123
### Summary Guard and cover the AI consumer-group list tool handler: - `ConsumerGroupListToolHandler.execute` rejects a null input map with a clear 400 (`tool input is required`) instead of NPE-ing. - New `ConsumerGroupListToolHandlerTest` (first coverage) verifies the null guard and the search/projection path through the metadata service. ### Why Tool handlers run on LLM-produced inputs and had no automated coverage; a null/missing input previously produced an opaque NPE inside the tool gateway. ### Testing - `mvn -f server/pom.xml -Dtest=ConsumerGroupListToolHandlerTest test` passes: 2/2. -- 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]
