
























@@ -21,9 +21,10 @@ const LIVE_RETRY_PATTERNS = [
2121/ECONNRESET|ETIMEDOUT|ENOTFOUND/i,
2222];
232324-function liveDockerScriptCommand(script, envPrefix = "") {
24+function liveDockerScriptCommand(script, envPrefix = "", options = {}) {
2525const prefix = envPrefix ? `${envPrefix} ` : "";
26-return `${prefix}OPENCLAW_SKIP_DOCKER_BUILD=1 bash -c 'harness="\${OPENCLAW_DOCKER_E2E_TRUSTED_HARNESS_DIR:-}"; if [ -z "$harness" ]; then if [ -d .release-harness/scripts ]; then harness=.release-harness; else harness=.; fi; fi; OPENCLAW_LIVE_DOCKER_REPO_ROOT="\${OPENCLAW_DOCKER_E2E_REPO_ROOT:-$PWD}" bash "$harness/scripts/${script}"'`;
26+const skipBuild = options.skipBuild === false ? "" : "OPENCLAW_SKIP_DOCKER_BUILD=1 ";
27+return `${prefix}${skipBuild}bash -c 'harness="\${OPENCLAW_DOCKER_E2E_TRUSTED_HARNESS_DIR:-}"; if [ -z "$harness" ]; then if [ -d .release-harness/scripts ]; then harness=.release-harness; else harness=.; fi; fi; OPENCLAW_LIVE_DOCKER_REPO_ROOT="\${OPENCLAW_DOCKER_E2E_REPO_ROOT:-$PWD}" bash "$harness/scripts/${script}"'`;
2728}
28292930function lane(name, command, options = {}) {
@@ -128,11 +129,19 @@ export const mainLanes = [
128129timeoutMs: LIVE_PROFILE_TIMEOUT_MS,
129130weight: 4,
130131}),
131-liveLane("live-gateway", liveDockerScriptCommand("test-live-gateway-models-docker.sh"), {
132-providers: ["claude-cli", "codex-cli", "google-gemini-cli"],
133-timeoutMs: LIVE_PROFILE_TIMEOUT_MS,
134-weight: 4,
135-}),
132+liveLane(
133+"live-gateway",
134+liveDockerScriptCommand(
135+"test-live-gateway-models-docker.sh",
136+"OPENCLAW_IMAGE=openclaw:local-live-gateway OPENCLAW_DOCKER_BUILD_EXTENSIONS=matrix",
137+{ skipBuild: false },
138+),
139+{
140+providers: ["claude-cli", "codex-cli", "google-gemini-cli"],
141+timeoutMs: LIVE_PROFILE_TIMEOUT_MS,
142+weight: 4,
143+},
144+),
136145liveLane(
137146"live-cli-backend-claude",
138147liveDockerScriptCommand(
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。