Repository navigation
Description
Summary
Two threads show Working... while a user message remains queued as Waiting for turn to start for minutes or longer. In one, the last turn was already marked interrupted after host connection loss; in the other, a new turn never emitted turn/started and a 120-second watchdog warning had fired. The durable active status, actual turn events, and queue wait can disagree, so the user sees apparent work but no progress or delivery of the queued message.
Versions and environment
- bb
0.43.4-nightly.35739502552.1, web UI through BB Connect; macOS 26.5.2 enrolled host (host_37m3sgpq59) - Claude Code CLI
2.1.282, providerclaude-code, model Opus 5.5 Medium - Threads
thr_uxg8nhnedz/ environmentenv_fxan6jxik3andthr_pspxvua656/ environmentenv_newh8g2nkn, projectproj_khiw2za95v - Source inspection against
mainatddb962879f5584604d37726024329a4b73c65c60
Steps to reproduce
Observed path A (interrupted turn):
- In
thr_uxg8nhnedz, run a turn, then lose host heartbeat acknowledgements. At 2026-09-25 17:05:15 UTC BB recordsturn/completed status=interrupted,system/error, andsystem/thread/interruptedat sequences 4794–4796. - After reconnect, the thread reports
status=activeandruntime.displayStatus=active, despite no laterturn/startedevent in its log. - Send
slop cop. It remains asqmsg_2aqdtetxin,waitingOn.kind=turn-starting, created at 19:21:57 UTC.
Observed path B (turn never starts):
- In
thr_pspxvua656, sendcontinue.client/turn/requestedis sequence 997 at 19:32:33 UTC. - Wait for
system/error code=provider_turn_start_timeoutat sequence 998, 19:34:46 UTC, with noturn/startedevent. - Send another
continue. It remains asqmsg_x4yungsz9u,waitingOn.kind=turn-starting, created at 19:35:08 UTC, while the thread reportsactive.
These are captured incident paths, not isolated minimal reproductions. I did not interrupt another live thread merely to force the race.
Expected vs actual
Actual: each screenshot shows Working... alongside a queued message labeled Waiting for turn to start.
Expected: after an interrupted or definitively stalled start, BB should settle the active state and move queued input to an actionable retry or dispatch state. If a turn is genuinely pending, the UI should say that clearly and not imply ongoing agent work. Queued user text must remain preserved.
Evidence and suspected mechanism
queueInputForStartingTurn parks input as turn-starting whenever the durable thread is active and getActiveTurnId is null: thread-turn-starting.ts#L17-L54. The queue wakes those messages on turn-started: queued-message-dispatch.ts#L298-L335. If no start event ever comes, this wait has no visible completion path in the observed threads.
For path A, the server's reconnect reconciliation can apply run.started to an error thread reported active by the daemon: thread-lifecycle.ts#L2080-L2105. That is a plausible reason the thread became active again after run.failed, but the precise reconnection transition was not captured. For path B, the watchdog emits an error but does not settle its pending start: runtime.ts#L279-L305. The UI label for turn-starting is defined at queued-message-wait.ts#L121-L138.
Related incident reports: #4363 for the never-started provider turn, #4364 for host connection loss.
What I ruled out
- These are persisted queue records from
bb thread queue list, not just stale screenshot pixels. - Path A's log has no new turn-start event after the interrupted completion. Path B has no turn-start event after the new-turn request.
- Composer submit greys out during host reconnects and stays disabled after the host is back #4353 is a disabled composer during host reconnect; here submission succeeded and the persisted message is stranded. Auto-restart thread after "host daemon restarted" #1592 asks for automatic restart after daemon restart, a different recovery choice. Searched open and closed issues for the exact queue text, active/interrupted state, and turn-starting wait.
- I did not reproduce on a running
mainbuild; the implicated paths remain onmainat the commit above.
Suggested priority and effort
High: queued user intent appears accepted but does not run, while the UI implies the agent is working. Manual stop/retry may recover, but could require checking partial workspace changes first. Effort is unknown until the state transition is traced.
Originating BB thread: thr_tcftpwzg3f.
AGENT GENERATED


Activity
brsbl commentedon Sep 25, 2026
Additional event ordering for path A (
thr_uxg8nhnedz): the last provider item before the stranded queue was a validAskUserQuestioncall (event 4790 at 10:07:42 UTC). BB created pending interactionpint_nrz8h82hdxwith the full prompt and two choices (event 4791), then marked itinterruptedat 10:09:39 UTC because the host daemon disconnected (event 4792). The turn did not get its interrupted completion until 17:05:15 UTC (event 4794). The thread later showedactivewithout any newturn/started, soslop copwas parked asturn-startingat 19:21:57 UTC. Only a manual stop at 21:07:38–39 UTC closed the lingering question tool call and turn (events 4797–4799); the queued message remained present when inspected afterward.The stored question payload is not empty. This strengthens the state-reconciliation concern: BB interrupted the user interaction hours before the provider turn/tool call settled, then showed
Workingand parked input waiting for a start event that never came. The user's report that a question/config panel appeared empty may be an additional rendering issue; its exact panel is still being identified.bb-slop-cop commentedon Sep 26, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotPreserved Bug · High priority · Medium effort · threads. Added partial-repro.
Reproduction and root-cause report: PARTIALLY REPRODUCED. High confidence in the runtime cause: the start watchdog warns without settling the pending request, so retries remain blocked by
CompetingTurnError. The focused recovery test failed in two clean trusted-main runs; the normal-start control passed in both. Reconnect, persisted queue, and UI behavior remain unverified end to end.No PR: safe recovery requires a cancellation/late-start policy coordinated across runtime and server, outside the simple-fix criteria.
SawyerHood commentedon Oct 19, 2026
Consolidated into #4363 at the maintainer's request. Added the source context, evidence links and any distinct/unverified follow-up scope to the canonical tracker: #4363 (comment)
Closing this report for tracking consolidation, not as fixed. Please continue investigation and updates in #4363; this report remains linked as original evidence.