sbt/server-test/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
..
server-test [2.x] Scala 3.8.3 (#8997) 2026-04-05 14:28:47 -04:00
test/scala/testpkg [2.x] fix: Return JSON-RPC error for unknown server methods (#9002) 2026-04-10 01:33:20 -04:00