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

   ### Motivation
   
   The existing `MessageTraceToolHandlerTest` covers one happy-path projection. 
The null-safety of the projection, empty trace collections and the tool's 
stable registry name were untested.
   
   ### Changes
   
   - `executeShouldProjectNullLeafFieldsAsBlank`: null node 
titles/status/descriptions and a null consumer delivery status project to empty 
strings instead of JSON nulls.
   - `executeShouldHandleEmptyTraceCollections`: a trace with no nodes or 
consumer statuses yields empty arrays without errors.
   - `handlerNameShouldBeStable`: the handler advertises `rmq.message.trace` 
for tool catalogs and MCP callers.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=MessageTraceToolHandlerTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


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