fix(test): skip Open WebUI in no-live Docker plans · openclaw/openclaw@0b6db06
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -157,7 +157,10 @@ export const mainLanes = [
|
157 | 157 | weight: 3, |
158 | 158 | }, |
159 | 159 | ), |
160 | | -serviceLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 160 | +lane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 161 | +e2eImageKind: "functional", |
| 162 | +live: true, |
| 163 | +resources: ["live", "live:openai", "service"], |
161 | 164 | timeoutMs: OPENWEBUI_TIMEOUT_MS, |
162 | 165 | weight: 5, |
163 | 166 | }), |
@@ -580,7 +583,10 @@ const legacyReleasePathChunks = {
|
580 | 583 | }; |
581 | 584 | |
582 | 585 | function openWebUILane() { |
583 | | -return serviceLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 586 | +return lane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 587 | +e2eImageKind: "functional", |
| 588 | +live: true, |
| 589 | +resources: ["live", "live:openai", "service"], |
584 | 590 | timeoutMs: OPENWEBUI_TIMEOUT_MS, |
585 | 591 | weight: 5, |
586 | 592 | }); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -482,16 +482,26 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
482 | 482 | expect(plan.lanes).toEqual([ |
483 | 483 | expect.objectContaining({ |
484 | 484 | imageKind: "functional", |
485 | | -live: false, |
| 485 | +live: true, |
486 | 486 | name: "openwebui", |
| 487 | +resources: expect.arrayContaining(["docker", "live", "live:openai", "service"]), |
487 | 488 | }), |
488 | 489 | ]); |
489 | 490 | expect(plan.needs).toMatchObject({ |
490 | 491 | functionalImage: true, |
| 492 | +liveImage: true, |
491 | 493 | package: true, |
492 | 494 | }); |
493 | 495 | }); |
494 | 496 | |
| 497 | +it("excludes Open WebUI from skip-live Docker all plans", () => { |
| 498 | +const plan = planFor({ |
| 499 | +liveMode: "skip", |
| 500 | +}); |
| 501 | + |
| 502 | +expect(plan.lanes.map((lane) => lane.name)).not.toContain("openwebui"); |
| 503 | +}); |
| 504 | + |
495 | 505 | it("surfaces Docker lane test-state scenarios in plan JSON", () => { |
496 | 506 | const plan = planFor({ |
497 | 507 | selectedLaneNames: [ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。