Skip to content

fix(web): dispatch queued follow-ups after leaving the thread - #39

Closed
macodev00 wants to merge 1 commit into
mainfrom
cursor/fix-queued-follow-up-dispatch-1fbc
Closed

macodev00 wants to merge 1 commit into
mainfrom
cursor/fix-queued-follow-up-dispatch-1fbc

Conversation

@macodev00

Copy link
Copy Markdown
Owner

What Changed

Queued follow-ups now start while you are in another thread. The working-time counter should show time already spent when you come back.

  • A coordinator mounted for the whole app sends queued follow-ups once a tool finishes or the turn ends.
  • The open thread, including a draft route that has already promoted to a server thread, still uses the chat send path, so Stop restores the message to the composer.
  • The checkout branch selected when the message was queued is stored with it and applied when the follow-up is dispatched.

Fixes pingdotgg#13319

Why

With follow-up behavior set to Queue, a message sent during a running turn lived only inside the open chat view. Leaving the thread deferred thread.turn.start until that thread was selected again, so the counter looked like it started near zero after a long wait.

UI Changes

None (behavior-only). Queued messages dispatch in the background; returning to the thread shows elapsed working time.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes
Open in Web Open in Cursor 

Queued follow-ups only left from the open chat, so a message sent while a turn was running waited until that thread was selected again. A coordinator now starts due follow-ups for other threads, persists the checkout branch captured at queue time, and treats a promoted draft as the active thread so Stop stays on the chat path.

Co-authored-by: maco <macodev00@users.noreply.github.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XL labels Sep 24, 2026
@macodev00

Copy link
Copy Markdown
Owner Author

Superseded: upstream READY already opened and closed after Macroscope Not approved. Leaving fork PR closed.

@macodev00 macodev00 closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Sent message appears to start working only after returning to its thread

1 participant