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
[Bug]: Resume queue bypasses failed worktree setup and schedules work in the project checkout #36615
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Start a thread requesting a new worktree.
Queue a follow-up while the checkout is preparing.
Let worktree preparation fail before a worktree path is published.
Choose Resume queue or Send now.
Deterministic server reproduction: create the thread and deferred worktree run through OrchestratorV2, queue the follow-up, dispatch prepared-run.fail (the command ThreadLaunchService uses), await the held-run event, then dispatch either queue.resume or queued-run.start.
Expected behavior
The follow-up stays held until worktree setup is retried or a workspace is explicitly selected.
Actual behavior
Both commands clear the hold and start the queued follow-up with no worktree path. Checkpoint scope uses the project checkout and the provider-turn.start effect is persisted. This proves unintended scheduling, not actual provider edits.
Linux, server orchestration runtime with in-memory SQLite. Shared server commands are reachable from web/desktop Send now and mobile Resume queue, including remote connections.
Logs or stack traces
The supplied bughunt reproduction fails for both commands: expected queued, received starting. The existing unresolved-worktree queue control passes. Independently confirmed by Claude Opus 5.5 on bebaf3e and reproduced again on the commit above.
Screenshots, recordings, or supporting files
Server-side proof; no browser capture or real git-failure reproduction.
Workaround
Retry worktree preparation or select a workspace before resuming. Do not resume the held queue while preparation remains unresolved.
Related closed issue #23600 concerned a newly sent message after Stop; this report concerns explicit Resume queue / Send now after the queue has already been held.
Activity