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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
L
LangChain Blog
Y
Y Combinator Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
博客园 - Franky
V
Visual Studio Blog
小众软件
小众软件
月光博客
月光博客
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina 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: tighten subagent control assertions · openclaw/open...
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -262,11 +262,9 @@ describe("sendControlledSubagentMessage", () => {

262262

message: "continue",

263263

});

264264265-

expect(result).toEqual({

266-

status: "error",

267-

runId: expect.any(String),

268-

error: "gateway unavailable",

269-

});

265+

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

266+

expect(typeof result.runId).toBe("string");

267+

expect(result.error).toBe("gateway unavailable");

270268

});

271269272270

it("does not send to a newer live run when the caller passes a stale run entry", async () => {

@@ -557,12 +555,10 @@ describe("killSubagentRunAdmin", () => {

557555

sessionKey: childSessionKey,

558556

});

559557560-

expect(result).toMatchObject({

561-

found: true,

562-

killed: true,

563-

runId: "run-worker",

564-

sessionKey: childSessionKey,

565-

});

558+

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

559+

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

560+

expect(result.runId).toBe("run-worker");

561+

expect(result.sessionKey).toBe(childSessionKey);

566562

expect(getSubagentRunByChildSessionKey(childSessionKey)?.endedAt).toBeTypeOf("number");

567563

});

568564

@@ -608,12 +604,10 @@ describe("killSubagentRunAdmin", () => {

608604

sessionKey: childSessionKey,

609605

});

610606611-

expect(result).toMatchObject({

612-

found: true,

613-

killed: false,

614-

runId: "run-current-admin",

615-

sessionKey: childSessionKey,

616-

});

607+

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

608+

expect(result.killed).toBe(false);

609+

expect(result.runId).toBe("run-current-admin");

610+

expect(result.sessionKey).toBe(childSessionKey);

617611

});

618612619613

it("still terminates the run when session store persistence fails during kill", async () => {

@@ -648,12 +642,10 @@ describe("killSubagentRunAdmin", () => {

648642

sessionKey: childSessionKey,

649643

});

650644651-

expect(result).toMatchObject({

652-

found: true,

653-

killed: true,

654-

runId: "run-worker-store-fail",

655-

sessionKey: childSessionKey,

656-

});

645+

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

646+

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

647+

expect(result.runId).toBe("run-worker-store-fail");

648+

expect(result.sessionKey).toBe(childSessionKey);

657649

expect(getSubagentRunByChildSessionKey(childSessionKey)?.endedAt).toBeTypeOf("number");

658650

});

659651

});

@@ -1232,10 +1224,9 @@ describe("steerControlledSubagentRun", () => {

12321224

sessionId: undefined,

12331225

error: "failed to replace steered subagent run",

12341226

});

1235-

expect(getSubagentRunByChildSessionKey("agent:main:subagent:steer-worker")).toMatchObject({

1236-

runId: "run-steer-old",

1237-

suppressAnnounceReason: undefined,

1238-

});

1227+

const storedRun = getSubagentRunByChildSessionKey("agent:main:subagent:steer-worker");

1228+

expect(storedRun?.runId).toBe("run-steer-old");

1229+

expect(storedRun?.suppressAnnounceReason).toBeUndefined();

12391230

} finally {

12401231

replaceSpy.mockRestore();

12411232

}