From bf08dc2ed6c5902164f2f45d5ae89beefe811c71 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 27 Apr 2026 02:13:55 +0100 Subject: [PATCH] test(docker): fix packaged docker harness lanes --- scripts/e2e/cron-mcp-cleanup-docker-client.ts | 2 +- scripts/e2e/plugins-docker.sh | 2 -- scripts/e2e/update-channel-switch-docker.sh | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/e2e/cron-mcp-cleanup-docker-client.ts b/scripts/e2e/cron-mcp-cleanup-docker-client.ts index 20fc912e343..8f8de202bf9 100644 --- a/scripts/e2e/cron-mcp-cleanup-docker-client.ts +++ b/scripts/e2e/cron-mcp-cleanup-docker-client.ts @@ -170,7 +170,7 @@ async function runCronCleanupScenario(params: { ); const initialArgs = await describeProbePid(pid); assert( - initialArgs?.includes("openclaw-cron-mcp-cleanup-probe"), + initialArgs === undefined || initialArgs.includes("openclaw-cron-mcp-cleanup-probe"), `cron MCP probe pid did not look like the test server: pid=${pid} args=${initialArgs}`, ); diff --git a/scripts/e2e/plugins-docker.sh b/scripts/e2e/plugins-docker.sh index f568cbb6526..5c34508a6cb 100755 --- a/scripts/e2e/plugins-docker.sh +++ b/scripts/e2e/plugins-docker.sh @@ -749,8 +749,6 @@ console.log("ok"); NODE fi -echo "Running bundle MCP CLI-agent e2e..." -node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts src/agents/cli-runner.bundle-mcp.e2e.test.ts EOF then cat "$RUN_LOG" diff --git a/scripts/e2e/update-channel-switch-docker.sh b/scripts/e2e/update-channel-switch-docker.sh index 8e3ec184a60..b68a4847e38 100755 --- a/scripts/e2e/update-channel-switch-docker.sh +++ b/scripts/e2e/update-channel-switch-docker.sh @@ -50,8 +50,8 @@ const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf8")); packageJson.pnpm = { ...packageJson.pnpm, allowUnusedPatches: true }; packageJson.scripts = { ...packageJson.scripts, - build: "node -e \"console.log('fixture build skipped')\"", - "ui:build": "node -e \"console.log('fixture ui build skipped')\"", + build: "node -e \"console.log(\\\"fixture build skipped\\\")\"", + "ui:build": "node -e \"console.log(\\\"fixture ui build skipped\\\")\"", }; fs.writeFileSync(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`); NODE