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

推荐订阅源

腾讯CDC
The Cloudflare Blog
IT之家
IT之家
V
V2EX
雷峰网
雷峰网
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
A
About on SuperTechFans
B
Blog
月光博客
月光博客
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI

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: guard agent utility mock calls · openclaw/openclaw@...
steipete · 2026-05-12 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -300,7 +300,7 @@ describe("loadEnabledBundlePiSettingsSnapshot", () => {

300300

expect(snapshot.hideThinkingBlock).toBe(true);

301301

expect(pluginMetadataSnapshotMocks.getCurrentPluginMetadataSnapshot).toHaveBeenCalledOnce();

302302

const [snapshotLookup] =

303-

pluginMetadataSnapshotMocks.getCurrentPluginMetadataSnapshot.mock.calls[0] ?? [];

303+

pluginMetadataSnapshotMocks.getCurrentPluginMetadataSnapshot.mock.calls.at(0) ?? [];

304304

expect(snapshotLookup?.config?.plugins?.load).toEqual({

305305

paths: ["/tmp/changed-plugin-root"],

306306

});

Original file line numberDiff line numberDiff line change

@@ -226,7 +226,7 @@ describe("after_tool_call fires exactly once in embedded runs", () => {

226226
227227

expect(hookMocks.runner.runAfterToolCall).toHaveBeenCalledTimes(1);

228228
229-

const call = (hookMocks.runner.runAfterToolCall as ReturnType<typeof vi.fn>).mock.calls[0];

229+

const call = (hookMocks.runner.runAfterToolCall as ReturnType<typeof vi.fn>).mock.calls.at(0);

230230

const event = call?.[0] as { error?: unknown } | undefined;

231231

expect(event?.error).toBe("tool failed");

232232

});

Original file line numberDiff line numberDiff line change

@@ -450,7 +450,7 @@ describe("createOpenClawCodingTools", () => {

450450
451451

expect(createOpenClawToolsMock).not.toHaveBeenCalled();

452452

expect(resolvePluginToolsSpy).toHaveBeenCalledTimes(1);

453-

const pluginToolOptions = resolvePluginToolsSpy.mock.calls[0]?.[0].options;

453+

const pluginToolOptions = resolvePluginToolsSpy.mock.calls.at(0)?.[0].options;

454454

expect(pluginToolOptions?.modelProvider).toBe("openrouter");

455455

expect(pluginToolOptions?.modelId).toBe("openrouter/auto");

456456

} finally {

Original file line numberDiff line numberDiff line change

@@ -428,7 +428,7 @@ describe("normalizeToolParameters", () => {

428428

);

429429
430430

expect(streamCalls).toBe(2);

431-

const executeCall = execute.mock.calls[0];

431+

const executeCall = execute.mock.calls.at(0);

432432

expect(executeCall?.[0]).toBe("call-null-args");

433433

expect(executeCall?.[1]).toEqual({});

434434

expect(executeCall?.[2]).toBeUndefined();

Original file line numberDiff line numberDiff line change

@@ -25,7 +25,7 @@ describe("AgentRuntimePlan tool diagnostics legacy fallback", () => {

2525

});

2626
2727

expect(mocks.logProviderToolSchemaDiagnostics).toHaveBeenCalledTimes(1);

28-

expect(mocks.logProviderToolSchemaDiagnostics.mock.calls[0]?.[0]).toEqual({

28+

expect(mocks.logProviderToolSchemaDiagnostics.mock.calls.at(0)?.[0]).toEqual({

2929

tools,

3030

provider: "openai",

3131

config: undefined,