From f89fcdd5b3b4be96c0143b6b08d99fbcbb9f7d94 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 27 May 2026 04:47:54 +0200 Subject: [PATCH] fix(e2e): bound codex media plugin setup --- scripts/e2e/lib/codex-media-path/scenario.sh | 2 ++ test/scripts/docker-build-helper.test.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/e2e/lib/codex-media-path/scenario.sh b/scripts/e2e/lib/codex-media-path/scenario.sh index a98883a69fc..f717eec736c 100644 --- a/scripts/e2e/lib/codex-media-path/scenario.sh +++ b/scripts/e2e/lib/codex-media-path/scenario.sh @@ -38,6 +38,8 @@ entry="$(openclaw_e2e_resolve_entrypoint)" mkdir -p "$OPENCLAW_STATE_DIR" "$OPENCLAW_TEST_WORKSPACE_DIR" rm -f "$OPENCLAW_CODEX_MEDIA_PATH_APP_SERVER_LOG" +openclaw_e2e_enable_openclaw_cli_timeout + echo "Installing Codex plugin: $PLUGIN_SPEC" openclaw plugins install "$PLUGIN_SPEC" --force >"$PLUGIN_INSTALL_LOG" 2>&1 openclaw plugins inspect codex --runtime --json >"$PLUGIN_INSPECT_LOG" diff --git a/test/scripts/docker-build-helper.test.ts b/test/scripts/docker-build-helper.test.ts index 3ac4f2a2c26..7cb044b1fe2 100644 --- a/test/scripts/docker-build-helper.test.ts +++ b/test/scripts/docker-build-helper.test.ts @@ -32,6 +32,7 @@ const ONBOARD_DOCKER_E2E_PATH = "scripts/e2e/onboard-docker.sh"; const KITCHEN_SINK_PLUGIN_DOCKER_E2E_PATH = "scripts/e2e/kitchen-sink-plugin-docker.sh"; const KITCHEN_SINK_RPC_DOCKER_E2E_PATH = "scripts/e2e/kitchen-sink-rpc-docker.sh"; const CODEX_ON_DEMAND_DOCKER_E2E_PATH = "scripts/e2e/codex-on-demand-docker.sh"; +const CODEX_MEDIA_PATH_SCENARIO_PATH = "scripts/e2e/lib/codex-media-path/scenario.sh"; const CODEX_NPM_PLUGIN_LIVE_DOCKER_E2E_PATH = "scripts/e2e/codex-npm-plugin-live-docker.sh"; const LIVE_PLUGIN_TOOL_DOCKER_E2E_PATH = "scripts/e2e/live-plugin-tool-docker.sh"; const NPM_ONBOARD_CHANNEL_AGENT_DOCKER_E2E_PATH = "scripts/e2e/npm-onboard-channel-agent-docker.sh"; @@ -999,6 +1000,7 @@ grep -qx -- "OPENCLAW_E2E_COMMAND_TIMEOUT=23s" "$TMPDIR/package-args" it("wraps package-backed scenario OpenClaw CLI calls with the shared timeout helper", () => { const paths = [ CODEX_ON_DEMAND_DOCKER_E2E_PATH, + CODEX_MEDIA_PATH_SCENARIO_PATH, CODEX_NPM_PLUGIN_LIVE_DOCKER_E2E_PATH, LIVE_PLUGIN_TOOL_DOCKER_E2E_PATH, NPM_ONBOARD_CHANNEL_AGENT_DOCKER_E2E_PATH,