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
up --workers does not enable workers when the lane runs on a pool node #314
devstack up --workers in a worktree whose lane runs on a pool node does not enable the service's background workers. The same command with --on local does.
The stack file gates a background worker by the {is_main} placeholder, as the docs suggest:
Started on the pool, the variables stay false whatever I do:
devstack up (lane placed on a pool node), then devstack up --workers: no restart, still false (expected, the lane was running).
devstack restart api: still false.
devstack lane stop <lane>, then devstack up --workers: the lane is placed on the same pool node again (remote_lane_placed … why="keeps this lane's data (mirror, builds, volumes)"), the service restarts, and devstack env api still shows
Jobs__Runner__Enabled = false # devstack
The service log confirms it ("runner disabled … this instance takes no jobs"), and no worker registers with the job server of the lane.
devstack lane stop <lane>, then devstack up --workers --on local: devstack env api shows = true, the worker registers within seconds, jobs run.
Expected
--workers enables the lane's background workers wherever the lane runs, or, if that is not supported on a pool node, devstack up --workers says so instead of starting the lane without them.
Notes
Nothing in devstack status, devstack lane list or the daemon log mentions workers for the pool run; the daemon log shows the POST /v1/lanes/<lane>/v1/up and the usual remote_lane_* phases, nothing about the flag. From the outside the lane looks healthy, and a job triggered in it just stays queued.
A lane that is moved back to the pool keeps its data there (keeps this lane's data), so the same node is chosen each time; I could not tell whether the node or the pool path in general is the cause.
Environment
devstack 0.25.0 (latest per devstack doctor)
Windows 11 (local), lane on a pool node
Docker 29.7.2, Compose 5.5.1
Stack: a .NET API with an in-process job runner (the worker), a migrator job, an SPA, infrastructure from two Compose groups (one of them holds the job server)
Activity
fix(lanes): up --workers runs the workers of a lane on a node too (#314…
chore: 0.26.0 (#323)