The GitHub Actions job "CI" on rocketmq-dashboard.git/fix/yy-mcp-frame-kind has 
failed.
Run started by GitHub user yyqdbngt (triggered by yyqdbngt).

Head commit for run:
4ee034d41c0bd88b7c0de240775f043981bc6985 / yyqdbngt <[email protected]>
fix(rmqctl): name response frames in the MCP decode error

decodeMCPMessage classifies the frames arriving on the stdio channel as a
request (method + id) or a notification (method). A JSON-RPC response frame
(id, no method) fell into the generic bucket and failed with
"invalid MCP JSON-RPC message: missing method", the same text a frame with
neither field gets, so an operator could not tell which kind of frame had
been rejected.

A frame carrying an id without a method is now reported as a response frame,
which this transport does not originate; the request, notification and
unnamed-frame messages are unchanged.

Test: internal/studio/mcp_frame_kind_test.go asserts the response-frame
cases (result, error, null result) name the frame kind and drop the
misleading "missing method" text, that a frame with neither field keeps the
missing-method error, and that request and notification frames still decode.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/36969454561

With regards,
GitHub Actions via GitBox

Reply via email to