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
A lane on a node: the linked node_modules copy holds only a few packages although the store entry is complete #305
Reported from a downstream Node + .NET stack on 0.24.1, a lane running on a pool node (ADR-0063).
What happened
The worktree's node_modules junction pointed to .devstack/lane-<name>/linked/src/..., a copy that held only three packages. The store entry for the lockfile on this machine was complete. The agent working in the worktree ran npm ci in it to get going.
What to find out
Which copy the junction pointed to, and which prepare (service, cwd, link, outputs) made it.
link_node_lane (crates/devstack-daemon/src/supervisor/copy.rs) takes a link as done when the linked directory exists and linked/prepared/<service> holds the key: the content is never checked, so a copy left incomplete (interrupted copy, a sync that removed files) stays in use on every later start.
Fixed in 0.25.0 by #306: new inputs are prepared in a second copy and the worktree's link moves once it is whole; a failed prepare keeps the previous copy (linked (stale), with why) and is logged as prepare_failed.
Activity
fix(lanes): a lane on a node keeps a whole node_modules while new inp…
chore: 0.25.0 (#308)
7schmiede commentedon Oct 27, 2026
Fixed in 0.25.0 by #306: new inputs are prepared in a second copy and the worktree's link moves once it is whole; a failed
preparekeeps the previous copy (linked (stale), with why) and is logged asprepare_failed.