fix(test): keep Open WebUI live lane image-free · openclaw/openclaw@bc92488
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -157,10 +157,9 @@ export const mainLanes = [
|
157 | 157 | weight: 3, |
158 | 158 | }, |
159 | 159 | ), |
160 | | -lane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
161 | | -e2eImageKind: "functional", |
162 | | -live: true, |
163 | | -resources: ["live", "live:openai", "service"], |
| 160 | +liveLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 161 | +provider: "openai", |
| 162 | +resources: ["service"], |
164 | 163 | timeoutMs: OPENWEBUI_TIMEOUT_MS, |
165 | 164 | weight: 5, |
166 | 165 | }), |
@@ -583,10 +582,9 @@ const legacyReleasePathChunks = {
|
583 | 582 | }; |
584 | 583 | |
585 | 584 | function openWebUILane() { |
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"], |
| 585 | +return liveLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 586 | +provider: "openai", |
| 587 | +resources: ["service"], |
590 | 588 | timeoutMs: OPENWEBUI_TIMEOUT_MS, |
591 | 589 | weight: 5, |
592 | 590 | }); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -472,7 +472,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
472 | 472 | }); |
473 | 473 | }); |
474 | 474 | |
475 | | -it("plans Open WebUI as a functional-image lane with OpenAI credentials", () => { |
| 475 | +it("plans Open WebUI as a live-only lane with OpenAI credentials", () => { |
476 | 476 | const plan = planFor({ |
477 | 477 | includeOpenWebUI: true, |
478 | 478 | selectedLaneNames: ["openwebui"], |
@@ -481,16 +481,17 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
481 | 481 | expect(plan.credentials).toEqual(["openai"]); |
482 | 482 | expect(plan.lanes).toEqual([ |
483 | 483 | expect.objectContaining({ |
484 | | -imageKind: "functional", |
| 484 | +imageKind: undefined, |
485 | 485 | live: true, |
486 | 486 | name: "openwebui", |
487 | 487 | resources: expect.arrayContaining(["docker", "live", "live:openai", "service"]), |
488 | 488 | }), |
489 | 489 | ]); |
490 | 490 | expect(plan.needs).toMatchObject({ |
491 | | -functionalImage: true, |
| 491 | +e2eImage: false, |
| 492 | +functionalImage: false, |
492 | 493 | liveImage: true, |
493 | | -package: true, |
| 494 | +package: false, |
494 | 495 | }); |
495 | 496 | }); |
496 | 497 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。