






















@@ -43,6 +43,7 @@ function lane(name, command, options = {}) {
4343retryPatterns: options.retryPatterns ?? [],
4444retries: options.retries ?? 0,
4545resources: options.resources ?? [],
46+stateScenario: options.stateScenario,
4647timeoutMs: options.timeoutMs,
4748weight: options.weight ?? 1,
4849};
@@ -225,17 +226,19 @@ export const mainLanes = [
225226weight: 5,
226227}),
227228serviceLane("onboard", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:onboard", {
229+stateScenario: "empty",
228230weight: 2,
229231}),
230232npmLane(
231233"npm-onboard-channel-agent",
232234"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:npm-onboard-channel-agent",
233-{ resources: ["service"], weight: 3 },
235+{ resources: ["service"], stateScenario: "empty", weight: 3 },
234236),
235237serviceLane("gateway-network", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:gateway-network"),
236238serviceLane(
237239"agents-delete-shared-workspace",
238240"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:agents-delete-shared-workspace",
241+{ stateScenario: "empty" },
239242),
240243serviceLane("mcp-channels", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:mcp-channels", {
241244resources: ["npm"],
@@ -256,6 +259,7 @@ export const mainLanes = [
256259"update-channel-switch",
257260"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:update-channel-switch",
258261{
262+stateScenario: "update-stable",
259263timeoutMs: 30 * 60 * 1000,
260264weight: 3,
261265},
@@ -477,7 +481,7 @@ const releasePathPackageUpdateCoreLanes = [
477481npmLane(
478482"npm-onboard-channel-agent",
479483"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:npm-onboard-channel-agent",
480-{ resources: ["service"], weight: 3 },
484+{ resources: ["service"], stateScenario: "empty", weight: 3 },
481485),
482486npmLane("doctor-switch", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:doctor-switch", {
483487weight: 3,
@@ -486,6 +490,7 @@ const releasePathPackageUpdateCoreLanes = [
486490"update-channel-switch",
487491"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:update-channel-switch",
488492{
493+stateScenario: "update-stable",
489494timeoutMs: 30 * 60 * 1000,
490495weight: 3,
491496},
@@ -496,6 +501,7 @@ const primaryReleasePathChunks = {
496501core: [
497502lane("qr", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:qr"),
498503serviceLane("onboard", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:onboard", {
504+stateScenario: "empty",
499505weight: 2,
500506}),
501507serviceLane("gateway-network", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:gateway-network"),
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。