fix(test): keep Open WebUI live lane image-free

This commit is contained in:
Vincent Koc
2026-05-03 19:56:16 -07:00
parent 0b6db06d7d
commit bc924889be
2 changed files with 11 additions and 12 deletions

View File

@@ -157,10 +157,9 @@ export const mainLanes = [
weight: 3,
},
),
lane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", {
e2eImageKind: "functional",
live: true,
resources: ["live", "live:openai", "service"],
liveLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", {
provider: "openai",
resources: ["service"],
timeoutMs: OPENWEBUI_TIMEOUT_MS,
weight: 5,
}),
@@ -583,10 +582,9 @@ const legacyReleasePathChunks = {
};
function openWebUILane() {
return lane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", {
e2eImageKind: "functional",
live: true,
resources: ["live", "live:openai", "service"],
return liveLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", {
provider: "openai",
resources: ["service"],
timeoutMs: OPENWEBUI_TIMEOUT_MS,
weight: 5,
});

View File

@@ -472,7 +472,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
});
});
it("plans Open WebUI as a functional-image lane with OpenAI credentials", () => {
it("plans Open WebUI as a live-only lane with OpenAI credentials", () => {
const plan = planFor({
includeOpenWebUI: true,
selectedLaneNames: ["openwebui"],
@@ -481,16 +481,17 @@ describe("scripts/lib/docker-e2e-plan", () => {
expect(plan.credentials).toEqual(["openai"]);
expect(plan.lanes).toEqual([
expect.objectContaining({
imageKind: "functional",
imageKind: undefined,
live: true,
name: "openwebui",
resources: expect.arrayContaining(["docker", "live", "live:openai", "service"]),
}),
]);
expect(plan.needs).toMatchObject({
functionalImage: true,
e2eImage: false,
functionalImage: false,
liveImage: true,
package: true,
package: false,
});
});