yyqdbngt opened a new pull request, #3125: URL: https://github.com/apache/rocketmq-dashboard/pull/3125
### Summary Guard and cover the AI NameServer-config-diff tool handler: - `NameServerConfigDiffToolHandler.execute` rejects a null input map with a clear 400 (`tool input is required`) instead of NPE-ing. - New `NameServerConfigDiffToolHandlerTest` (first coverage) verifies the null guard and the delegation to the diff service for the input cluster. ### Why Tool handlers run on LLM-produced inputs and had no automated coverage; a null input previously produced an opaque NPE inside the tool gateway. ### Testing - `mvn -f server/pom.xml -Dtest=NameServerConfigDiffToolHandlerTest 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]
