Skip to content

fix(gateway): avoid shutdown stalls from remote Skills subscriptions - #157592

Merged
Kimiyu-186 merged 1 commit into
mainfrom
codex/remote-skills-shutdown-drain
Sep 24, 2026
Merged

Kimiyu-186 merged 1 commit into
mainfrom
codex/remote-skills-shutdown-drain

Conversation

@Kimiyu-186

@Kimiyu-186 Kimiyu-186 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes Gateway shutdown waiting for the drain deadline after a completed request has left a remote Skills subscription open.

User Impact

Gateways using a paired workspace node can retire their idle Skills subscription when shutdown begins, instead of treating it as work that must finish first. Active finite Skills operations retain their existing lifecycle. External supervisors must still allow the Gateway's normal drain and cleanup budget.

Why This Change Was Made

The long-lived subscription owns a node invocation. Waiting for those invocations before closing the subscription creates a shutdown dependency cycle. Combine its existing cancellation signal with the Gateway's drain signal, reject reacquisition during drain, and suppress late snapshot invalidation while retiring the same watcher state.

This does not change owner-lease recovery, Memory subscriptions, or the native safe-restart preflight policy.

Evidence

  • The new regression goes through the normal reusable workspace-skill snapshot path. It fails against the original source because drain does not abort the watcher, and passes with this fix. It covers late events, asynchronous settlement, and reset/reacquisition.
  • pnpm test src/skills/runtime/refresh.workspace.test.ts --maxWorkers=1: 7/7 passed; measured runner wall time 24.28s, Vitest 21.54s (93% transformation, 1% tests). Related Skills tests also passed, 51 total. These are local timings, not CI benchmarks.
  • Relevant changed-code type, formatting, lint, and unused-export checks passed. The unused-export check initially hit a local cache permission restriction; all three scans passed when rerun with normal cache access.
  • Independent read-only source review found no P0–P2 issues. The standard autoreview helper could not obtain an account-authorized reviewer model; it is recorded as unavailable, not a passing review.
  • Local native runtime smoke testing confirmed clean idle shutdown and completion of an active task after SIGTERM with compatible external shutdown budgets. This does not establish Memory-enabled shutdown or forced-crash recovery coverage.

Published-updater handoff verification

Verified on macOS arm64 with Node 24.19.0 and an isolated native launchd service on 2026-09-24. The Gateway and paired Node used separate installations; the Node stayed on published v2026.9.6 throughout. Only inference used a local synthetic OpenAI-compatible model; pairing, workspace transport, Skills watch, updater, and service lifecycle were real.

  • Published baseline: 2026.9.6-release-eb377ac59e6c-2026-09-23T16-33-12.144Z. The official release workflow's npm artifact was verified byte-for-byte against the SHA-512 in the postpublish evidence. This was not a source-built baseline.
  • Candidate: unchanged PR head 6d6a02223b2067f9454492793726dd1e1c750df7, built and packed with the repository's standard helper; tarball integrity/import-graph checks passed. SHA-256: cbd006f3b312b1f90354446af098e0393aadb388064015fe9723ae25811864cf.
  • A completed Gateway agent turn left an actual remote skills-worker-entry.js ... watch child alive. The installed baseline then ran openclaw update --tag file:<candidate.tgz> --yes --json, with automatic service restart enabled.
  • Upgrade completed: exit 0, result status: ok, persisted update run status: succeeded; before/after build IDs identify the published baseline and exact candidate. CLI wall time was 234.5 s; the updater reported 89.357 s service downtime, including its activation/restart checks. These are fixture measurements, not performance guarantees.
  • Old-resident limitation recorded: v2026.9.6 reported rootRequests=1, exhausted its existing 5,000 ms drain budget, logged active-work drain timeout reached; proceeding with shutdown, and then completed cleanup. The published old process cannot acquire this candidate's cancellation fix retroactively.
  • The candidate became Ready, the same approved v2026.9.6 Node reconnected, and another successful Gateway agent turn established a fresh real Skills watch. Stopping the candidate with that watch active settled drain in 253 ms and completed shutdown about 347 ms after SIGTERM, with no drain-timeout warning. Both the Gateway and watch processes exited.

This supplies the previously missing published-driver × candidate cell. It does not extend the scope to Memory subscriptions, safe-restart preflight policy, Windows/Linux service managers, or real-model quality. The isolated test service was stopped and removed after validation.

@clawsweeper

clawsweeper Bot commented Sep 24, 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.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 24, 2026, 7:06 PM ET / 23:06 UTC (Revision 3).

ClawSweeper review

What this changes

The PR makes Gateway shutdown cancel remote Skills subscriptions, ignore late watcher events, and allow a new subscription after runtime reset, with a regression test.

Regression provenance

Possible regression — probable (failure trace; reviewed change). No predecessor PR is attributed.

Merge readiness

✅ Ready for maintainer review

Keep open. Current main and v2026.9.6 still have the shutdown stall. The new published-updater and paired-node evidence resolves the previous proof blocker for this exact PR head; the source review found no actionable patch defect.

Priority: P2
Reviewed head: 6d6a02223b2067f9454492793726dd1e1c750df7

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair and regression test now have convincing published-updater and real paired-node shutdown evidence.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): The changed Skills watcher passes Gateway drain cancellation into the paired-node subscription. The supplied macOS launchd run used the published v2026.9.6 updater and node, established a fresh watch after activation, and recorded 253 ms candidate drain settlement after SIGTERM. The old resident's bounded timeout and successful update are also recorded. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): The changed Skills watcher passes Gateway drain cancellation into the paired-node subscription. The supplied macOS launchd run used the published v2026.9.6 updater and node, established a fresh watch after activation, and recorded 253 ms candidate drain settlement after SIGTERM. The old resident's bounded timeout and successful update are also recorded. No stored-data contract changes.
Evidence reviewed 8 items Introduced cancellation path: The PR combines the watcher's disposal signal with the Gateway drain signal and suppresses late snapshot invalidation.
Gateway lifecycle owner: Marking restart drain synchronously aborts the process-wide drain controller used by the changed watcher.
Real transport boundary: The paired-node Skills adapter passes the signal to the node workspace worker, whose duplex invocation waits for the subscription to close.
Findings None None.
Security None None.

How this fits together

The Gateway Skills runtime receives workspace skill sources and watches a paired node for changes that refresh agent skill snapshots. Gateway shutdown drains active work before closing those watchers.

flowchart LR
  A[Workspace skill sources] --> B[Gateway Skills watcher]
  B --> C[Paired node subscription]
  C --> D[Skill change events]
  D --> E[Agent skill snapshot]
  F[Gateway drain signal] --> B
  B --> G[Subscription closes]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +9, Tests +36. Total +45 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 14 5 +9
Tests 1 36 0 +36
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 50 5 +45

Review metrics

Metric Value Why it matters
Observed stop drain 5,000 ms baseline timeout → 253 ms candidate settlement The published-updater handoff exercised the shutdown behavior with a real paired-node Skills subscription.

Technical review

Best possible solution:

Remote Skills subscriptions should close when Gateway drain begins, while finite work keeps its existing lifecycle and a reset Gateway can subscribe again.

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

Yes. A completed turn can leave a paired-node Skills watch active when the Gateway stops; the supplied published-baseline trace shows the drain timeout, and current main retains that watcher logic. I did not execute current main.

Is this the best way to solve the issue?

Yes. Connecting the existing watch cancellation to the Gateway drain signal addresses the dependency cycle at its owner, and the supplied handoff exercises that path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5cf004759d4a.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The changed Skills watcher passes Gateway drain cancellation into the paired-node subscription. The supplied macOS launchd run used the published v2026.9.6 updater and node, established a fresh watch after activation, and recorded 253 ms candidate drain settlement after SIGTERM. The old resident's bounded timeout and successful update are also recorded. No stored-data contract changes.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: The repair addresses a bounded Gateway shutdown delay for installations using remote workspace Skills.
  • merge-risk: 🚨 availability: The patch changes cancellation of a node subscription during Gateway stop; the supplied paired-node handoff materially reduces the shutdown uncertainty.
  • 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 (logs): The changed Skills watcher passes Gateway drain cancellation into the paired-node subscription. The supplied macOS launchd run used the published v2026.9.6 updater and node, established a fresh watch after activation, and recorded 253 ms candidate drain settlement after SIGTERM. The old resident's bounded timeout and successful update are also recorded. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed Skills watcher passes Gateway drain cancellation into the paired-node subscription. The supplied macOS launchd run used the published v2026.9.6 updater and node, established a fresh watch after activation, and recorded 253 ms candidate drain settlement after SIGTERM. The old resident's bounded timeout and successful update are also recorded. No stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • Kimi Yu: Raw commit e1976b0 adds src/skills/runtime/refresh-remote.ts:15 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: e1976b0bef5e; files: src/skills/runtime/refresh-remote.ts)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: 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 (2 earlier review cycles)
  • reviewed 2026-09-24T21:14:02.438Z sha 6d6a022 :: blocked before merge. :: none
  • reviewed 2026-09-24T22:08:16.811Z sha 6d6a022 :: blocked before merge. :: none

@Kimiyu-186
Kimiyu-186 marked this pull request as ready for review September 24, 2026 22:00
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. label Sep 24, 2026
@Kimiyu-186

Copy link
Copy Markdown
Contributor Author

Published-updater verification is now complete for unchanged head 6d6a02223b2067f9454492793726dd1e1c750df7; the PR description includes provenance and results.

  • Real v2026.9.6 installed updater → canonical candidate tarball, native macOS launchd, Node 24.19.0. The independently installed paired Node stayed on v2026.9.6. Only inference was synthetic; the Skills subscription and transport were real.
  • Upgrade: exit 0 / succeeded, 234.5 s CLI wall time; reported service downtime 89.357 s. The installed build changed from 2026.9.6-release-eb377ac59e6c-2026-09-23T16-33-12.144Z to 2026.9.6-6d6a02223b20-2026-09-24T22-40-57.509Z.
  • The old resident emitted the expected bounded warning after its 5,000 ms drain budget. Candidate readiness, the same Node's reconnection, another successful agent turn, and a fresh remote Skills watch were verified.
  • With that new watch active, candidate drain settled in 253 ms; shutdown completed about 347 ms after SIGTERM, without a drain timeout.

Redacted lifecycle excerpt:

published 15:56:19.313  draining ... timeout 5000ms: rootRequests=1
published 15:56:24.314  active-work drain timeout reached; proceeding with shutdown
published 15:56:24.380  shutdown completed cleanly [server cleanup: 62ms]
candidate 15:57:29.577 ready
candidate 15:59:47.400 draining ... timeout 5000ms: rootRequests=1
candidate 15:59:47.653 active-work drain settled; beginning server close
candidate 15:59:47.742 shutdown completed cleanly [server cleanup: 84ms]

The two “Before merge” items describe this same verification gap. No implementation change was needed. Please reassess that gap against the new evidence.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 24, 2026
@Kimiyu-186
Kimiyu-186 merged commit abc1b44 into main Sep 24, 2026
289 checks passed
@Kimiyu-186
Kimiyu-186 deleted the codex/remote-skills-shutdown-drain branch September 24, 2026 23:14
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* refactor(ai): share Mistral text delta appends

* Merge main to incorporate the upstream update type fix

* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* refactor(ai): share Mistral text delta appends

* Merge main to incorporate the upstream update type fix

* commit 'dda1f68bfa102cb804392c0e7cc22c0566a0944a': (68 commits)
  fix(subagents): stop completion transcript retry loops (openclaw#157571)
  perf(sessions): remove duplicate foreground history reference scans (openclaw#157572)
  improve(typesafe): defer startup work until the first decision (openclaw#157380)
  fix(update): restore npm-pack helper typechecking (openclaw#157659)
  fix(packaging): avoid heap exhaustion on large bundles (openclaw#157471)
  refactor(infra): share process error handler registries (openclaw#157632)
  chore(ui): refresh control ui locales (openclaw#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (openclaw#157592)
  perf(plugins): reuse declared tool membership during resolution (openclaw#156205)
  fix(ui): pasted text previews fail before sending (openclaw#157390)
  fix(agents): wait for database resources during deletion (openclaw#157631)
  improve: move operator profile database reads off the Gateway thread (openclaw#155800)
  fix: explain rejected settings without losing edits (openclaw#157549)
  fix: keep Gateway responsive while recording trajectory events (openclaw#157598)
  fix(auth): show SIWC email and selected model account identity (openclaw#157629)
  docs: explain Codex app approval precedence (openclaw#155089)
  refactor(wizard): share select prompt requests (openclaw#157607)
  fix(ui): omit empty sections from conversation Markdown exports (openclaw#157590)
  fix(doctor): explain update lint supervisor refusals (openclaw#156547)
  fix(ui): GitHub folder links lose repository context (openclaw#157619)
  ...

Co-authored-by: Vincent Koc <[email protected]>
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* refactor(ui): share slash-command failure results

* Merge main to incorporate the upstream update type fix

* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...

* Merge frozen main to include the question fixture authority fix

* commit '229ab8a1fe957d3d4822309a39ddf9c7ec616395': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  fix(codex): honor configured tool PATH in native commands (#157290)
  refactor(msteams): share approval kind labels (#157705)
  fix(sessions): keep session results current during cold reads (#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (#157535)
  refactor(i18n): reuse native branch candidate extraction (#157636)
  fix(update): preserve recovery files after ownership refusal (#148890)
  fix(test): prevent late announcements from contaminating registry tests (#157681)
  fix(e2e): scan full onboarding logs for prompts (#157624)
  refactor(session-tools): derive contracts from schemas (#156365)
  refactor(channels): derive config contracts from schemas (#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (#157689)
  refactor: reuse prepared fixtures in slow core tests (#157685)
  refactor(codex): reuse marketplace reference selection (#157621)
  chore(ui): refresh control ui locales (#157710)
  docs(gateway): show how we build OpenClaw on Team (#157675)
  refactor: verify IRC surrogate chunking over loopback (#157580)
  ...

* chore: merge frozen main prerequisite repairs

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
* refactor(ui): share slash-command failure results

* Merge main to incorporate the upstream update type fix

* commit 'dda1f68bfa102cb804392c0e7cc22c0566a0944a': (68 commits)
  fix(subagents): stop completion transcript retry loops (openclaw#157571)
  perf(sessions): remove duplicate foreground history reference scans (openclaw#157572)
  improve(typesafe): defer startup work until the first decision (openclaw#157380)
  fix(update): restore npm-pack helper typechecking (openclaw#157659)
  fix(packaging): avoid heap exhaustion on large bundles (openclaw#157471)
  refactor(infra): share process error handler registries (openclaw#157632)
  chore(ui): refresh control ui locales (openclaw#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (openclaw#157592)
  perf(plugins): reuse declared tool membership during resolution (openclaw#156205)
  fix(ui): pasted text previews fail before sending (openclaw#157390)
  fix(agents): wait for database resources during deletion (openclaw#157631)
  improve: move operator profile database reads off the Gateway thread (openclaw#155800)
  fix: explain rejected settings without losing edits (openclaw#157549)
  fix: keep Gateway responsive while recording trajectory events (openclaw#157598)
  fix(auth): show SIWC email and selected model account identity (openclaw#157629)
  docs: explain Codex app approval precedence (openclaw#155089)
  refactor(wizard): share select prompt requests (openclaw#157607)
  fix(ui): omit empty sections from conversation Markdown exports (openclaw#157590)
  fix(doctor): explain update lint supervisor refusals (openclaw#156547)
  fix(ui): GitHub folder links lose repository context (openclaw#157619)
  ...

* Merge frozen main to include the question fixture authority fix

* commit 'dc64cc3a3a3cf38fff1e44c1d7af42a32929d7e4': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (openclaw#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (openclaw#139131)
  refactor(msteams): share stored service URL validation (openclaw#157706)
  fix(codex): honor configured tool PATH in native commands (openclaw#157290)
  refactor(msteams): share approval kind labels (openclaw#157705)
  fix(sessions): keep session results current during cold reads (openclaw#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (openclaw#157535)
  refactor(i18n): reuse native branch candidate extraction (openclaw#157636)
  fix(update): preserve recovery files after ownership refusal (openclaw#148890)
  fix(test): prevent late announcements from contaminating registry tests (openclaw#157681)
  fix(e2e): scan full onboarding logs for prompts (openclaw#157624)
  refactor(session-tools): derive contracts from schemas (openclaw#156365)
  refactor(channels): derive config contracts from schemas (openclaw#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (openclaw#157689)
  refactor: reuse prepared fixtures in slow core tests (openclaw#157685)
  refactor(codex): reuse marketplace reference selection (openclaw#157621)
  chore(ui): refresh control ui locales (openclaw#157710)
  docs(gateway): show how we build OpenClaw on Team (openclaw#157675)
  refactor: verify IRC surrogate chunking over loopback (openclaw#157580)
  ...

* chore: merge frozen main prerequisite repairs

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant