sbt/main-command/src
BrianHotopp d765ba263a
[2.x] fix: Return JSON-RPC error for unknown server methods (#9002)
The fallback ServerHandler silently dropped requests with unknown
methods, violating the JSON-RPC spec. Clients like Metals that send
unrecognized requests would never receive a response, potentially
causing timeouts or hangs.

Return a -32601 (Method not found) error response instead.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:33:20 -04:00
..
main [2.x] fix: Return JSON-RPC error for unknown server methods (#9002) 2026-04-10 01:33:20 -04:00
test/scala/sbt [2.x] feat: Support --autostart=false and --no-server in sbtn client (#8895) 2026-03-12 20:51:07 -04:00