From e02cb02f131dfe1d6ff0b5e7cfdbf1eb5a3485da Mon Sep 17 00:00:00 2001 From: HiranoMasaaki Date: Fri, 20 Feb 2026 07:15:11 +0000 Subject: [PATCH] fix: increase create-expert E2E timeout for CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The modify-existing-toml test involves multiple delegation round-trips (planner → definition-writer → expert-tester) that can exceed 5 minutes in CI. Increase timeout from 300s to 420s. Co-Authored-By: Claude Opus 4.6 --- e2e/create-expert/create-expert.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e2e/create-expert/create-expert.test.ts b/e2e/create-expert/create-expert.test.ts index a9b9372e..40961562 100644 --- a/e2e/create-expert/create-expert.test.ts +++ b/e2e/create-expert/create-expert.test.ts @@ -22,9 +22,10 @@ import { type CommandResult, type RunResult, withEventParsing } from "../lib/run const PROJECT_ROOT = path.resolve(process.cwd()) const CLI_PATH = path.join(PROJECT_ROOT, "apps/create-expert/dist/bin/cli.js") // LLM API calls require extended timeout; delegation adds extra LLM round-trips. -// The create-expert workflow involves multiple delegation round-trips which can -// take over 2 minutes when the LLM needs to iterate on expert definitions. -const LLM_TIMEOUT = 300_000 +// The create-expert workflow involves multiple delegation round-trips (planner → +// definition-writer → expert-tester, with possible retries) which can exceed +// 5 minutes in CI environments. +const LLM_TIMEOUT = 420_000 function runCreateExpert(query: string, cwd: string, timeout = LLM_TIMEOUT): Promise { const args = injectProviderArgs(["--headless", query])