fix(coding-agent): retry RPC stdout backpressure

closes #4897
This commit is contained in:
Armin Ronacher
2026-05-24 22:59:35 +02:00
parent 9600ded922
commit ce0e801d8e
4 changed files with 76 additions and 22 deletions

View File

@@ -25,7 +25,9 @@ const rpcIo = vi.hoisted(() => ({
}));
vi.mock("../src/core/output-guard.js", () => ({
flushRawStdout: vi.fn(async () => {}),
takeOverStdout: vi.fn(),
waitForRawStdoutBackpressure: vi.fn(async () => {}),
writeRawStdout: (line: string) => {
rpcIo.outputLines.push(line);
},