惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
L
LangChain Blog
C
Check Point Blog
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
美团技术团队
博客园 - 司徒正美
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
腾讯CDC
B
Blog
G
Google Developers Blog
The Cloudflare Blog
P
Proofpoint News Feed

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
test: tighten docker e2e selected lane assertions · openc...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -70,6 +70,31 @@ function publishedUpgradeSurvivorLane(

7070

};

7171

}

727273+

function updateMigrationLane(name: string, baselineSpec: string): ReturnType<typeof summarizeLane> {

74+

return {

75+

command: `OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/${name}" OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC='${baselineSpec}' OPENCLAW_UPGRADE_SURVIVOR_SCENARIO='plugin-deps-cleanup' OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:update-migration`,

76+

imageKind: "bare",

77+

live: false,

78+

name,

79+

resources: ["docker", "npm"],

80+

stateScenario: "upgrade-survivor",

81+

timeoutMs: 1_800_000,

82+

weight: 3,

83+

};

84+

}

85+86+

function bundledPluginSweepLane(index: number): ReturnType<typeof summarizeLane> {

87+

return {

88+

command: `OPENCLAW_BUNDLED_PLUGIN_SWEEP_TOTAL=24 OPENCLAW_BUNDLED_PLUGIN_SWEEP_INDEX=${index} OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:bundled-plugin-install-uninstall`,

89+

imageKind: "functional",

90+

live: false,

91+

name: `bundled-plugin-install-uninstall-${index}`,

92+

resources: ["docker", "npm"],

93+

stateScenario: "empty",

94+

weight: 1,

95+

};

96+

}

97+7398

describe("scripts/lib/docker-e2e-plan", () => {

7499

it("plans the full release path against package-backed e2e images", () => {

75100

const plan = planFor({

@@ -524,24 +549,10 @@ describe("scripts/lib/docker-e2e-plan", () => {

524549

upgradeSurvivorScenarios: "plugin-deps-cleanup",

525550

});

526551527-

expect(plan.lanes.map((lane) => lane.name)).toEqual([

528-

"update-migration-2026.4.29-plugin-deps-cleanup",

529-

"update-migration-2026.4.23-plugin-deps-cleanup",

552+

expect(plan.lanes.map(summarizeLane)).toEqual([

553+

updateMigrationLane("update-migration-2026.4.29-plugin-deps-cleanup", "openclaw@2026.4.29"),

554+

updateMigrationLane("update-migration-2026.4.23-plugin-deps-cleanup", "openclaw@2026.4.23"),

530555

]);

531-

expect(plan.lanes).toEqual(

532-

expect.arrayContaining([

533-

expect.objectContaining({

534-

command: expect.stringContaining("pnpm test:docker:update-migration"),

535-

imageKind: "bare",

536-

stateScenario: "upgrade-survivor",

537-

}),

538-

expect.objectContaining({

539-

command: expect.stringContaining(

540-

"OPENCLAW_UPGRADE_SURVIVOR_SCENARIO='plugin-deps-cleanup'",

541-

),

542-

}),

543-

]),

544-

);

545556

});

546557547558

it("plans a live-only selected lane without package e2e images", () => {

@@ -561,15 +572,17 @@ describe("scripts/lib/docker-e2e-plan", () => {

561572

const plan = planFor({ selectedLaneNames: ["live-codex-npm-plugin"] });

562573563574

expect(plan.credentials).toEqual(["openai"]);

564-

expect(plan.lanes).toEqual([

565-

expect.objectContaining({

575+

expect(plan.lanes.map(summarizeLane)).toEqual([

576+

{

566577

command: "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:live-codex-npm-plugin",

567578

imageKind: "bare",

568579

live: true,

569580

name: "live-codex-npm-plugin",

570581

resources: ["docker", "live", "live:openai", "npm"],

571582

stateScenario: "empty",

572-

}),

583+

timeoutMs: 1_800_000,

584+

weight: 3,

585+

},

573586

]);

574587

expect(plan.needs).toEqual({

575588

bareImage: true,

@@ -587,13 +600,16 @@ describe("scripts/lib/docker-e2e-plan", () => {

587600

});

588601589602

expect(plan.credentials).toEqual(["openai"]);

590-

expect(plan.lanes).toEqual([

591-

expect.objectContaining({

603+

expect(plan.lanes.map(summarizeLane)).toEqual([

604+

{

605+

command: "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui",

592606

imageKind: "functional",

593607

live: true,

594608

name: "openwebui",

595-

resources: expect.arrayContaining(["docker", "live", "live:openai", "service"]),

596-

}),

609+

resources: ["docker", "live", "live:openai", "service"],

610+

timeoutMs: 1_200_000,

611+

weight: 5,

612+

},

597613

]);

598614

expect(plan.needs).toEqual({

599615

bareImage: false,

@@ -637,83 +653,28 @@ describe("scripts/lib/docker-e2e-plan", () => {

637653

],

638654

});

639655640-

expect(plan.lanes).toEqual([

641-

expect.objectContaining({

642-

name: "onboard",

643-

stateScenario: "empty",

644-

}),

645-

expect.objectContaining({

646-

name: "agents-delete-shared-workspace",

647-

stateScenario: "empty",

648-

}),

649-

expect.objectContaining({

650-

name: "doctor-switch",

651-

stateScenario: "empty",

652-

}),

653-

expect.objectContaining({

654-

name: "openai-image-auth",

655-

stateScenario: "empty",

656-

}),

657-

expect.objectContaining({

658-

name: "openai-web-search-minimal",

659-

stateScenario: "empty",

660-

}),

661-

expect.objectContaining({

662-

name: "mcp-channels",

663-

stateScenario: "empty",

664-

}),

665-

expect.objectContaining({

666-

name: "cron-mcp-cleanup",

667-

stateScenario: "empty",

668-

}),

669-

expect.objectContaining({

670-

name: "pi-bundle-mcp-tools",

671-

stateScenario: "empty",

672-

}),

673-

expect.objectContaining({

674-

name: "crestodian-first-run",

675-

stateScenario: "empty",

676-

}),

677-

expect.objectContaining({

678-

name: "crestodian-planner",

679-

stateScenario: "empty",

680-

}),

681-

expect.objectContaining({

682-

name: "crestodian-rescue",

683-

stateScenario: "empty",

684-

}),

685-

expect.objectContaining({

686-

name: "config-reload",

687-

stateScenario: "empty",

688-

}),

689-

expect.objectContaining({

690-

name: "plugin-update",

691-

stateScenario: "empty",

692-

}),

693-

expect.objectContaining({

694-

name: "plugins",

695-

stateScenario: "empty",

696-

}),

697-

expect.objectContaining({

698-

name: "kitchen-sink-plugin",

699-

stateScenario: "empty",

700-

}),

701-

expect.objectContaining({

702-

name: "bundled-plugin-install-uninstall-0",

703-

stateScenario: "empty",

704-

}),

705-

expect.objectContaining({

706-

name: "commitments-safety",

707-

stateScenario: "empty",

708-

}),

709-

expect.objectContaining({

710-

name: "update-channel-switch",

711-

stateScenario: "update-stable",

712-

}),

713-

expect.objectContaining({

714-

name: "upgrade-survivor",

715-

stateScenario: "upgrade-survivor",

716-

}),

656+

expect(

657+

plan.lanes.map((lane) => ({ name: lane.name, stateScenario: lane.stateScenario })),

658+

).toEqual([

659+

{ name: "onboard", stateScenario: "empty" },

660+

{ name: "agents-delete-shared-workspace", stateScenario: "empty" },

661+

{ name: "doctor-switch", stateScenario: "empty" },

662+

{ name: "openai-image-auth", stateScenario: "empty" },

663+

{ name: "openai-web-search-minimal", stateScenario: "empty" },

664+

{ name: "mcp-channels", stateScenario: "empty" },

665+

{ name: "cron-mcp-cleanup", stateScenario: "empty" },

666+

{ name: "pi-bundle-mcp-tools", stateScenario: "empty" },

667+

{ name: "crestodian-first-run", stateScenario: "empty" },

668+

{ name: "crestodian-planner", stateScenario: "empty" },

669+

{ name: "crestodian-rescue", stateScenario: "empty" },

670+

{ name: "config-reload", stateScenario: "empty" },

671+

{ name: "plugin-update", stateScenario: "empty" },

672+

{ name: "plugins", stateScenario: "empty" },

673+

{ name: "kitchen-sink-plugin", stateScenario: "empty" },

674+

{ name: "bundled-plugin-install-uninstall-0", stateScenario: "empty" },

675+

{ name: "commitments-safety", stateScenario: "empty" },

676+

{ name: "update-channel-switch", stateScenario: "update-stable" },

677+

{ name: "upgrade-survivor", stateScenario: "upgrade-survivor" },

717678

]);

718679

});

719680

@@ -722,15 +683,25 @@ describe("scripts/lib/docker-e2e-plan", () => {

722683

const plan = planFor({ selectedLaneNames });

723684724685

expect(selectedLaneNames).toEqual(["install-e2e-openai", "install-e2e-anthropic"]);

725-

expect(plan.lanes).toEqual([

726-

expect.objectContaining({

727-

command: expect.stringContaining("OPENCLAW_E2E_MODELS=openai"),

686+

expect(plan.lanes.map(summarizeLane)).toEqual([

687+

{

688+

command:

689+

"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e",

690+

imageKind: "bare",

691+

live: false,

728692

name: "install-e2e-openai",

729-

}),

730-

expect.objectContaining({

731-

command: expect.stringContaining("OPENCLAW_E2E_MODELS=anthropic"),

693+

resources: ["docker", "npm", "service"],

694+

weight: 3,

695+

},

696+

{

697+

command:

698+

"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=anthropic OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-anthropic:local pnpm test:install:e2e",

699+

imageKind: "bare",

700+

live: false,

732701

name: "install-e2e-anthropic",

733-

}),

702+

resources: ["docker", "npm", "service"],

703+

weight: 3,

704+

},

734705

]);

735706

expect(plan.credentials).toEqual(["anthropic", "openai"]);

736707

});

@@ -746,24 +717,10 @@ describe("scripts/lib/docker-e2e-plan", () => {

746717

),

747718

);

748719

expect(plan.lanes).toHaveLength(BUNDLED_PLUGIN_INSTALL_UNINSTALL_SHARDS);

749-

expect(plan.lanes[0]).toEqual(

750-

expect.objectContaining({

751-

command: expect.stringContaining("OPENCLAW_BUNDLED_PLUGIN_SWEEP_INDEX=0"),

752-

imageKind: "functional",

753-

live: false,

754-

name: "bundled-plugin-install-uninstall-0",

755-

resources: expect.arrayContaining(["docker", "npm"]),

756-

}),

757-

);

758-

expect(plan.lanes[23]).toEqual(

759-

expect.objectContaining({

760-

command: expect.stringContaining("OPENCLAW_BUNDLED_PLUGIN_SWEEP_INDEX=23"),

761-

imageKind: "functional",

762-

live: false,

763-

name: "bundled-plugin-install-uninstall-23",

764-

resources: expect.arrayContaining(["docker", "npm"]),

765-

}),

766-

);

720+

expect(plan.lanes.at(0)).toBeDefined();

721+

expect(plan.lanes.at(23)).toBeDefined();

722+

expect(summarizeLane(plan.lanes[0]!)).toEqual(bundledPluginSweepLane(0));

723+

expect(summarizeLane(plan.lanes[23]!)).toEqual(bundledPluginSweepLane(23));

767724

expect(plan.needs).toEqual({

768725

bareImage: false,

769726

e2eImage: true,