yyqdbngt opened a new pull request, #3408: URL: https://github.com/apache/rocketmq-dashboard/pull/3408
### Summary `MessageQueryToolHandler` projects raw message rows into AI-safe maps and converts caller timestamps to epoch-milliseconds with overflow guards. The suite covered projection happy path and BigInteger/non-finite rejection, but not null-field projection, the missing-msgId guard or in-range numeric conversions. ### Changes - String-form epoch timestamps and in-range fractional doubles are converted exactly - A double beyond `long` range is rejected instead of wrapping - Absent optional fields project as blank strings while required `msgId` survives - A record without `msgId` is rejected with `msgId is unavailable` ### Testing `mvn test -Dtest=MessageQueryToolHandlerTest` passes: 11 tests, 0 failures (up from 6). -- 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]
