Skip to content

fix(mcp): cleanup fails when a retired relay stalls - #150306

Merged
steipete merged 4 commits into
mainfrom
upd/flake-cua-proxy-cleanup-deadline
Sep 17, 2026
Merged

steipete merged 4 commits into
mainfrom
upd/flake-cua-proxy-cleanup-deadline

Conversation

@steipete

@steipete steipete commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Related: #150236

What Problem This Solves

Fixes CUA MCP cleanup reporting an unavailable driver when its anchor or relay remains alive after the closing receipt and pipe closure.

User Impact

Confirmed forced cleanup completes normally and preserves the observed exit and any signal-delivery errors. A fresh driver execution can connect afterward. Unconfirmed cleanup still fails with timings and missing closure facts. Runtime deadlines and configuration remain unchanged.

Why This Change Was Made

The original escalation gate required server-group disappearance before permitting escalation. The owner now retains pending force requests and admits them once the matching closing receipt and control/output/lineage closures are confirmed. A live anchor is killed and reaped through its relay before the host retires the retained relay handle. When the group is already absent, the host can terminate an unresponsive relay directly. Actual relay exit and group disappearance must still be confirmed within the original hard deadline.

The later shared-worker failure came from the shell-test fixture. Whole-module autospy of node:child_process mutated native ChildProcess.prototype methods, and those autospies survived restoreAllMocks(). The cleanup fixture bound the inherited kill spy, then replaced that same spy's implementation with a call to its bound self. Subsequent fault injection also changed the inherited method for later children, preventing teardown signals. The follow-up mocks only spawnSync, preserving its native implementation and call tracking without instrumenting native child prototypes. All cleanup assertions and deadlines remain unchanged.

Evidence

Missing-escalation recurrence on a582ee541ab: all closing/pipe facts were confirmed, with relay exit and extinction outstanding at 5002.394261 ms and escalationAfterMs: undefined. A real held-anchor regression reproduced this before the owner repair (5000.049541 ms, no escalation). The repaired persistent-group and closure-ordering cases subsequently passed 60/60 executions under CPU/IO load.

Shared-worker recurrence on 6bf8e39091a: 4 failed / 1,925 passed, including two 180-second teardown timeouts. The reported-failure fixture recursively called its kill spy; cleanup expired at 5000.191654 ms, after escalation at 3995.210801 ms.

Local standalone proof passed 6/6 before the fixture repair. Replaying the captured packed plan reproduced the shared-worker failure:

accepted signal case: passed, 4488 ms
reported-failure case: failed, 5256 ms
unavailable: proxy cleanup could not be confirmed
Maximum call stack size exceeded

The stack alternated between the forwarding callback at mcp-stdio-client.cleanup.real.test.ts:134 and Vitest's ChildProcess.kill spy. A separate probe of the installed Vitest implementation confirmed that the prototype spy survives restoration and reproduces this recursion.

Proof at 12359e02849104b5bbbf81b0dddb22836e00a063 (macOS, Node 24.21.0):

  • 5/5 standalone runs: 30/30 cleanup tests passed.
  • 5/5 complete affected-group replays: each ran all 105 files in exactly the recorded hosted order, with 1,933 passed and two existing platform skips. The captured 161-pattern selection, canonical agent-core config, hosted worker cap, and assertions were preserved. An ignored local proof config overrides only file ordering, preventing cached sequencing from moving cleanup before shell-utils.
  • node scripts/check-changed.mjs: passed, including formatting, core/test typechecking, lint, line-cap ratchets, all three dead-export scans, and repository guards.
  • Codex autoreview (--mode branch --base origin/main --max-priority P1): scoped-clean, no accepted/actionable P0/P1 findings.

A complete packed-job replay before the final rebase also passed 5,202 tests, two skipped. Interrupted capacity probes and repetitions that did not preserve the original order are excluded from the counts above; their artifacts were retained.

Publication head: 6507e49540f36222174d72f53a02f754dff3f1c2. The final rebase onto 6be890529a957873878536b5edf2f70a2e1f3ae4 kept all four patches identical (git range-diff reports = for each), and every PR file and review-context file remained byte-identical. Script files match that main anchor, pnpm install --frozen-lockfile passed, and the ordered shell/cleanup boundary check on the publication head passed 42 tests, one skip.

This follow-up changes production 0 lines; tests +5/-1 (net +4). The service-child cleanup owner is unchanged by the fixture repair.

@clawsweeper

clawsweeper Bot commented Sep 16, 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 docs Improvements or additions to documentation agents Agent runtime and tooling size: M maintainer Maintainer-authored PR labels Sep 16, 2026
@steipete
steipete marked this pull request as ready for review September 16, 2026 21:14
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Sep 16, 2026
@clawsweeper

clawsweeper Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 17, 2026, 12:47 AM ET / 04:47 UTC (Revision 10).

ClawSweeper review

What this changes

Repairs stalled MCP subprocess shutdown, exposes confirmed forced-cleanup diagnostics, and isolates shell-test mocks so real-process cleanup tests retain native termination behavior.

Merge readiness

✅ Ready for maintainer review

The repair remains necessary. The previous recursive-spy finding is addressed at its producer, and the recorded ordered replays support that correction. No remaining actionable patch defect was found.

Priority: P2
Reviewed head: 6507e49540f36222174d72f53a02f754dff3f1c2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful owner-level repair with strong native-process evidence and the previous fixture blocker resolved.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The captured evidence exercises the actual MCP client and native relay/anchor with injected stalls, observing forced exit, group disappearance, retained failures, and successful reconnection. Repeated ordered macOS runs support the fixture repair; publication parity is author-reported and this review performed no execution.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The captured evidence exercises the actual MCP client and native relay/anchor with injected stalls, observing forced exit, group disappearance, retained failures, and successful reconnection. Repeated ordered macOS runs support the fixture repair; publication parity is author-reported and this review performed no execution.
Evidence reviewed 9 items Pinned introduction and clean checkout: Reviewed the merge-base-to-head changes, excluding the activation-planner base-only changes. The checkout remained clean and the introduced diff passed whitespace checking.
Current main still needs escalation: Current main waits for relay exit during extinction confirmation and ignores cancellation after the closing receipt. It lacks this branch's retained force request and relay-retirement path. The merged busy-host repair at #150392 addresses queued completion, not stalled live relays.
Latest release lacks this repair: The supplied latest release v2026.9.4 contains relay-host blob 68b3b3a967f55e636c10b6bc8641837ea172ada1. Its cleanup path waits for relay exit and reports failure on timeout; it does not implement forced relay retirement.
Findings None None.
Security None None.

How this fits together

OpenClaw's MCP client exchanges requests with local server subprocesses. Its process supervisor uses an anchor and relay to shut down descendants and confirm cleanup before the client reports success.

flowchart TD
  A[MCP client shutdown] --> B[Process cleanup owner]
  B --> C{Receipt and pipes closed}
  C -->|Confirmed| D[Retire anchor through relay]
  C -->|Missing facts| G[Cleanup error]
  D --> E[Confirm relay exit and group absence]
  E -->|Confirmed| F[Successful shutdown and diagnostics]
  E -->|Deadline expires| G
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +248, Tests +302, Docs +10. Total +560 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 9 337 89 +248
Tests 3 347 45 +302
Docs 2 10 0 +10
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 694 134 +560

Review metrics

Metric Value Why it matters
Production versus test growth Production +337/-89; tests +347/-45 Production growth implements retained retirement and diagnostics, while regression coverage exercises native cleanup and closure ordering.

Technical review

Best possible solution:

Keep shutdown and escalation in the existing process owner, preserving confirmed extinction, permanent failure outcomes, and the original cleanup deadline.

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

Yes, source and the recorded held-anchor/relay cases establish a concrete trigger: shutdown receives closure facts while a cleanup process remains alive. This read-only review did not execute a current-main reproduction.

Is this the best way to solve the issue?

Yes. The patch repairs the existing cleanup owner and preserves its completion checks; narrowing the shell mock addresses the demonstrated shared-worker contamination without weakening cleanup assertions.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured evidence exercises the actual MCP client and native relay/anchor with injected stalls, observing forced exit, group disappearance, retained failures, and successful reconnection. Repeated ordered macOS runs support the fixture repair; publication parity is author-reported and this review performed no execution.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This repairs bounded MCP shutdown failures without evidence of an emergency or a broadly unusable runtime.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured evidence exercises the actual MCP client and native relay/anchor with injected stalls, observing forced exit, group disappearance, retained failures, and successful reconnection. Repeated ordered macOS runs support the fixture repair; publication parity is author-reported and this review performed no execution.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured evidence exercises the actual MCP client and native relay/anchor with injected stalls, observing forced exit, group disappearance, retained failures, and successful reconnection. Repeated ordered macOS runs support the fixture repair; publication parity is author-reported and this review performed no execution.

Evidence

What I checked:

  • Pinned introduction and clean checkout: Reviewed the merge-base-to-head changes, excluding the activation-planner base-only changes. The checkout remained clean and the introduced diff passed whitespace checking. (6507e49540f3)
  • Current main still needs escalation: Current main waits for relay exit during extinction confirmation and ignores cancellation after the closing receipt. It lacks this branch's retained force request and relay-retirement path. The merged busy-host repair at fix: avoid false update cleanup failures when the host is busy #150392 addresses queued completion, not stalled live relays. (src/process/supervisor/service-child-relay-host.ts, 947a7eb9a35e)
  • Latest release lacks this repair: The supplied latest release v2026.9.4 contains relay-host blob 68b3b3a967f55e636c10b6bc8641837ea172ada1. Its cleanup path waits for relay exit and reports failure on timeout; it does not implement forced relay retirement. (src/process/supervisor/service-child-relay-host.ts:337, 3a9d69db306c)
  • Cleanup authority remains bounded: Escalation requires closing state, closed control, lineage EOF, completed output, and time remaining in the original deadline. Signals target retained child handles; numeric process-group use remains observation-only. Terminal identity loss prevents later escalation, and successful cleanup still requires relay exit and group absence. (src/process/supervisor/service-child-relay-host.ts:334, 6507e49540f3)
  • Previous finding repaired: The earlier reviewed shell test used whole-module child_process autospy. The publication commit replaces it with a native-backed spawnSync mock. GitHub blob comparison also confirms the real cleanup fixture is unchanged from the previous review, preserving its assertions and fault scenarios. The unavailable local older-head comparison was supplemented with GitHub source reads. (src/agents/shell-utils.test.ts:19, 6507e49540f3)
  • Real process proof and re-review continuity: The captured PR body reports macOS/Node 24.21.0 execution through the actual MCP client, native relay, and anchor: 30/30 cleanup cases and five complete 105-file replays in the recorded hosted order. Scenarios cover retained and blocked relays, a live anchor, failed signal delivery, permanent timeout outcomes, and fresh-client recovery. The publication-head boundary check reports 42 passes and one skip. The pre-rebase proof commit 12359e02849104b5bbbf81b0dddb22836e00a063 is unavailable through GitHub, so byte parity remains the captured author's assertion. These ordered macOS replays support resolving the platform-independent mock defect; they are not described as completed Linux replays. No tests or embedded proof scripts were executed during this review. (src/agents/mcp-stdio-client.cleanup.real.test.ts:117, 6507e49540f3)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-16T21:56:25.353Z sha e9dac7f10e5389872df9a58af24ed77d53c13005 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T22:30:02.939Z sha ffe992224e287040ac94039a47e951772e55fae4 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T22:48:46.647Z sha a582ee5 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T00:07:29.713Z sha b17d64110d82f88bd374c667f927ddbe70022a93 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T01:10:05.403Z sha 08fed26c1d944c391bf7ba08dc9df3a1a885ca1d :: blocked before merge. :: none
  • reviewed 2026-09-17T01:18:17.771Z sha 08fed26c1d944c391bf7ba08dc9df3a1a885ca1d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T03:01:49.270Z sha 6bf8e39 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T03:17:08.304Z sha 6bf8e39 :: blocked before merge. :: [P2] Repair the recursive kill spy in the real cleanup fixture

@steipete
steipete force-pushed the upd/flake-cua-proxy-cleanup-deadline branch from 8159c61 to e9dac7f Compare September 16, 2026 21:49
steipete added a commit that referenced this pull request Sep 16, 2026
Apply the repository formatter to the two test conditions left unformatted by #135276 (33e8e3c), which broke check-docs formatting checks on unrelated PRs #150306 and #150312. This changes line wrapping only.
@steipete
steipete force-pushed the upd/flake-cua-proxy-cleanup-deadline branch 2 times, most recently from ffe9922 to a582ee5 Compare September 16, 2026 22:40
@steipete
steipete force-pushed the upd/flake-cua-proxy-cleanup-deadline branch from a582ee5 to b17d641 Compare September 17, 2026 00:00
@steipete
steipete force-pushed the upd/flake-cua-proxy-cleanup-deadline branch from b17d641 to 08fed26 Compare September 17, 2026 00:55
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Sep 17, 2026
@steipete
steipete force-pushed the upd/flake-cua-proxy-cleanup-deadline branch from 08fed26 to 6bf8e39 Compare September 17, 2026 02:48
steipete added a commit that referenced this pull request Sep 17, 2026
Admit forced retirement from closure facts instead of requiring prior group
extinction. Retain force requests across later closure events and recheck
routing within the existing cleanup deadline.

Let the relay kill and reap its owned anchor, then retire the retained relay
handle. Kernel-proven group absence still permits direct native termination
of an unresponsive relay. Confirm actual exit and group disappearance before
reporting cleanup complete; release IPC on terminal failure without reviving
a timed-out outcome.

Reproduce the missing-escalation failure with a real held anchor and keep the
existing deadline, failed-delivery, late-exit, and fresh-client contracts.

Related: #150306
@clawsweeper clawsweeper Bot added 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. labels Sep 17, 2026
@clawsweeper clawsweeper Bot 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 Sep 17, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
Apply the repository formatter to the two test conditions left unformatted by openclaw#135276 (18dcf28), which broke check-docs formatting checks on unrelated PRs openclaw#150306 and openclaw#150312. This changes line wrapping only.
Honor existing force requests after a closing receipt only when control,
output, lineage and kernel group-disappearance facts permit reclaiming the
retained direct relay. Confirm actual exit within the original hard deadline
and retain timing, signal-delivery errors and observed exit facts.

Keep stop() compatible and expose the optional cleanup result without
reviving a retired connection. Fresh driver executions remain available.

Related: #150236
Admit forced retirement from closure facts instead of requiring prior group
extinction. Retain force requests across later closure events and recheck
routing within the existing cleanup deadline.

Let the relay kill and reap its owned anchor, then retire the retained relay
handle. Kernel-proven group absence still permits direct native termination
of an unresponsive relay. Confirm actual exit and group disappearance before
reporting cleanup complete; release IPC on terminal failure without reviving
a timed-out outcome.

Reproduce the missing-escalation failure with a real held anchor and keep the
existing deadline, failed-delivery, late-exit, and fresh-client contracts.

Related: #150306
Replace the whole child_process autospy with a native-backed spawnSync mock. The broad autospy mutated ChildProcess.prototype across files, so the cleanup fixture reconfigured its captured kill spy into a recursive call and later prevented teardown signals.

Preserve the existing cleanup assertions and deadlines.

Related: #150306
@steipete
steipete force-pushed the upd/flake-cua-proxy-cleanup-deadline branch from 6bf8e39 to 6507e49 Compare September 17, 2026 04:39
@clawsweeper clawsweeper Bot added 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: 🦐 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. labels Sep 17, 2026
@steipete
steipete merged commit 10e5413 into main Sep 17, 2026
219 checks passed
@steipete
steipete deleted the upd/flake-cua-proxy-cleanup-deadline branch September 17, 2026 05:11
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

steipete added a commit that referenced this pull request Sep 17, 2026
Keep child cleanup and eager supervised-process failures visible to callers without letting unobserved rejections crash the Gateway. Publish the retained cleanup promise at the sole spawnServiceChildRelay creation site, join authority finalization and admitted tree signaling, and preserve retained-handle escalation, forced-exit diagnostics, output drainage, and cleanup deadlines. Uncertain extinction remains a failure.

Include redacted error stacks in Gateway stability bundles, bounded to 8,000 UTF-16 code units; older bundles without stacks remain readable. No configuration, CLI option, dependency, schema version, or installed update-driver behavior changes. The runtime repair takes effect when the candidate Gateway starts.

Related: #144911, #144941. Preserve integration with #150306, #150392, and #150564. The earlier MCP field-crash path is separately contained by #144941; this change closes remaining unobserved-promise paths.

Thanks to @itanyplus, @waynegault, @chachi-max, and @kip-claw for the reports and field evidence.

Validation: exact-head CI run 35208176360 is green. Recorded focused proof: 395 tests passed and 6 skipped, followed by 64 passing spawn-broker tests; check:changed passed. Codex review is scoped-clean through P1 on a patch-identical revision, and ClawSweeper reports no findings on the landed head. Prior macOS Gateway probes predate final broker integration and do not claim a Linux/systemd field-crash reproduction.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 18, 2026
Service-child cleanup could report an unavailable MCP driver when a retired relay or anchor remained alive after the closing receipt and pipe closure. Retain pending force requests in the existing cleanup owner, reap a live anchor through its relay, then retire the retained relay handle. Confirm actual exit and group disappearance within the original hard deadline, preserving signal-delivery errors and forced-cleanup diagnostics. Fresh driver executions can connect afterward.

The CUA proxy cleanup-deadline flake on hosted runners was a symptom of this cleanup gap. The accompanying shell-test fix narrows whole-module child_process autospy to native-backed spawnSync, preventing shared-worker prototype contamination and recursive kill calls without relaxing cleanup assertions or deadlines.

Exact-head CI passed without reruns: https://github.com/openclaw/openclaw/actions/runs/35182765072
Retained proof includes real-process stall, failed-delivery, late-exit, fresh-client and ordered shared-worker replay coverage. Codex review and the exact-head ClawSweeper review have no remaining actionable findings within their stated scope.

Related: openclaw#150236
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 18, 2026
…150427)

Keep child cleanup and eager supervised-process failures visible to callers without letting unobserved rejections crash the Gateway. Publish the retained cleanup promise at the sole spawnServiceChildRelay creation site, join authority finalization and admitted tree signaling, and preserve retained-handle escalation, forced-exit diagnostics, output drainage, and cleanup deadlines. Uncertain extinction remains a failure.

Include redacted error stacks in Gateway stability bundles, bounded to 8,000 UTF-16 code units; older bundles without stacks remain readable. No configuration, CLI option, dependency, schema version, or installed update-driver behavior changes. The runtime repair takes effect when the candidate Gateway starts.

Related: openclaw#144911, openclaw#144941. Preserve integration with openclaw#150306, openclaw#150392, and openclaw#150564. The earlier MCP field-crash path is separately contained by openclaw#144941; this change closes remaining unobserved-promise paths.

Thanks to @itanyplus, @waynegault, @chachi-max, and @kip-claw for the reports and field evidence.

Validation: exact-head CI run 35208176360 is green. Recorded focused proof: 395 tests passed and 6 skipped, followed by 64 passing spawn-broker tests; check:changed passed. Codex review is scoped-clean through P1 on a patch-identical revision, and ClawSweeper reports no findings on the landed head. Prior macOS Gateway probes predate final broker integration and do not claim a Linux/systemd field-crash reproduction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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.

1 participant