Repository navigation
Closed
Description
Situation
devstack 0.10.1, Windows 11, Docker Desktop.
A script in the repository creates a detached git worktree on a given commit to run the end-to-end suite against that commit in isolation (it builds its own images and starts its own Compose project). Because every worktree is a lane, devstack lists that worktree as a lane right away, stopped:
$ devstack lane list
LANE BRANCH PORTS + RUNNING MAIN RUNS ON PATH
<sha> (detached) 400 stopped local <home>/.../worktrees/<sha>
A coding agent working in the main tree did not use that lane. The script's own image build failed (BuildKit lost its connection under load), and the agent's plan was to retry the build later. Starting the lane would have given the same isolation (own ports, own containers, own database) without building images at all. The agent had no way to notice that, and no way to act on it:
- The MCP server can list lanes but not start or stop one. Tools in 0.10.1:
status,up(on,timeout_s),down,lanes,lane_move,lane_share,promote_lane, … There is nolaneparameter onup/downand nolane_start/lane_stop.devstack upstarts a lane only when run with the worktree as working directory, and the MCP server is bound to the directory it was started in (the main tree). devstack statusin the main tree says nothing about lanes. A stopped (or running) lane next to the main stack is invisible unless one already knows to rundevstack lane list.- The generated
devstackskill describes lanes only as "devstack upin a worktree". It does not cover the case "run a given commit beside the main stack" (create the worktree, start its lane, test against its shifted ports, stop it, remove the worktree), and its MCP section lists no lane tools at all (the 0.9.5 skill predateslanes;devstack skills checkflags the mismatch, but nothing instatusdoes).
Expected
- MCP: start and stop a lane from the main tree, e.g.
up/downwith alaneparameter, orlane_start/lane_stoptools. The CLI equivalent (devstack up --lane <name>,devstack lane start <name>) for scripts that run from the main tree. status(CLI and MCP): one line per lane, or at leastN lanes (M running), see devstack lane list.- Generated skill: a short recipe "run a commit side by side in a lane" (worktree on the commit, start the lane, ports +N,
lane stop,git worktree remove), and the lane tools in the MCP section. A hint that a worktree created by any tool is a lane that can be started instead of building a separate environment. - Optional:
statusmentions when the installed skills no longer match (devstack skills check), since agents read the skill, not the changelog.
Metadata
Metadata
Assignees
Labels
No labels
Activity
7schmiede commentedon Oct 19, 2026
Follow-up from actually using the lane (devstack 0.10.1, Windows 11):
Started the lane with
devstack upfrom the worktree directory (CLI, since MCP cannot). It came up fine, the dev server of the SPA service (ng serve, autostart) went healthy:About a minute later it exited with code 0, without any change in the worktree and without a stop request.
devstack statusin the lane then showsexited (0); nothing restarted it. The service log ends with the dev server's normal "Watching for file changes..." output, no error. A test suite started against the lane right after hitECONNREFUSEDon that port for every case.devstack start <spa>in the lane brought it back, and it then stayed healthy (watched for several minutes).What I can say about the trigger, unverified: the exit happened shortly after the
devstack upCLI call that started the lane had returned. In between,devstack run <seed-command>(an HTTP step against another service of the lane) ran in the same worktree. If a lane's dev server is tied to the lifetime of the CLI process (or its console) that started it, that would explain it.Expected: either the dev server keeps running independent of the starting CLI process, or the exit is treated as a failure (restart, or at least
status/the daemon log saying why a healthy autostart service went away with code 0).fix(supervisor): start a long-running service again when it exits by …