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

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
IT之家
IT之家
C
Check Point Blog
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
M
MIT News - Artificial intelligence
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
F
Fortinet All Blogs
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

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
test: assert update cli errors · openclaw/openclaw@c7016bf
shakkernerd · 2026-05-11 · via Recent Commits to openclaw:main

@@ -1663,9 +1663,11 @@ describe("update-cli", () => {

16631663

);

1664166416651665

expect(defaultRuntime.error).not.toHaveBeenCalledWith(

1666-

expect.stringContaining(

1666+

[

16671667

"Package updates cannot run from inside the gateway service process.",

1668-

),

1668+

"That path replaces the active OpenClaw dist tree while the live gateway may still lazy-load old chunks.",

1669+

"Run `openclaw update` from a shell outside the gateway service, or stop the gateway service first and then update.",

1670+

].join("\n"),

16691671

);

16701672

expectPackageInstallSpec("openclaw@latest");

16711673

});

@@ -1692,9 +1694,11 @@ describe("update-cli", () => {

16921694

);

1693169516941696

expect(defaultRuntime.error).toHaveBeenCalledWith(

1695-

expect.stringContaining(

1697+

[

16961698

"Package updates cannot run from inside the gateway service process.",

1697-

),

1699+

"That path replaces the active OpenClaw dist tree while the live gateway may still lazy-load old chunks.",

1700+

"Run `openclaw update` from a shell outside the gateway service, or stop the gateway service first and then update.",

1701+

].join("\n"),

16981702

);

16991703

expect(defaultRuntime.exit).toHaveBeenCalledWith(1);

17001704

expect(serviceStop).not.toHaveBeenCalled();

@@ -1736,9 +1740,11 @@ describe("update-cli", () => {

17361740

);

1737174117381742

expect(defaultRuntime.error).toHaveBeenCalledWith(

1739-

expect.stringContaining(

1743+

[

17401744

"Package updates cannot run from inside the gateway service process.",

1741-

),

1745+

"That path replaces the active OpenClaw dist tree while the live gateway may still lazy-load old chunks.",

1746+

"Run `openclaw update` from a shell outside the gateway service, or stop the gateway service first and then update.",

1747+

].join("\n"),

17421748

);

17431749

expect(defaultRuntime.exit).toHaveBeenCalledWith(1);

17441750

expect(serviceStop).not.toHaveBeenCalled();

@@ -1767,9 +1773,11 @@ describe("update-cli", () => {

17671773

);

1768177417691775

expect(defaultRuntime.error).toHaveBeenCalledWith(

1770-

expect.stringContaining(

1776+

[

17711777

"Package updates cannot run from inside the gateway service process.",

1772-

),

1778+

"That path replaces the active OpenClaw dist tree while the live gateway may still lazy-load old chunks.",

1779+

"Run `openclaw update` from a shell outside the gateway service, or stop the gateway service first and then update.",

1780+

].join("\n"),

17731781

);

17741782

expect(defaultRuntime.exit).toHaveBeenCalledWith(1);

17751783

expect(serviceStop).not.toHaveBeenCalled();

@@ -3274,25 +3282,26 @@ describe("update-cli", () => {

32743282

name: "update command invalid timeout",

32753283

run: async () => await updateCommand({ timeout: "invalid" }),

32763284

requireTty: false,

3277-

expectedError: "timeout",

3285+

expectedError: "--timeout must be a positive integer (seconds)",

32783286

},

32793287

{

32803288

name: "update status command invalid timeout",

32813289

run: async () => await updateStatusCommand({ timeout: "invalid" }),

32823290

requireTty: false,

3283-

expectedError: "timeout",

3291+

expectedError: "--timeout must be a positive integer (seconds)",

32843292

},

32853293

{

32863294

name: "update wizard invalid timeout",

32873295

run: async () => await updateWizardCommand({ timeout: "invalid" }),

32883296

requireTty: true,

3289-

expectedError: "timeout",

3297+

expectedError: "--timeout must be a positive integer (seconds)",

32903298

},

32913299

{

32923300

name: "update wizard requires a TTY",

32933301

run: async () => await updateWizardCommand({}),

32943302

requireTty: false,

3295-

expectedError: "Update wizard requires a TTY",

3303+

expectedError:

3304+

"Update wizard requires a TTY. Use `openclaw update --channel <stable|beta|dev>` instead.",

32963305

},

32973306

] as const)(

32983307

"validates update command invocation errors: $name",

@@ -3303,9 +3312,7 @@ describe("update-cli", () => {

3303331233043313

await run();

330533143306-

expect(defaultRuntime.error, name).toHaveBeenCalledWith(

3307-

expect.stringContaining(expectedError),

3308-

);

3315+

expect(defaultRuntime.error, name).toHaveBeenCalledWith(expectedError);

33093316

expect(defaultRuntime.exit, name).toHaveBeenCalledWith(1);

33103317

},

33113318

);