You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pool lane: dev server doesn't rebuild a change saved during its failed first build; service stays 'starting' for the whole health timeout #631
devstack 0.53.0, Windows host. A worktree lane started with devstack up --profile minimal and ran on a Linux pool node (natively watched Angular dev server ng serve, a .NET API, a SQL container).
Right after devstack up, while the lane was still starting, I edited TypeScript files in the worktree. One file referenced an export that I added to a second file a minute later.
The dev server's first build ran on the in-between state and failed (Application bundle generation failed … 11:29:33Z, two type errors pointing at the missing export).
At about 11:31Z I saved the second file with the export. No further build followed: the dev server log still ended with the two errors and Watch mode enabled. Watching for file changes..., and devstack status kept showing the SPA service as starting.
The API service stayed stopped meanwhile. devstack up ended after 300 s with <spa-service> failed: not healthy after 300 s: https://127.0.0.1:<port>/: io: Connection refused; only then did the API build and start.
devstack restart <spa-service> fixed it at once: the next build compiled the current files (Application bundle generation complete … 11:34:32Z) and the service went healthy.
The same kind of edit after the service was healthy (later in the session) was rebuilt normally.
Expected
A file saved while the dev server is still in its first (failed) build is synced to the node and rebuilt, as later in the lane's life. If a service cannot become healthy because its first build failed, devstack status says so (failed with the build error) instead of starting for the whole health timeout, and services that wait for it don't sit stopped without a hint.
Related
#507 (fixed in 0.45.0) had the same symptom (stale build until restart) but a different cause: a file in a newly created nested directory. Here no directory was created, the edits were to existing files.
Unclear from my side
Whether the change at ~11:31Z reached the node's copy (and the watcher ignored it), or was never synced because the lane was still in its start phase. The pool's telemetry for that lane should show it (remote_lane_synced / copy_synced around 11:31Z on 2026-11-26).
Activity
fix(daemon): a change saved while a lane's dev server starts reaches …