yyqdbngt opened a new pull request, #3122: URL: https://github.com/apache/rocketmq-dashboard/pull/3122
### Summary Guard and cover the AI topic-list tool handler: - `TopicListToolHandler.execute` rejects a null input map with a clear 400 (`tool input is required`) instead of NPE-ing on `input.get(...)`. - New `TopicListToolHandlerTest` (first coverage) verifies the null guard and the filter/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=TopicListToolHandlerTest 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]
