Skip to content

fix(agents): finished subagent results dropped when a grandchild's delivery stays pending - #165987

Merged
obviyus merged 4 commits into
openclaw:mainfrom
Oldrich333:fix/settle-wake-deliver-after-descendant-wait
Oct 9, 2026
Merged

obviyus merged 4 commits into
openclaw:mainfrom
Oldrich333:fix/settle-wake-deliver-after-descendant-wait

Conversation

@Oldrich333

@Oldrich333 Oldrich333 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Agent-written on behalf of @Oldrich333 · agent: hive-admin/executor · model: anthropic/claude-opus-5-5 · origin: agent-initiated

Related to #138632; fixes its exhausted-descendant-wait result loss. Native recovery from provider limits is separate.

What Problem This Solves

Fixes: finished subagent results are dropped (requester settle wake deferred too many times) when a descendant below one of the children is still delivering its own result after about five minutes.

User Impact

User impact: a requester that spawned (and usually yielded on) several subagents gets their results even when a grandchild's delivery is stuck — for example because its parent child hit a provider session limit, or is running a sessions_send follow-up turn. Before, every finished child of the batch was marked failed and the requester was never woken. The forced wake tells the requester a descendant result was still undelivered and that a child may report again separately.

Why This Change Was Made

deferBatch counts a deferral toward REQUESTER_SETTLE_WAKE_MAX_DEFERRALS while descendants are unsettled (ended, no cleanupCompletedAt, delivery not terminal) and none is active. That state is legitimate and can outlast 10 × 30 s: a grandchild still delivering into a child whose run died on a provider limit, or into a child running a follow-up turn (not a registry run, so active === 0). At the cap the whole batch was completed as undelivered. Now the spent wait stops waiting and dispatches the drained batch through the normal delivery path (which keeps its own attempt and replay budget); every other deferBatch exit is unchanged. The wake message is built after the dispatch-time descendant check so it never claims the descendant tree settled when it did not.

Evidence

Production receipt on 2026.9.8 (ab2e926), persisted subagent_runs rows, ids redacted:

  • requester yielded on 5 children (completionTarget: "parent"); 4 ended ok 15:32–15:37Z.
  • a grandchild (child of child 5) ended 15:50:53Z; child 5's run ended 15:52:18Z with You've hit your session limit; the grandchild's delivery stayed pending until 16:21:49Z.
  • from 15:52:18Z: unsettled, active 0 → 9 counted deferrals → all 5 rows delivery.status: failed, lastError: requester settle wake deferred too many times at 15:56:49Z; requester only noticed via a heartbeat an hour later.
  • recurrence 17:41Z: grandchild pending while child 5 ran a sessions_send follow-up → 2 more rows failed the same way.

Tests:

  • subagent-announce.requester-settle-wake.test.ts: "keeps active overlap pending and stops waiting on a stale settle blocker" (was: caps → undelivered) now expects one dispatch at the cap with the unsettled-descendant wording; new "delivers a yielded batch whose grandchild delivery never settles" (frozen 2-child yield batch, unsettled + active 0 for 10 rounds → one dispatch with both children, no "settled, including its descendants"). Both fail on main, pass here. pnpm test <file> --maxWorkers=1: 31.7 s cold / 12.0 s warm (32 tests). CI duration: unavailable.
  • subagent-registry.requester-wake-settlement.test-support.ts (product flow, real registry, run by subagent-registry.requester-wake.e2e.test.ts): the stale-blocker case now delivers once with the new wording instead of completing undelivered (35/35 locally). CI duration: unavailable.
  • Also run: the whole announce + requester-registry family (31 files, 523 tests), src/gateway/server.startup-recovery-webchat.test.ts; tsgo core + agents-sessions test project 0 errors; oxfmt --check / oxlint clean on changed files.
  • Gap closed: production after-fix receipt below (patched 2026.9.8 build); see the isolated Gateway before/after proof below.

Real behavior proof (after fix, production)

Same 5 gateways (Linux host, npm global install, systemd units), 2026.9.8 + this PR's change as a local patch (head 07dd2d5df4 backported to the dist chunk), live since 2026-10-06 09:55Z. Window 2026-10-06 09:55Z → 2026-10-07 05:30Z.

Before (same gateways, unpatched, 2026-10-05 15:00Z → 2026-10-06 09:55Z, ~19 h): 14 batches / 24 child runs on 2 gateways persisted with lastError: requester settle wake deferred too many times; every finished child marked failed, no requester wake.

After:

  • the cap path ran 21 times (4 gateways): requester settle wake stopped waiting for unsettled descendants after 10 deferrals; delivering the drained batch.
  • after (~19.6 h): 0 rows with deferred too many times; 0 gateway log lines with it.
  • example, requester = an agent session that had spawned a reviewer/probe batch (ids redacted):
10:00:53.731Z requester settle wake stopped waiting for unsettled descendants after 10 deferrals; delivering the drained batch
10:00:56.852Z requester session receives completion turn:
  [Subagent Context] Every subagent in this batch has ended, but a descendant result below it was still undelivered when waiting stopped; a child that later receives it may report again in a separate completion.
  ...
  Child completion results: 1. ... status: ok ...
10:01:00.445Z requester replies (internal): processes the late results, no further work
  • one cap dispatch hit SESSION_WORK_START_CHANGED on attempt 1 (requester session restarting) and went through the normal 30 s retry path, as designed: the forced batch uses the ordinary delivery budget.
  • not covered by this PR, seen in the same window: Subagent announce give up (expiry) when the requester itself cannot run a turn (provider weekly limit) for 30 min — separate path.

Maintainer repair and isolated Gateway proof

Retain the existing spent deferral count through dispatch, known-undelivered retry, ambiguous replay, and restored wake state. Active work still blocks dispatch, but does not recharge an already spent wait. No transcript rewrites, session-custody changes, schema changes, or migrations.

The intended bug fix is to release completed results at the inactive-descendant cap, with an honest pending-descendant notice; it does not claim the descendant settled. This changes the old terminal-failure outcome introduced by #124408, while preserving active-work and cancellation gates.

On main 0e8afcde281b3a79b27f9b20d5fbca6d1689b162, a built, isolated Gateway ran parent → child → grandchild through sessions_spawn (the normal deferred tool_call surface). The parent yielded, the child finished, the grandchild finished after 20 seconds, and a mock provider held the child's delivery continuation for 420 seconds. Real wall time; no clock changes or injected registry/session state. At 02:40:42 UTC the parent received only Subagent completion delivery is blocked: requester settle wake deferred too many times, without its child's finished result.

On 3572962ef89c9d4e85c76f02b9037a1c9c55c703, the same flow delivered CHILD_FINISHED_RESULT_165987 to the parent at 02:56:16 UTC while the descendant continuation was still pending. The completion included the pending-descendant notice, and the parent replied PARENT_RECEIVED_RESULT_165987.

Focused regression suite: 34 passed, 6.86 seconds wrapper wall time (3.42 seconds Vitest). The two new retry/restore cases both fail against the unmodified contributor implementation: after the ordinary 30-second retry deadline, delivery remains deferred instead of succeeding. They pass with the repair. Canonical pnpm tsgo, full build, and changed-file formatting passed. Hosted CI timing is pending. One real gpt-5-mini call with low reasoning and a 4096-token output budget returned LIVE_GATE_165987_OK through the built agent CLI.

No overlap with Pash/Sarah changes. Contributor credit: @Oldrich333; the linked report and contributor production receipts remain above.

Merge danger: two-way door; reverting restores the previous completion policy without a schema migration or rewriting historical sessions. Blast radius is requester completion batches whose ended descendants remain undelivered past the wait budget; incorrect retry handling could delay or duplicate their continuation.

@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S labels Oct 6, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 6, 2026
@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

The PR delivers finished subagent batches after the inactive-descendant wait expires, explains that descendant delivery remains pending, and preserves the spent wait across retries.

Example: A parent yields while a grandchild’s delivery continuation remains pending.

  • Before: The parent receives “Subagent completion delivery is blocked: requester settle wake deferred too many times” without the finished child result.
  • After: The parent receives CHILD_FINISHED_RESULT_165987 with a pending-descendant notice and replies PARENT_RECEIVED_RESULT_165987.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong Gateway proof and a clean retry repair support this deliberately partial solution to the broader linked report.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Contributor production logs show completed findings reaching the requester after the cap, and the exact-head built Gateway scenario delivers CHILD_FINISHED_RESULT_165987 through real spawn, yield, settlement, and requester dispatch while descendant continuation remains pending. Existing deferralCount storage and its unchanged codec establish a compatible no-migration case.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Partial
User problem: A parent never receives finished delegated results when a grandchild’s result delivery remains pending beyond the wait budget.
Reason: Returning completed work is valuable and the repair remains in its existing owner. The PR intentionally addresses the linked report’s cutoff failure rather than its separate native-recovery request; established area-maintainer repair supports the chosen direction.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main still discards finished results at the descendant-wait cap. The earlier retry finding is resolved, and no remaining actionable code defect was found.

Priority: P1
Reviewed head: 3572962ef89c9d4e85c76f02b9037a1c9c55c703

Before merge

None.

Findings

None.

Agent review details

How this fits together

Subagents return delegated work to the parent agent through a durable completion batch. The settlement owner waits for related work, then resumes the parent with retained results through the existing Gateway delivery path.

flowchart TD
  A[Finished child results] --> B[Durable completion batch]
  B --> C[Check related descendants]
  C --> D{Active work remains?}
  D -->|Yes| E[Keep batch pending]
  D -->|No| F{Descendant wait spent?}
  F -->|Still waiting| E
  F -->|Spent or fully settled| G[Resume parent with results]
  G --> H[Retain ordinary delivery retry policy]
Loading

Technical review

Best possible solution:

Keep completion delivery in the existing settlement owner, retain its spent wait through retries, and describe the inactive-descendant exception in the announcement guide.

Do we have a high-confidence way to reproduce the issue?

Yes: current-main source still terminalizes the batch at ten inactive-descendant deferrals, and the supplied baseline Gateway run demonstrates the lost result. This read-only review did not execute a reproduction.

Is this the best way to solve the issue?

Yes: the repair uses the existing completion owner and ordinary retry budgets, preserves active-work and cancellation gates, and avoids a parallel recovery mechanism.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against ae64a98a4eb1.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit d919bfb adds src/agents/subagents/announce/subagent-announce.requester-settle-message.ts:39 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d919bfbb4d89; files: src/agents/subagents/announce/subagent-announce.requester-settle-message.ts)
  • Peter Steinberger: Raw commit 45d63c1 adds src/agents/subagents/announce/subagent-announce.requester-settle-state.ts:81 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 45d63c197da0; files: src/agents/subagents/announce/subagent-announce.requester-settle-state.ts)

PR surface

Source +26, Tests +108. Total +134 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 52 26 +26
Tests 2 122 14 +108
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 174 40 +134

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #138632
Summary: This PR repairs the canonical report’s exhausted-descendant-wait result loss, while broader native recovery remains outside its scope.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove merge-risk: 🚨 message-delivery: Current PR review merge-risk labels are merge-risk: 🚨 compatibility.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: Production receipts show completed delegated work failing to resume its parent across multiple Gateways.
  • merge-risk: 🚨 compatibility: The accepted settlement change replaces terminal failure with parent continuation while a descendant result remains pending and may arrive separately.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (4 earlier review cycles)
  • reviewed 2026-10-06T07:31:32.740Z sha 07dd2d5df445ed06f8e5375ce978c94f7c11167a :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-06T07:38:58.169Z sha 07dd2d5df445ed06f8e5375ce978c94f7c11167a :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-07T05:43:24.667Z sha 07dd2d5df445ed06f8e5375ce978c94f7c11167a :: needs changes before merge. :: none
  • reviewed 2026-10-08T03:40:00.310Z sha ca0df48 :: blocked before merge. :: [P2] Preserve the spent descendant wait across delivery retries

Reviewed October 8, 2026, 11:08 PM ET / October 9, 2026, 03:08 UTC (Revision 5).

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 7, 2026
…ant wait is spent

An ended descendant whose own completion delivery never settles (its parent
run died on a provider limit, or runs as a followup outside the registry)
kept the requester's frozen batch deferring with no active descendant. After
REQUESTER_SETTLE_WAKE_MAX_DEFERRALS the batch was terminalized as undelivered,
dropping every completed result (openclaw#138632). Stop waiting and dispatch the
drained batch instead.
The wake message is now built after the dispatch-time descendant check; a
batch delivered after its descendant wait was spent says a descendant result
was still undelivered and that a child may report again separately.
@Oldrich333
Oldrich333 force-pushed the fix/settle-wake-deliver-after-descendant-wait branch from 07dd2d5 to ca0df48 Compare October 8, 2026 03:32
@Oldrich333

Copy link
Copy Markdown
Contributor Author

Agent-written on behalf of @Oldrich333 · agent: hive-admin/executor · model: anthropic/claude-opus-5-5 · origin: agent-initiated

Rebased onto main 8204e91. New head: ca0df481df.

Conflict: one, in subagent-announce.requester-settle-wake.ts.

  • main now calls failBatch(state, "requester settle wake deferred too many times") at the cap. This PR replaces that line: it delivers the drained batch.
  • main dropped the inner if (frozen) guard, which was redundant because unfrozen waves return earlier. The combined condition hasUnsettledDescendants && !(await deferBatch()) keeps that.
  • git range-diff shows context changes only; the patch content is unchanged.
  • Main's requester-preparation and progress-delivery changes are kept. The wake message is still built after the dispatch-site descendant check.

Tests on the new head:

  • All non-e2e test files in src/agents/subagents/announce + src/agents/subagents/registry: 1060 passed, 1 skipped (subagent-entry-reload.benchmark), 5 shards.
  • subagent-registry.requester-wake.e2e.test.ts: 35/35. It ran as a temporary non-e2e copy because the local e2e prepare fence refuses on this host.
  • run-tsgo -p tsconfig.core.json and -p test/tsconfig/tsconfig.core.test.agents-sessions.json: clean.
  • oxfmt --check and oxlint on the changed files: clean.
  • Control run: with the two source files reset to main, the 2 new or changed settle-wake tests fail.

@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 8, 2026
@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 9, 2026
@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Exact head 3572962ef89c9d4e85c76f02b9037a1c9c55c703 has ClawSweeper state ready, with zero findings. CI run https://github.com/openclaw/openclaw/actions/runs/37877403181 is red; no jobs were cancelled.

  • check-guards-architecture: the existing Madge cycle prepared-model-catalog-fingerprints.ts → prepared-model-catalog-worker.ts from 811d442afa2c1103ed10f33f3b64fb1afa7675f8. The identical cycle fails locally on this head and with all five PR files reverted to merged main b0c330d27df. This PR changes no imports in that graph.
  • check-lint: scripts/e2e/lib/upgrade-survivor/package-activation-fault.mjs has two hosted typescript/unbound-method errors. This file has identical blob f4323a1cd28f296892356a03cf6938dcdbd5978d at the PR head and merged-main baseline. A focused local replay fails identically on both with two unused suppression diagnostics at those same method captures (not an exact diagnostic match to hosted CI). The requester settlement changes cannot affect this standalone released-updater fixture or its lint configuration.
  • checks-node-changed-5: subagent-registry.requester-wake.e2e.test.ts / “resumes a persisted requester cohort after database startup inspection finishes” throws AgentDatabaseAdmissionError: Startup inspection has not finished. The full file passes 35/35 locally at both head and revert baseline (75.70 s and 61.87 s). The failing case injects a startup refusal and gates the wake with assertAgentDatabaseAdmitted before invoking the changed settlement owner; its database-admission/read-worker stack is unchanged. The separate stale-descendant case passes in hosted CI.
  • openclaw/ci-gate is consequently failed.

No hosted jobs were rerun, and no unrelated CI code was changed. The built Gateway before/after proof, retry negative controls, canonical tsgo, full build, and real gpt-5-mini smoke are recorded in the PR description. Paused for the maintainer's CI disposition.

@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Follow-up on checks-node-changed-5: reproduced the same startup-inspection failure on both the CI merge candidate and a five-file revert baseline.

  • Candidate: CI's actual merge 6b59585c57ff7f51b5a1124cc3b94f2b93cc3d38, containing PR head 3572962ef89c9d4e85c76f02b9037a1c9c55c703 merged into main ae64a98a4eb1bc45765290f5b9988c75ce7eb8ca.
  • Baseline: that same merge source, replacing all five PR files with their ae64a98a4eb1bc45765290f5b9988c75ce7eb8ca versions and rebuilding qaRuntime.
  • Both run the complete eight-file CI shard plan with CI=1, Node 24.21.0 x64, pinned OpenClaw Bun 1.4.3 / 42bd1d282, OPENCLAW_CI_TEST_RUNTIME_POLICY=bun-compatible, OPENCLAW_E2E_USE_PREBUILT_DIST=1, two Vitest workers, 8192 MiB Node heap, and CI's cache/plan controls. The ordinary minimal test-state setup is retained and appears in both failure paths. Both use CI's fail-fast setting (OPENCLAW_NODE_TEST_PLAN_CONTINUE_ON_FAILURE=0). Only host-specific workspace/tool/cache locations are remapped into the isolated Linux amd64 container (x64 emulation on an arm64 host).

Build command on each source:

CI=1 OPENCLAW_BUILD_PRIVATE_QA=1 VITEST=1 NODE_OPTIONS=--max-old-space-size=8192 pnpm build qaRuntime

Test command on each source, with the captured CI shard environment:

time -p node --import tsx scripts/ci-run-node-test-shard.mts

Both reach subagent-registry.requester-wake.e2e.test.ts and report 34 passed / 1 failed. The identical failure is “resumes a persisted requester cohort after database startup inspection finishes”, throwing AgentDatabaseAdmissionError: Startup inspection has not finished from assertAgentDatabaseAdmitted at src/state/agent-database-admission.ts:421, through the session transcript read worker. The preceding four test files pass on both; CI fail-fast stops the remaining three planned files on both.

This supersedes the earlier weaker 35/35 non-CI replay evidence. The startup-inspection failure is reproducibly inherited on the actual CI base; no PR source changes or pushes were made for this investigation.

@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Maintainer override: every red job is inherited, with evidence below.

ClawSweeper is ready on this exact head, and the built-Gateway parent → child → grandchild proof is in the PR.

@obviyus
obviyus merged commit e6c5f72 into openclaw:main Oct 9, 2026
185 of 196 checks passed
@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Landed in e6c5f72. Thanks @Oldrich333! Verified on a built Gateway with a real parent → child → grandchild run: the child's finished result now reaches the parent while the grandchild is still pending (main dropped it after ten deferrals).

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 9, 2026
…livery stays pending (openclaw#165987)

Deliver a finished subagent's result to its requester even while a grandchild's delivery is still pending, instead of dropping it after the settle-wake deferral limit ("requester settle wake deferred too many times").

Fixes openclaw#138632.

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa pushed a commit that referenced this pull request Oct 10, 2026
…livery stays pending (#165987)

Deliver a finished subagent's result to its requester even while a grandchild's delivery is still pending, instead of dropping it after the settle-wake deferral limit ("requester settle wake deferred too many times").

Fixes #138632.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit e6c5f72)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants