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

推荐订阅源

D
DataBreaches.Net
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
腾讯CDC
博客园 - Franky
Engineering at Meta
Engineering at Meta
C
Check Point Blog
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
Microsoft Azure Blog
Microsoft Azure Blog
MyScale Blog
MyScale Blog
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
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
test: tighten subagent assertions · openclaw/openclaw@8af...
steipete · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -336,7 +336,14 @@ describe("subagent registry archive behavior", () => {

336336
337337

expect(replaced).toBe(true);

338338

await vi.waitFor(async () => {

339-

await expect(fs.access(attachmentsDir)).rejects.toMatchObject({ code: "ENOENT" });

339+

let err: unknown;

340+

try {

341+

await fs.access(attachmentsDir);

342+

} catch (caught) {

343+

err = caught;

344+

}

345+

expect(err).toBeInstanceOf(Error);

346+

expect((err as NodeJS.ErrnoException).code).toBe("ENOENT");

340347

});

341348

});

342349
Original file line numberDiff line numberDiff line change

@@ -205,18 +205,14 @@ describe("subagent registry persistence resume", () => {

205205

outcome?: { status?: string };

206206

}

207207

| undefined;

208-

expect(announce).toMatchObject({

209-

childRunId: "run-1",

210-

childSessionKey: "agent:main:subagent:test",

211-

requesterSessionKey: "agent:main:main",

212-

requesterOrigin: {

213-

channel: "whatsapp",

214-

accountId: "acct-main",

215-

},

216-

task: "do the thing",

217-

cleanup: "keep",

218-

outcome: { status: "ok" },

219-

});

208+

expect(announce?.childRunId).toBe("run-1");

209+

expect(announce?.childSessionKey).toBe("agent:main:subagent:test");

210+

expect(announce?.requesterSessionKey).toBe("agent:main:main");

211+

expect(announce?.requesterOrigin?.channel).toBe("whatsapp");

212+

expect(announce?.requesterOrigin?.accountId).toBe("acct-main");

213+

expect(announce?.task).toBe("do the thing");

214+

expect(announce?.cleanup).toBe("keep");

215+

expect(announce?.outcome?.status).toBe("ok");

220216
221217

const restored = mod.listSubagentRunsForRequester("agent:main:main")[0];

222218

expect(restored?.childSessionKey).toBe("agent:main:subagent:test");

Original file line numberDiff line numberDiff line change

@@ -216,10 +216,15 @@ describe("spawnSubagentDirect filename validation", () => {

216216

: [];

217217

expect(retainedDirs).toHaveLength(0);

218218

const deleteCall = calls.find((entry) => entry.method === "sessions.delete");

219-

expect(deleteCall?.params).toMatchObject({

220-

key: expect.stringMatching(/^agent:main:subagent:/),

221-

deleteTranscript: true,

222-

emitLifecycleHooks: false,

223-

});

219+

const deleteParams = deleteCall?.params as

220+

| {

221+

key?: string;

222+

deleteTranscript?: boolean;

223+

emitLifecycleHooks?: boolean;

224+

}

225+

| undefined;

226+

expect(deleteParams?.key).toMatch(/^agent:main:subagent:/);

227+

expect(deleteParams?.deleteTranscript).toBe(true);

228+

expect(deleteParams?.emitLifecycleHooks).toBe(false);

224229

});

225230

});

Original file line numberDiff line numberDiff line change

@@ -79,10 +79,8 @@ describe("spawnSubagentDirect runtime model persistence", () => {

7979

},

8080

);

8181
82-

expect(result).toMatchObject({

83-

status: "accepted",

84-

modelApplied: true,

85-

});

82+

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

83+

expect(result.modelApplied).toBe(true);

8684

expect(updateSessionStoreMock).toHaveBeenCalledTimes(3);

8785

expectPersistedRuntimeModel({

8886

persistedStore,