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

推荐订阅源

H
Help Net Security
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
博客园_首页
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
B
Blog
D
DataBreaches.Net
腾讯CDC
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
月光博客
月光博客
V
V2EX
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
The Cloudflare Blog
博客园 - 叶小钗
Y
Y Combinator Blog

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

@@ -234,7 +234,7 @@ describe("subagent-announce-queue", () => {

234234

parentBusy = false;

235235

await vi.advanceTimersByTimeAsync(250);

236236

expect(send).toHaveBeenCalledTimes(1);

237-

expect(send.mock.calls[0]?.[0]?.prompt).toBe("child completed");

237+

expect(send.mock.calls.at(0)?.[0]?.prompt).toBe("child completed");

238238

});

239239
240240

it("preserves an existing defer hook when the same queue is reused without one", async () => {

@@ -328,7 +328,7 @@ describe("subagent-announce-queue", () => {

328328
329329

await vi.advanceTimersByTimeAsync(1);

330330

expect(send).toHaveBeenCalledTimes(1);

331-

expect(send.mock.calls[0]?.[0]?.prompt).toBe("child completed after stale busy state");

331+

expect(send.mock.calls.at(0)?.[0]?.prompt).toBe("child completed after stale busy state");

332332

});

333333
334334

it("uses debounce floor for retries when debounce exceeds backoff", async () => {

Original file line numberDiff line numberDiff line change

@@ -215,7 +215,7 @@ describe("spawnSubagentDirect seam flow", () => {

215215

const childSessionKey = result.childSessionKey as string;

216216

expect(hoisted.pruneLegacyStoreKeysMock).toHaveBeenCalledTimes(3);

217217

expect(hoisted.updateSessionStoreMock).toHaveBeenCalledTimes(3);

218-

const registerInput = requireRecord(hoisted.registerSubagentRunMock.mock.calls[0]?.[0]);

218+

const registerInput = requireRecord(hoisted.registerSubagentRunMock.mock.calls.at(0)?.[0]);

219219

const requesterOrigin = requireRecord(registerInput.requesterOrigin);

220220

expect(registerInput.runId).toBe("run-1");

221221

expect(registerInput.childSessionKey).toBe(childSessionKey);

@@ -281,7 +281,7 @@ describe("spawnSubagentDirect seam flow", () => {

281281

);

282282
283283

expect(result.status).toBe("accepted");

284-

const registerInput = requireRecord(hoisted.registerSubagentRunMock.mock.calls[0]?.[0]);

284+

const registerInput = requireRecord(hoisted.registerSubagentRunMock.mock.calls.at(0)?.[0]);

285285

const requesterOrigin = requireRecord(registerInput.requesterOrigin);

286286

expect(requesterOrigin.channel).toBe("discord");

287287

expect(requesterOrigin.accountId).toBe("acct-1");

Original file line numberDiff line numberDiff line change

@@ -161,7 +161,7 @@ describe("spawnSubagentDirect thread binding delivery", () => {

161161

expect(agentCall?.params?.to).toBe(`room:${boundRoom}`);

162162

expect(agentCall?.params?.threadId).toBe("$thread-root");

163163

expect(agentCall?.params?.deliver).toBe(true);

164-

const registeredRun = hoisted.registerSubagentRunMock.mock.calls[0]?.[0] as

164+

const registeredRun = hoisted.registerSubagentRunMock.mock.calls.at(0)?.[0] as

165165

| {

166166

requesterOrigin?: { channel?: string; accountId?: string; to?: string };

167167

expectsCompletionMessage?: boolean;

@@ -222,7 +222,7 @@ describe("spawnSubagentDirect thread binding delivery", () => {

222222

expect(agentCall?.params?.accountId).toBe("sut");

223223

expect(agentCall?.params?.to).toBe("room:!parent:example");

224224

expect(agentCall?.params?.deliver).toBe(false);

225-

const registeredRun = hoisted.registerSubagentRunMock.mock.calls[0]?.[0] as

225+

const registeredRun = hoisted.registerSubagentRunMock.mock.calls.at(0)?.[0] as

226226

| {

227227

requesterOrigin?: { channel?: string; accountId?: string; to?: string };

228228

expectsCompletionMessage?: boolean;