test(release): harden OpenWebUI release lane · openclaw/openclaw@7674a89
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,6 +7,8 @@ const LIVE_ACP_TIMEOUT_MS = 20 * 60 * 1000;
|
7 | 7 | const LIVE_CLI_TIMEOUT_MS = 20 * 60 * 1000; |
8 | 8 | const LIVE_PROFILE_TIMEOUT_MS = 30 * 60 * 1000; |
9 | 9 | const OPENWEBUI_TIMEOUT_MS = 20 * 60 * 1000; |
| 10 | +const RELEASE_OPENWEBUI_COMMAND = |
| 11 | +"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui"; |
10 | 12 | export const BUNDLED_PLUGIN_INSTALL_UNINSTALL_SHARDS = 24; |
11 | 13 | const upgradeSurvivorCommand = "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:upgrade-survivor"; |
12 | 14 | const updateRestartAuthCommand = |
@@ -655,7 +657,7 @@ const legacyReleasePathChunks = {
|
655 | 657 | }; |
656 | 658 | |
657 | 659 | function openWebUILane() { |
658 | | -return liveLane("openwebui", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", { |
| 660 | +return liveLane("openwebui", RELEASE_OPENWEBUI_COMMAND, { |
659 | 661 | e2eImageKind: "functional", |
660 | 662 | needsLiveImage: false, |
661 | 663 | provider: "openai", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -123,6 +123,9 @@ describe("docker build helper", () => {
|
123 | 123 | expect(scenarios).toContain( |
124 | 124 | '"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=anthropic OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-anthropic:local pnpm test:install:e2e"', |
125 | 125 | ); |
| 126 | +expect(scenarios).toContain( |
| 127 | +'"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui"', |
| 128 | +); |
126 | 129 | }); |
127 | 130 | |
128 | 131 | it("times and parallelizes release installer E2E agent turns after gateway startup", () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -330,7 +330,8 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
330 | 330 | weight: 3, |
331 | 331 | }, |
332 | 332 | { |
333 | | -command: "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", |
| 333 | +command: |
| 334 | +"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", |
334 | 335 | imageKind: "functional", |
335 | 336 | live: true, |
336 | 337 | name: "openwebui", |
@@ -652,7 +653,8 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
652 | 653 | expect(plan.credentials).toEqual(["openai"]); |
653 | 654 | expect(plan.lanes.map(summarizeLane)).toEqual([ |
654 | 655 | { |
655 | | -command: "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", |
| 656 | +command: |
| 657 | +"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui", |
656 | 658 | imageKind: "functional", |
657 | 659 | live: true, |
658 | 660 | name: "openwebui", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。