From 97bd3112de4e764777641dc0beedd890b06fbd10 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 28 Sep 2026 14:31:10 -0500 Subject: [PATCH] Bound candidate Product E2E provider execution to two minutes Co-Authored-By: Paperclip --- tests/runner-e2e/catalog.ts | 1 + tests/runner-e2e/extended-harnesses.test.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/runner-e2e/catalog.ts b/tests/runner-e2e/catalog.ts index ab2ccc3d74..9034292915 100644 --- a/tests/runner-e2e/catalog.ts +++ b/tests/runner-e2e/catalog.ts @@ -184,6 +184,7 @@ function nativeProfile(input: { return commonAgent(buildInput, input.id, "paperclip_runner", { provider: input.provider, model: input.model, + ...(input.qualificationCandidate ? { timeoutSec: 120 } : {}), lifecycleMode: "per_turn", idleTimeoutMs: 300_000, ...permissionConfig, diff --git a/tests/runner-e2e/extended-harnesses.test.ts b/tests/runner-e2e/extended-harnesses.test.ts index b668a93c48..6464263d2a 100644 --- a/tests/runner-e2e/extended-harnesses.test.ts +++ b/tests/runner-e2e/extended-harnesses.test.ts @@ -24,7 +24,7 @@ describe("extended ACP harness qualification", () => { expect(profile.modelQualification.source).toBe("candidate_runner_profile"); const secretRef = { type: "secret_ref" as const, secretId: "11111111-1111-4111-8111-111111111111", version: "latest" as const }; const payload = profile.buildAgent({ executionId: "fixture", environmentId: "local", environmentFixtureId: "local", workspacePath: "/tmp/workspace", secretRefs: { [profile.credential]: secretRef } }); - expect(payload.adapterConfig).toMatchObject({ provider: "acpx", model: profile.model, acpxAgent: profile.qualificationCandidate, env: { [profile.credential]: secretRef } }); + expect(payload.adapterConfig).toMatchObject({ provider: "acpx", model: profile.model, timeoutSec: 120, acpxAgent: profile.qualificationCandidate, env: { [profile.credential]: secretRef } }); } }); it("replaces ambient admission with the selected exact pairs and strips raw provider credentials from server", () => {