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

推荐订阅源

爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
U
Unit 42
B
Blog RSS Feed
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
腾讯CDC
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta

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: count update follow-up calls · openclaw/openclaw@bb...
shakkernerd · 2026-05-12 · via Recent Commits to openclaw:main

@@ -478,7 +478,7 @@ describe("update-cli", () => {

478478

force: true,

479479

json: undefined,

480480

});

481-

expect(runDaemonRestart).toHaveBeenCalled();

481+

expect(runDaemonRestart).toHaveBeenCalledTimes(1);

482482

};

483483484484

const setupNonInteractiveDowngrade = async () => {

@@ -880,8 +880,8 @@ describe("update-cli", () => {

880880

await updateCommand({ yes: true, tag: "2026.4.10", restart: false });

881881882882

expect(spawn).not.toHaveBeenCalled();

883-

expect(syncPluginsForUpdateChannel).toHaveBeenCalled();

884-

expect(updateNpmInstalledPlugins).toHaveBeenCalled();

883+

expect(syncPluginsForUpdateChannel).toHaveBeenCalledTimes(1);

884+

expect(updateNpmInstalledPlugins).toHaveBeenCalledTimes(1);

885885

expect(runDaemonInstall).not.toHaveBeenCalled();

886886

expect(probeGateway).not.toHaveBeenCalled();

887887

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

@@ -1576,7 +1576,7 @@ describe("update-cli", () => {

15761576

}

1577157715781578

if (expectedPersistedChannel !== undefined) {

1579-

expect(replaceConfigFile).toHaveBeenCalled();

1579+

expect(replaceConfigFile).toHaveBeenCalledTimes(1);

15801580

const writeCall = vi.mocked(replaceConfigFile).mock.calls[0]?.[0] as

15811581

| { nextConfig?: { update?: { channel?: string } } }

15821582

| undefined;

@@ -1619,7 +1619,7 @@ describe("update-cli", () => {

16191619

([argv]) => Array.isArray(argv) && argv[0] === "npm" && argv[1] === "i" && argv[2] === "-g",

16201620

);

16211621

expect(installCalls).toHaveLength(1);

1622-

expect(updateNpmInstalledPlugins).toHaveBeenCalled();

1622+

expect(updateNpmInstalledPlugins).toHaveBeenCalledTimes(1);

16231623

expect(replaceConfigFile).not.toHaveBeenCalled();

16241624

const logs = vi.mocked(defaultRuntime.log).mock.calls.map((call) => String(call[0]));

16251625

expect(logs.join("\n")).not.toContain("already-current");

@@ -2914,7 +2914,7 @@ describe("update-cli", () => {

29142914

force: true,

29152915

json: undefined,

29162916

});

2917-

expect(runRestartScript).toHaveBeenCalled();

2917+

expect(runRestartScript).toHaveBeenCalledTimes(1);

29182918

expect(runDaemonRestart).not.toHaveBeenCalled();

29192919

},

29202920

},

@@ -2929,7 +2929,7 @@ describe("update-cli", () => {

29292929

force: true,

29302930

json: undefined,

29312931

});

2932-

expect(runDaemonRestart).toHaveBeenCalled();

2932+

expect(runDaemonRestart).toHaveBeenCalledTimes(1);

29332933

},

29342934

},

29352935

{

@@ -2943,7 +2943,7 @@ describe("update-cli", () => {

29432943

force: true,

29442944

json: undefined,

29452945

});

2946-

expect(runDaemonRestart).toHaveBeenCalled();

2946+

expect(runDaemonRestart).toHaveBeenCalledTimes(1);

29472947

},

29482948

},

29492949

{

@@ -3143,7 +3143,7 @@ describe("update-cli", () => {

3143314331443144

await updateCommand({ yes: true });

314531453146-

expect(runRestartScript).toHaveBeenCalled();

3146+

expect(runRestartScript).toHaveBeenCalledTimes(1);

31473147

const probeCall = probeGateway.mock.calls[0]?.[0] as { includeDetails?: boolean } | undefined;

31483148

expect(probeCall?.includeDetails).toBe(true);

31493149

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

@@ -3163,7 +3163,7 @@ describe("update-cli", () => {

31633163

},

31643164

assertExtra: () => {

31653165

expect(runDaemonInstall).not.toHaveBeenCalled();

3166-

expect(runRestartScript).toHaveBeenCalled();

3166+

expect(runRestartScript).toHaveBeenCalledTimes(1);

31673167

},

31683168

},

31693169

{