deepseek-harness/packages/code-runtime/code-runtime-python/tests
Chinesezjc aa685028a7 test(code-runtime-python): pin the stdin-close behavior with an EOF-observing case
The stdin destroy (child.stdin?.destroy() right after spawn) previously had no
in-tree coverage. A program that reads fd 0 now sees EOF immediately; without
the destroy it blocks and the run would hang to maxWallMs as a timeout —
verified fail-before by disabling the destroy (the test turns red at the wall
ceiling) and restoring it (green). The _str rebind regression was attempted but
is not viable: the success path's done-frame serialization reaches str
transitively through _encode_json_plain, which the README Known Limitations
already records as the accepted success-to-exception residual, so any rebind
test trips that documented residual before send_done's bound _str.
2026-08-31 14:47:57 +08:00
..
boot-write-failure.spec.ts fix(code-runtime-python): seal stray fragments, flush by serialized cost, charge lone surrogates fully 2026-08-31 14:22:37 +08:00
protocol-mirror.e2e.ts docs(code-runtime-python): name the roster aliases by subset direction, align metering prose 2026-08-07 15:37:19 +08:00
protocol.spec.ts docs(code-runtime-python): trim metering prose and cover encodeJsonPlain depth 2026-08-07 13:27:54 +08:00
residual-detach.spec.ts docs(code-runtime-python): sync README with the shipped backend 2026-08-31 14:20:00 +08:00
runtime.spec.ts test(code-runtime-python): pin the stdin-close behavior with an EOF-observing case 2026-08-31 14:47:57 +08:00