From f8bbeeb4c38805d1ab44ad40dcbc562f3b581892 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 5 Oct 2026 13:21:49 -0500 Subject: [PATCH] test: carry verified Pi prerequisite CI corrections upstream Align adapter-section admission expectations with the declared source. Preserve the deliberately killed attempt at 500 ms while giving the resumed successful fixture its existing downstream 5-second budget. Preserve the original CI failures and all state, usage and deduplication assertions. Co-Authored-By: Paperclip --- packages/paperclip-runner/src/live/live-session.test.ts | 3 +++ ui/src/adapters/config-sections.test.tsx | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/paperclip-runner/src/live/live-session.test.ts b/packages/paperclip-runner/src/live/live-session.test.ts index cbb9d7b220..64ac83dd7a 100644 --- a/packages/paperclip-runner/src/live/live-session.test.ts +++ b/packages/paperclip-runner/src/live/live-session.test.ts @@ -1813,6 +1813,9 @@ describe("Capability live runnerd and Codex session", () => { sessionId: binding.sessionId, attemptId: "attempt-resumed", resumeOf: "attempt-killed", + // Only the killed attempt deliberately uses the short timeout. Allow + // durable disk writes to complete during the resumed successful turn. + turnTimeoutMs: 5_000, }); expect(resumed.snapshot().providerThreadId).toBe(state.threadId); expect(resumed.snapshot().attempts).toMatchObject([ diff --git a/ui/src/adapters/config-sections.test.tsx b/ui/src/adapters/config-sections.test.tsx index 5903e75e40..67ae731a45 100644 --- a/ui/src/adapters/config-sections.test.tsx +++ b/ui/src/adapters/config-sections.test.tsx @@ -75,7 +75,9 @@ describe("adapter configuration sections", () => { const policy = renderSection(CodexLocalConfigFields, "paperclip_runner", "runPolicy", config); expect(adapter).toContain(''); - expect(adapter).toContain(''); + expect(adapter).toContain(''); + expect(adapter).toContain(''); + expect(adapter).toContain(''); expect(adapter).not.toContain("Runner lifecycle"); expect(policy).toContain("Runner lifecycle"); expect(policy).not.toContain("ACP agent");