Skip to content

A lane keeps an old stack file: a changed devstack.toml in its worktree takes no effect while the main tree's daemon runs #487

Closed

Description

@7schmiede

devstack 0.42.0, Windows, local lane (devstack up --on local).

A branch changed devstack.toml in its worktree (a new env variable for a service, [services.api-e2e.env] Telemetry__Endpoint = "…"). The lane did not pick it up:

  1. devstack check in the worktree: ok, the file has the variable.
  2. devstack down (lane stopped), devstack up --on local: the service was rebuilt (new build hash), but ran without the variable.
  3. devstack restart api-e2e: still without it.

The service's artifact ran from the main tree's store (D:\Sources\nuts-timetrack\.devstack\artifacts\api-e2e\<hash>), and the main tree's stack was up for another session at the time: the lane is served by the main tree's daemon, which read the stack file before the change and does not read it again. down without --all keeps that daemon (it serves other lanes and the main tree), and --all would have stopped everyone else's lanes too.

Nothing said the lane runs on an older stack file; the change looked applied (rebuild, healthy), and a test that depended on the variable failed for no visible reason.

Expected, either:

  • a lane reads its own worktree's stack file when it starts (up) or a service restarts; or at least
  • up / status in the worktree say that the stack file changed since the daemon read it (as for a held candidate), and how to apply it without stopping other lanes.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    on Nov 9, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. added a commit that references this issue on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions