Repository navigation
feat(host): have the agent push unready lanes before a move to a cloud workspace - #527
Merged
Merged
Conversation
iamnbutler
force-pushed
the
hosted-compute
branch
from
October 19, 2026 21:14
18b634c to
485750a
Compare
…d workspace When a move to a cloud workspace finds lanes with uncommitted or unpushed work, the host asks the channel's agent to commit them and lane push them, waits for that run while the move shows progress, and checks the lanes again. A stopped run or a lane still unready stops the move with the channel where it was. A lane with no branch is refused for the person to remove. The listing now reports computing only from the fence on, so the chat stays open during the agent's run. Why: apps/host/src/move.ts#function push | the agent's push runs before the fence and outside `starting`, so its run stays watchable; a lane with no branch is refused, never sent to the agent Why: apps/host/src/move.ts#function move | after the agent's run the record is checked again with ready() before the fence, since the run can take minutes
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.
Fixes #500. Stacked on #522 (#499): land that first, then retarget this to
main.When Move to → cloud workspace finds lanes with uncommitted or unpushed work, the move no longer just fails:
node_modules, and tolane pushit. It says not to open a PR or remove any lane.waitop).The step runs before the fence and before the credentials read. The record is then checked again with
ready()and the move proceeds as before. A resumed move (one already fenced) skips it. The sharedmove()runs this step, soace move --computefrom the CLI gets it too.move()now takes astartingwrapper, and the gateway passeslifecycle(…, "starting")through it. The listing reportscomputingonly from the fence through the workspace's start, instead of for the whole request. While the agent runs, the chat stays open and watchable, and the app still waits out the start before it reopens the chat (#496).Open questions, answered:
move()path, and the agent's run goes through the hosting service.Smoke test (separate
ACE_HOMEwithace serve --loopbackfrom this branch, the team's deployed channel and compute services, Claude Opus, project iamnbutler/toddler-game-center):node_modules: the agent committed README.md and the note but notnode_modules, then ranlane push. The move continued and the workspace started, about 26 s in total. The chat stayed un-computingduring the run.ace stopduring the agent's run: the move stopped with "The channel is still on ace-github-next-channel…".All test channels and their workspaces were deleted.
Built in Ace
No — Claude Code subagent outside Ace, run by the lead during a batch of fixes.