yyqdbngt opened a new pull request, #3124:
URL: https://github.com/apache/rocketmq-dashboard/pull/3124

   ### Summary
   Guard and cover the AI alert-rule list tool handler:
   
   - `AlertRuleListToolHandler.execute` rejects a null input map with a clear 
400 (`tool input is required`) instead of NPE-ing.
   - New `AlertRuleListToolHandlerTest` (first coverage) verifies the null 
guard and the search/enabled filter + projection path.
   
   ### 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=AlertRuleListToolHandlerTest 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]

Reply via email to