From 0e9156d2053022d208c3eea1d0fa1e377ed0a154 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 25 Apr 2026 09:12:42 +0100 Subject: [PATCH] test: stabilize Docker CLI backend lane --- scripts/test-docker-all.mjs | 7 +++++-- src/gateway/gateway-cli-backend.live.test.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/test-docker-all.mjs b/scripts/test-docker-all.mjs index c529d15acdd..3c0650cd2d5 100644 --- a/scripts/test-docker-all.mjs +++ b/scripts/test-docker-all.mjs @@ -15,7 +15,7 @@ const DEFAULT_STATUS_INTERVAL_MS = 30_000; const DEFAULT_PREFLIGHT_RUN_TIMEOUT_MS = 60_000; const DEFAULT_TIMINGS_FILE = path.join(ROOT_DIR, ".artifacts/docker-tests/lane-timings.json"); const LIVE_PROFILE_TIMEOUT_MS = 20 * 60 * 1000; -const LIVE_CLI_TIMEOUT_MS = 12 * 60 * 1000; +const LIVE_CLI_TIMEOUT_MS = 20 * 60 * 1000; const LIVE_ACP_TIMEOUT_MS = 20 * 60 * 1000; const OPENWEBUI_TIMEOUT_MS = 20 * 60 * 1000; const BUNDLED_UPDATE_TIMEOUT_MS = 20 * 60 * 1000; @@ -180,7 +180,10 @@ const lanes = [ npmLane("doctor-switch", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:doctor-switch", { weight: 3, }), - npmLane("plugins", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:plugins", { weight: 2 }), + lane("plugins", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:plugins", { + resources: ["npm", "service"], + weight: 6, + }), npmLane("plugin-update", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:plugin-update"), serviceLane("config-reload", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:config-reload"), ...bundledScenarioLanes, diff --git a/src/gateway/gateway-cli-backend.live.test.ts b/src/gateway/gateway-cli-backend.live.test.ts index b076cee4ea6..98eedb80d1c 100644 --- a/src/gateway/gateway-cli-backend.live.test.ts +++ b/src/gateway/gateway-cli-backend.live.test.ts @@ -55,7 +55,7 @@ const DEFAULT_MODEL = resolveCliBackendLiveTest(DEFAULT_PROVIDER)?.defaultModelRef ?? "claude-cli/claude-sonnet-4-6"; // The cron/MCP live probe now tolerates more cancelled tool-call retries in CI, // so the outer test budget needs enough headroom to finish those retries. -const CLI_BACKEND_LIVE_TIMEOUT_MS = 720_000; +const CLI_BACKEND_LIVE_TIMEOUT_MS = 20 * 60_000; const CLI_BACKEND_REQUEST_TIMEOUT_MS = 240_000; const CLI_BACKEND_AGENT_TIMEOUT_SECONDS = Math.max( 1,