mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 16:27:18 +02:00
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 <noreply@paperclip.ing>
This commit is contained in:
1 parent
a7b49fc14d
commit
f8bbeeb4c3
2 files changed
+6
-1
No files matched your search
@@ -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([
|
||||
|
||||
@@ -75,7 +75,9 @@ describe("adapter configuration sections", () => {
|
||||
const policy = renderSection(CodexLocalConfigFields, "paperclip_runner", "runPolicy", config);
|
||||
|
||||
expect(adapter).toContain('<option value="claude" selected="">Claude</option>');
|
||||
expect(adapter).toContain('<option value="pi" disabled="">Pi — qualification pending</option>');
|
||||
expect(adapter).toContain('<option value="pi">Pi</option>');
|
||||
expect(adapter).toContain('<option value="cursor" disabled="">Cursor — qualification pending</option>');
|
||||
expect(adapter).toContain('<option value="copilot" disabled="">GitHub Copilot — qualification pending</option>');
|
||||
expect(adapter).not.toContain("Runner lifecycle");
|
||||
expect(policy).toContain("Runner lifecycle");
|
||||
expect(policy).not.toContain("ACP agent");
|
||||
|
||||
Reference in new issue
Block a user