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

   Fixes #6314.
   
   The stdio MCP bridge rounds integer request parameters when decoding SDK 
JSONRPCRequest.Params into float64. For rmq.message.query_by_offset, 
9007199254740993 reaches Studio as 9007199254740992, and the maximum Java long 
can become an out-of-range value.
   
   Decode request parameters with UseNumber before forwarding, preserving 
nested numeric literals through instance binding and the actual HTTP transport. 
Request IDs, notifications and reconnect policy retain their existing behavior.
   
   The branch has been rebuilt on rocketmq-studio 766ce9c9 and permanently 
drops #6175 and unrelated migration/CI commits. Only the three MCP precision 
files remain.
   
   Validation: the complete internal/studio package passed go test -race 
-count=1 locally and on ECS Linux Go 1.27.1. Tests cover large offsets, a small 
integer control, nested/fractional/exponent values, booleans, null, strings, 
request IDs and rejection of invalid/trailing JSON. No live Studio/Broker 
integration is claimed.
   


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