Repository navigation
feat(gateway): launch workers on paired nodes - #123157
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 13, 2026 11:33
steipete
force-pushed
the
steipete/node-worker-launch-wire
branch
from
August 13, 2026 12:37
f3c4873 to
2196e7c
Compare
steipete
force-pushed
the
steipete/node-worker-launch-wire
branch
from
August 13, 2026 17:14
2196e7c to
d40319e
Compare
steipete
force-pushed
the
steipete/node-worker-launch-wire
branch
from
August 14, 2026 00:24
d40319e to
7d842f5
Compare
Rehydrate durable workspace bindings after Gateway restart, fence timed-out node tunnel starts, and refuse incomplete clone fallback for submodule and Git LFS workspaces.
steipete
force-pushed
the
steipete/node-worker-launch-wire
branch
from
August 14, 2026 00:46
7d842f5 to
9c70de1
Compare
Contributor
Author
|
Land-ready proof for exact head
Final review repairs included restart-safe workspace rehydration, selected-transport timeout cleanup, pending-start cancellation fencing, strict worker handshake projection, and explicit refusal of clone fallback for submodule/Git LFS workspaces. ClawSweeper has only published its acknowledgement and no review or |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 14, 2026
* feat(gateway): launch workers on paired nodes * docs(plan): track node worker launch wire * fix(runners): restore node workspace ownership Rehydrate durable workspace bindings after Gateway restart, fence timed-out node tunnel starts, and refuse incomplete clone fallback for submodule and Git LFS workspaces. * test(runners): isolate node launch fixtures
This was referenced Oct 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #122966
What Problem This Solves
Paired, session-capable devices can advertise an exact local worker build and receive durable launch credentials, but current
mainstill stops before a device can host an agent turn. Operators therefore see an eligible device that cannot actually run the selected session.Why This Change Was Made
This wires device placements through a node-owned tunnel handle and the durable node worker supervisor. Private launch, status, cancel, and workspace commands remain outside public
node.invokepolicy. The Gateway owns placement, claims, transcript, and reconciliation; the node owns its connected endpoint, local installation integrity, process tree, launch journal, and namespaced workspace.The rebased implementation also repairs two lifecycle gaps found during final review:
The launch-only workspace fallback accepts only a clean, published, credential-free HTTP(S) Git checkout. Plain, dirty, unpublished, credentialed-origin,
.worktreeinclude, submodule, and Git LFS workspaces return the explicitworkspace-transport-pendingboundary for the stacked authenticated-transfer PR.No config option, Gateway protocol version, or SQLite schema version is added.
AI-assisted implementation; I understand and reviewed the launch, ownership, recovery, and workspace behavior.
User Impact
An enabled paired device can host a complete OpenClaw session turn: workspace setup, private supervised launch, public worker admission, Gateway-proxied inference, transcript commit, terminal status collection, and unchanged workspace reconciliation. A node-control WebSocket reconnect after launch acknowledgement does not duplicate or kill the turn, and Gateway restart no longer loses the workspace authority required by a later turn.
General dirty/plain workspace transfer remains in stacked PR #123280 and will be rebased after this PR lands.
Evidence
pnpm buildpassed, including plugin SDK surface and Control UI production build.Production delta: +2,324/-332 (net +1,992). Tests/test support: +3,782/-2,744 (net +1,038). Docs: +22/-19. The capability growth replaces the deliberate device-transport stop with the complete launch owner boundary and splits the previously oversized launcher suite.