claudecode/crates
Yeachan-Heo 9d0cd25681 Repair MCP stdio runtime tests after the in-flight JSON-RPC slice
The dirty stdio slice had two real regressions in its new JSON-RPC test coverage: the embedded Python helper was written with broken string literals, and direct execution of the freshly written helper could fail with ETXTBSY on Linux. The repair keeps scope inside mcp_stdio.rs by fixing the helper strings and invoking the JSON-RPC helper through python3 while leaving the existing stdio process behavior unchanged.

Constraint: Keep the repair limited to rust/crates/runtime/src/mcp_stdio.rs
Constraint: Must satisfy fmt, clippy -D warnings, and runtime tests before shipping
Rejected: Revert the entire JSON-RPC stdio coverage addition | unnecessary once the helper/test defects were isolated
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep ephemeral stdio test helpers portable and avoid directly execing freshly written scripts when an interpreter invocation is sufficient
Tested: cargo fmt --all; cargo clippy -p runtime --all-targets -- -D warnings; cargo test -p runtime
Not-tested: Cross-platform behavior outside the current Linux runtime
2026-03-31 21:43:37 +00:00
..
api Add reusable OAuth and auth-source foundations 2026-03-31 19:47:02 +00:00
commands feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
compat-harness feat: Rust port of Claude Code CLI 2026-03-31 17:43:09 +00:00
runtime Repair MCP stdio runtime tests after the in-flight JSON-RPC slice 2026-03-31 21:43:37 +00:00
rusty-claude-cli feat: make rusty-claude-cli usable end-to-end 2026-03-31 18:40:09 +00:00
tools feat: make rusty-claude-cli usable end-to-end 2026-03-31 18:40:09 +00:00