-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
macOS update can leave manual-update loop and stale node host causing Gateway restart storm #87928
Copy link
Copy link
Open
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.A non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.A non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Summary
After upgrading OpenClaw from
2026.5.22to2026.5.27on macOS, the Gateway entered a restart loop every ~75 seconds.The visible loop was:
This required manual launchd intervention to recover the installation.
Environment
2026.5.222026.5.27 (27ae826)2026.5.27v25.8.126.3build25D125ai.openclaw.gateway127.0.0.1:18789What happened
The manual update launched on 2026-05-28 via a launchd submitted job:
The update did not settle cleanly and produced two nested failure modes:
KeepAlive, so it repeatedly relaunchedopenclaw updateeven though the package was already at2026.5.27. In this installation it reachedruns = 787.Stopping managed gateway service..., repeatedly killing/restarting the Gateway.ai.openclaw.gatewayunloaded/stopped rather than bootstrapped.ai.openclaw.nodehad been running since before the update and still had old2026.5.18code in memory.2026.5.27, the stale node host connected as2026.5.18; the Gateway detected the mismatch and closed for supervisor restart, creating the visible loop.Manual recovery that worked
launchctl bootout gui/501/ai.openclaw.manual-update-20260528-1803 launchctl kickstart -k gui/501/ai.openclaw.node launchctl bootstrap gui/501 ~/Library/LaunchAgents/ai.openclaw.gateway.plistAfter that:
openclaw gateway statusshowed LaunchAgent loaded, runtime active, connectivity probe OK.2026.5.27.node version mismatchor GatewaySIGTERMevents were observed after the clean restart.Expected behavior
openclaw updateon macOS should leave the managed runtime in a coherent state:ai.openclaw.manual-update-*submitted job relaunching after a successful/no-op update;ai.openclaw.noderather than producing a Gateway restart storm.Related issues
This appears related to, but not fully covered by:
This field report combines all three symptoms in one post-update incident.