Merge branch 'codex/claude-runner-protocol' into codex/claude-runner-default

* codex/claude-runner-protocol:
  test(runner): allow complete durable resume timeout envelope
This commit is contained in:
Dotta committed 2026-10-12 19:31:40 -05:00
commit 23f0b6c877
1 file changed
+4 -1
@@ -1766,6 +1766,9 @@ describe("Capability live runnerd and Codex session", () => {
expect((await store.load(replacement.id))?.status).toBe("suspended");
});
// This case includes a deliberate 500 ms killed turn, a resumed turn with
// its own 5-second bound, and durable writes. The enclosing test must not
// expire at the resumed turn's deadline before those assertions can finish.
it("durably resumes a distinct attempt, preserves partial usage, and deduplicates the semantic effect", async () => {
const state = providerState();
const directory = await mkdtemp(join(tmpdir(), "capability-live-durable-"));
@@ -1871,7 +1874,7 @@ describe("Capability live runnerd and Codex session", () => {
reasoningTokens: 5,
costNanodollars: 2_500,
});
});
}, 15_000);
it("does not raise an unhandled rejection when interrupt() outlasts the turn timeout during reconcileActiveTurn", async () => {
const state = providerState();