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

推荐订阅源

罗磊的独立博客
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
量子位
博客园 - 三生石上(FineUI控件)
Stack Overflow Blog
Stack Overflow Blog
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
人人都是产品经理
人人都是产品经理
V
Visual Studio Blog
Jina AI
Jina AI
L
LangChain Blog
M
MIT News - Artificial intelligence
MongoDB | Blog
MongoDB | Blog
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学

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
ci(release): make Open WebUI release smoke deterministic ...
steipete · 2026-05-10 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -712,6 +712,9 @@ OpenClaw gateway container with the OpenAI-compatible HTTP endpoints enabled,

712712

starts a pinned Open WebUI container against that gateway, signs in through

713713

Open WebUI, verifies `/api/models` exposes `openclaw/default`, then sends a

714714

real chat request through Open WebUI's `/api/chat/completions` proxy.

715+

Set `OPENWEBUI_SMOKE_MODE=models` for release-path CI checks that should stop

716+

after Open WebUI sign-in and model discovery, without waiting on a live model

717+

completion.

715718

The first run can be noticeably slower because Docker may need to pull the

716719

Open WebUI image and Open WebUI may need to finish its own cold-start setup.

717720

This lane expects a usable live model key, and `OPENCLAW_PROFILE_FILE`

Original file line numberDiff line numberDiff line change

@@ -8,12 +8,17 @@ const prompt = process.env.OPENWEBUI_PROMPT ?? "";

88

const modelAttempts = Number.parseInt(process.env.OPENWEBUI_MODEL_ATTEMPTS ?? "72", 10);

99

const modelRetryMs = Number.parseInt(process.env.OPENWEBUI_MODEL_RETRY_MS ?? "5000", 10);

1010

const fetchTimeoutMs = Number.parseInt(process.env.OPENWEBUI_FETCH_TIMEOUT_MS ?? "720000", 10);

11+

const smokeMode =

12+

process.env.OPENWEBUI_SMOKE_MODE ?? process.env.OPENCLAW_OPENWEBUI_SMOKE_MODE ?? "chat";

1113
1214

setGlobalDispatcher(new Agent({ bodyTimeout: fetchTimeoutMs, headersTimeout: fetchTimeoutMs }));

1315
1416

if (!baseUrl || !email || !password || !expectedNonce || !prompt) {

1517

throw new Error("Missing required OPENWEBUI_* environment variables");

1618

}

19+

if (smokeMode !== "models" && smokeMode !== "chat") {

20+

throw new Error(`Unsupported OPENWEBUI_SMOKE_MODE: ${smokeMode}`);

21+

}

1722
1823

function getCookieHeader(res) {

1924

const raw = res.headers.get("set-cookie");

@@ -105,6 +110,10 @@ if (!targetModel) {

105110

`openclaw model missing from Open WebUI model list after retry: ${JSON.stringify(modelIds)} (${lastModelsError})`,

106111

);

107112

}

113+

if (smokeMode === "models") {

114+

console.log(JSON.stringify({ ok: true, mode: smokeMode, model: targetModel }, null, 2));

115+

process.exit(0);

116+

}

108117
109118

const chatRes = await fetch(`${baseUrl}/api/chat/completions`, {

110119

method: "POST",

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,7 @@ const LIVE_CLI_TIMEOUT_MS = 20 * 60 * 1000;

88

const LIVE_PROFILE_TIMEOUT_MS = 30 * 60 * 1000;

99

const OPENWEBUI_TIMEOUT_MS = 20 * 60 * 1000;

1010

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";

11+

"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENWEBUI_SMOKE_MODE=models OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui";

1212

export const BUNDLED_PLUGIN_INSTALL_UNINSTALL_SHARDS = 24;

1313

const upgradeSurvivorCommand = "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:upgrade-survivor";

1414

const updateRestartAuthCommand =

Original file line numberDiff line numberDiff line change

@@ -331,7 +331,7 @@ describe("scripts/lib/docker-e2e-plan", () => {

331331

},

332332

{

333333

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+

"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENWEBUI_SMOKE_MODE=models OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui",

335335

imageKind: "functional",

336336

live: true,

337337

name: "openwebui",

@@ -654,7 +654,7 @@ describe("scripts/lib/docker-e2e-plan", () => {

654654

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

655655

{

656656

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",

657+

"OPENCLAW_OPENWEBUI_MODEL=openai/gpt-5.4-mini OPENWEBUI_SMOKE_MODE=models OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=300 OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:openwebui",

658658

imageKind: "functional",

659659

live: true,

660660

name: "openwebui",