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
Failed queue cancellation hides work that is still scheduled on the host #923
Priority: P1. Reproduced/reviewed at commit 6c7a6fbe on 2026-09-05.
Cancel removes a queued follow-up from the UI before the host confirms cancellation. If the call fails, the queue stays hidden while the host still holds work that can run at turn end.
Reproduction
Open a working thread with a persisted queued follow-up.
Make api.threads.setQueued({prompt:null}) reject.
Click the queued follow-up's Cancel action.
The queue strip disappears.
Read the thread from the host/fakeCoder: its queued prompt is unchanged.
Confirmed in the mounted App with the host queue and rendered queue checked separately.
Cause
useCoder.cancelQueued optimistically replaces queued with null. The catch only sets the global run error and never restores or reloads the queue.
Acceptance
Keep the queue visible until cancellation is confirmed, or reconcile it on failure.
Clearly indicate a failed cancellation and offer a retry.
Do not overwrite a newer queue update when reconciling.
Verify that UI and host agree after both success and failure; a failed cancellation must not look successful.
Activity
currentbits commentedon Oct 9, 2026
Fixed: when
setQueuedfails, the held queue is put back (src/useCoder.ts:1024-1035). Closing in the 2026-10-09 board cleanup (#1532).