From 3cbd79760b4319694dd2cb69645d20d1830868ec Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 11 Apr 2026 11:20:46 +0000 Subject: [PATCH] fix(e2e): switch archive-tab tests from codex to opencode provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Codex CLI requires OAuth auth (~/.codex/auth.json) that CI lacks — OPENAI_API_KEY alone gets 401. These tests verify archive tab behavior, not any specific provider. Switch to opencode/gpt-5-nano which authenticates via standard OpenAI API that the CI key supports. Co-Authored-By: Claude Opus 4.6 --- packages/app/e2e/helpers/archive-tab.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/app/e2e/helpers/archive-tab.ts b/packages/app/e2e/helpers/archive-tab.ts index e66192706..bb94f2615 100644 --- a/packages/app/e2e/helpers/archive-tab.ts +++ b/packages/app/e2e/helpers/archive-tab.ts @@ -23,7 +23,7 @@ type ArchiveTabDaemonClient = { createAgent(options: { provider: string; model: string; - thinkingOptionId: string; + thinkingOptionId?: string; modeId: string; cwd: string; title: string; @@ -108,10 +108,9 @@ export async function createIdleAgent( input: { cwd: string; title: string }, ): Promise { const created = await client.createAgent({ - provider: "codex", - model: "gpt-5.4-mini", - thinkingOptionId: "low", - modeId: "full-access", + provider: "opencode", + model: "opencode/gpt-5-nano", + modeId: "default", cwd: input.cwd, title: input.title, initialPrompt: "Reply with exactly READY.",