Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 82f3b99d0a |
@@ -190,7 +190,7 @@ class SpawnedCodexAppServerClient extends AppServerClientBase {
|
||||
cwd: this.cwd,
|
||||
env: this.options.env,
|
||||
stdio: ["pipe", "pipe", "pipe"],
|
||||
shell: process.platform === "win32" ? (process.env.SHELL || true) : false,
|
||||
shell: process.platform === "win32",
|
||||
windowsHide: true
|
||||
});
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ export function runCommand(command, args = [], options = {}) {
|
||||
encoding: "utf8",
|
||||
input: options.input,
|
||||
stdio: options.stdio ?? "pipe",
|
||||
shell: process.platform === "win32" ? (process.env.SHELL || true) : false,
|
||||
shell: process.platform === "win32",
|
||||
windowsHide: true
|
||||
});
|
||||
|
||||
|
||||
@@ -467,7 +467,7 @@ rl.on("line", (line) => {
|
||||
}
|
||||
}
|
||||
send({ method: "turn/completed", params: { threadId: thread.id, turn: buildTurn(turnId, "completed") } });
|
||||
}, 5000);
|
||||
}, 400);
|
||||
interruptibleTurns.set(turnId, { threadId: thread.id, timer });
|
||||
} else if (BEHAVIOR === "slow-task") {
|
||||
emitTurnCompletedLater(thread.id, turnId, items, 400);
|
||||
|
||||
@@ -554,7 +554,7 @@ test("task --background enqueues a detached worker and exposes per-job status",
|
||||
|
||||
const waitedStatus = run(
|
||||
"node",
|
||||
[SCRIPT, "status", launchPayload.jobId, "--wait", "--timeout-ms", "15000", "--json"],
|
||||
[SCRIPT, "status", launchPayload.jobId, "--wait", "--timeout-ms", "5000", "--json"],
|
||||
{
|
||||
cwd: repo,
|
||||
env: buildEnv(binDir)
|
||||
@@ -1276,7 +1276,7 @@ test("cancel sends turn interrupt to the shared app-server before killing a brok
|
||||
return job;
|
||||
}
|
||||
return null;
|
||||
}, { timeoutMs: 15000 });
|
||||
});
|
||||
|
||||
const cancelResult = run("node", [SCRIPT, "cancel", jobId, "--json"], {
|
||||
cwd: repo,
|
||||
|
||||
Reference in New Issue
Block a user