diff --git a/packages/coding-agent/test/ipython-provisioner.test.ts b/packages/coding-agent/test/ipython-provisioner.test.ts index dd3a56afb6..ed32aab28e 100644 --- a/packages/coding-agent/test/ipython-provisioner.test.ts +++ b/packages/coding-agent/test/ipython-provisioner.test.ts @@ -73,7 +73,7 @@ function writeFakeReplRuntime(markerPath: string): string { const fs = require("node:fs"); const readline = require("node:readline"); const emit = (event) => process.stdout.write(JSON.stringify(event) + "\\n"); -emit({ event: "ready", protocol: 2, python: process.version }); +emit({ event: "ready", protocol: 3, python: process.version }); const input = readline.createInterface({ input: process.stdin }); input.on("line", (line) => { const request = JSON.parse(line); diff --git a/packages/coding-agent/test/repl-kernel-protocol-corruption.test.ts b/packages/coding-agent/test/repl-kernel-protocol-corruption.test.ts index 93bdfa0625..3e2ee779f3 100644 --- a/packages/coding-agent/test/repl-kernel-protocol-corruption.test.ts +++ b/packages/coding-agent/test/repl-kernel-protocol-corruption.test.ts @@ -32,10 +32,10 @@ if (fs.existsSync(process.env.FAKE_REPL_CORRUPT_BOOT)) { process.stdout.write("BROKEN-BOOT\\n"); } else if (fs.existsSync(process.env.FAKE_REPL_READY_WITH_GARBAGE)) { process.stdout.write( - JSON.stringify({ event: "ready", protocol: 2, python: process.version }) + "\\nBROKEN-WITH-READY\\n", + JSON.stringify({ event: "ready", protocol: 3, python: process.version }) + "\\nBROKEN-WITH-READY\\n", ); } else if (!(count > 1 && fs.existsSync(process.env.FAKE_REPL_DELAY_READY))) { - emit({ event: "ready", protocol: 2, python: process.version }); + emit({ event: "ready", protocol: 3, python: process.version }); } const input = readline.createInterface({ input: process.stdin }); input.on("line", (line) => {