diff --git a/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs b/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs index d0eda1a3a74..ad7a0bf5da5 100644 --- a/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs +++ b/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs @@ -259,6 +259,7 @@ async function assertReadyzProbe(options) { } async function rpcCall(method, params, options) { + const rpcStateDir = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-plugin-runtime-rpc-")); const args = [ options.entrypoint, "gateway", @@ -279,6 +280,7 @@ async function rpcCall(method, params, options) { ...process.env, ...options.env, OPENCLAW_NO_ONBOARD: "1", + OPENCLAW_STATE_DIR: rpcStateDir, }, }); return unwrapRpcPayload(parseJsonOutput(stdout)); diff --git a/scripts/e2e/upgrade-survivor-docker.sh b/scripts/e2e/upgrade-survivor-docker.sh index 27394737765..f47afc82036 100755 --- a/scripts/e2e/upgrade-survivor-docker.sh +++ b/scripts/e2e/upgrade-survivor-docker.sh @@ -13,7 +13,9 @@ SKIP_BUILD="${OPENCLAW_UPGRADE_SURVIVOR_E2E_SKIP_BUILD:-0}" DOCKER_RUN_TIMEOUT="${OPENCLAW_UPGRADE_SURVIVOR_DOCKER_RUN_TIMEOUT:-900s}" BASELINE_SPEC="${OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC:-}" SCENARIO="${OPENCLAW_UPGRADE_SURVIVOR_SCENARIO:-base}" -ARTIFACT_DIR="${OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR:-$ROOT_DIR/.artifacts/upgrade-survivor}" +LANE_ARTIFACT_SUFFIX="${OPENCLAW_DOCKER_ALL_LANE_NAME:-default}" +LANE_ARTIFACT_SUFFIX="${LANE_ARTIFACT_SUFFIX//[^A-Za-z0-9_.-]/_}" +ARTIFACT_DIR="${OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR:-$ROOT_DIR/.artifacts/upgrade-survivor/$LANE_ARTIFACT_SUFFIX}" normalize_npm_candidate() { local raw="$1" diff --git a/scripts/openclaw-cross-os-release-checks.ts b/scripts/openclaw-cross-os-release-checks.ts index ea89ba05a9f..1ecc852d531 100644 --- a/scripts/openclaw-cross-os-release-checks.ts +++ b/scripts/openclaw-cross-os-release-checks.ts @@ -91,7 +91,7 @@ export const CROSS_OS_GATEWAY_STATUS_COMMAND_TIMEOUT_MS = CROSS_OS_GATEWAY_STATUS_RPC_TIMEOUT_MS + 45_000; export const CROSS_OS_GATEWAY_READY_TIMEOUT_MS = 3 * 60_000; export const CROSS_OS_WINDOWS_GATEWAY_READY_TIMEOUT_MS = 5 * 60_000; -export const CROSS_OS_AGENT_TURN_TIMEOUT_SECONDS = 180; +export const CROSS_OS_AGENT_TURN_TIMEOUT_SECONDS = 360; if (isMainModule()) { try { diff --git a/scripts/test-docker-all.mjs b/scripts/test-docker-all.mjs index 3437e3117f2..42cf990cff1 100644 --- a/scripts/test-docker-all.mjs +++ b/scripts/test-docker-all.mjs @@ -736,6 +736,7 @@ function laneEnv(poolLane, baseEnv, logDir, cacheKey) { ...baseEnv, }; const name = poolLane.name; + env.OPENCLAW_DOCKER_ALL_LANE_NAME = name; const image = e2eImageForLane(poolLane, baseEnv); if (image) { env.OPENCLAW_DOCKER_E2E_IMAGE = image; diff --git a/test/scripts/openclaw-cross-os-release-checks.test.ts b/test/scripts/openclaw-cross-os-release-checks.test.ts index caf361dc379..632971b39d9 100644 --- a/test/scripts/openclaw-cross-os-release-checks.test.ts +++ b/test/scripts/openclaw-cross-os-release-checks.test.ts @@ -164,7 +164,7 @@ describe("scripts/openclaw-cross-os-release-checks", () => { const source = readFileSync("scripts/openclaw-cross-os-release-checks.ts", "utf8"); expect(source).toContain('"--thinking",\n "minimal"'); - expect(CROSS_OS_AGENT_TURN_TIMEOUT_SECONDS).toBeLessThanOrEqual(180); + expect(CROSS_OS_AGENT_TURN_TIMEOUT_SECONDS).toBeLessThanOrEqual(360); expect(source).toContain('"--timeout",\n String(CROSS_OS_AGENT_TURN_TIMEOUT_SECONDS)'); expect(source.match(/buildReleaseAgentTurnArgs\(sessionId\)/g)?.length).toBeGreaterThanOrEqual( 2,