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

推荐订阅源

J
Java Code Geeks
Martin Fowler
Martin Fowler
B
Blog RSS Feed
D
DataBreaches.Net
L
LangChain Blog
月光博客
月光博客
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
美团技术团队
Jina AI
Jina AI
博客园 - 司徒正美
雷峰网
雷峰网
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
小众软件
小众软件
罗磊的独立博客
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
About on SuperTechFans
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
fix: wake yielded parent after subagents finish (#97090) ...
galiniliev · 2026-06-27 · via Recent Commits to openclaw:main

@@ -3373,6 +3373,61 @@ describe("subagent registry seam flow", () => {

33733373

});

33743374

});

337533753376+

it("wakes a sessions_yield-paused parent when pending descendants settle", async () => {

3377+

mocks.loadSessionStore.mockReturnValue({

3378+

"agent:main:subagent:parent": {

3379+

sessionId: "sess-parent",

3380+

updatedAt: 1,

3381+

},

3382+

"agent:main:subagent:child": {

3383+

sessionId: "sess-child",

3384+

updatedAt: 1,

3385+

},

3386+

});

3387+3388+

mod.addSubagentRunForTests({

3389+

runId: "run-yielded-parent",

3390+

childSessionKey: "agent:main:subagent:parent",

3391+

requesterSessionKey: "agent:main:main",

3392+

requesterDisplayKey: "main",

3393+

task: "yielded parent waiting on descendants",

3394+

cleanup: "keep",

3395+

createdAt: Date.parse("2026-06-26T02:17:00Z"),

3396+

startedAt: Date.parse("2026-06-26T02:18:00Z"),

3397+

endedAt: Date.parse("2026-06-26T02:19:00Z"),

3398+

pauseReason: "sessions_yield",

3399+

wakeOnDescendantSettle: true,

3400+

cleanupHandled: false,

3401+

cleanupCompletedAt: undefined,

3402+

});

3403+3404+

mod.registerSubagentRun({

3405+

runId: "run-yielded-child-finished",

3406+

childSessionKey: "agent:main:subagent:child",

3407+

requesterSessionKey: "agent:main:subagent:parent",

3408+

requesterDisplayKey: "parent",

3409+

task: "descendant settles after yield",

3410+

cleanup: "keep",

3411+

});

3412+3413+

await waitForFast(() => {

3414+

expect(mocks.runSubagentAnnounceFlow).toHaveBeenCalledTimes(2);

3415+

});

3416+

expectRecordFields(

3417+

getMockCallArg(mocks.runSubagentAnnounceFlow, 0, 0, "child finished announce"),

3418+

{ childRunId: "run-yielded-child-finished" },

3419+

"child finished announce params",

3420+

);

3421+

expectRecordFields(

3422+

getMockCallArg(mocks.runSubagentAnnounceFlow, 1, 0, "yielded parent wake announce"),

3423+

{

3424+

childRunId: "run-yielded-parent",

3425+

wakeOnDescendantSettle: true,

3426+

},

3427+

"yielded parent wake announce params",

3428+

);

3429+

});

3430+33763431

it("loads runtime plugins before emitting killed subagent ended hooks", async () => {

33773432

const endedHookRunner = {

33783433

hasHooks: (hookName: string) => hookName === "subagent_ended",