Repository navigation
fix(queue): show dispatched turns directly in the timeline - #197
Merged
Merged
Conversation
Accept an idle message and its StartTurn command in one transaction, then publish dispatch state before worker delivery. Serialize admission with queue changes and prevent another turn from starting during the worker acknowledgement gap. Add compatible turn and overview dispatch fields. Show starting turns in the timeline and exclude them from queue counters and actions. Keep steer fallback queued and preserve older clients. Cover first visibility, running queue handoff, dispatched-turn conflicts and older protobuf clients with gateway integration tests.
nixuuu
force-pushed
the
fix/queue-flash
branch
from
November 5, 2026 16:20
15fbe3e to
c361830
Compare
nixuuu
added a commit
that referenced
this pull request
Nov 5, 2026
…231) Stage 5 of 5, mobile UX: catch up with recent web features in the thread view. **Done** - Full access with confirmation. - The work group is open while the agent works and collapsed after the turn (the default fold behaviour from #195). - Tighter work rows in the `work` scale; commands in monospace. - The shell command card and `!` mode in the composer (#194). - "Starting" for a dispatched queued turn (#197). - File badges in the message bubble. - Finished subagents collapse into one count that opens the lineage panel (#182). - The type scale for overlays, chrome, work rows and the context row (#174/#193). - Rejected messages show their reason, instead of a generic retry note. **Deferred** - The work fold settings (per device on the web). - Badges placed inline in the text and queue editing (#200/#201); files stay as chips. - Linked computers in pickers (needs `LinkedComputerSnapshot` merging). - Worktree and ref in a new thread. - Approval countdown and expiry cards. - Connector errors. - Mentions, side threads and goal editing. **Checked** on the Android emulator, light and dark. `check:tmp`: 1425 passed, 0 failed. `expo lint` and `tsc` are clean. **Copy audit (§8):** - "Runs as a shell command when delivered." - "Starting" - "N finished subagents" - "Set and manage goals in Canopy on the web."
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A message sent to an idle thread no longer flashes in the queue panel before it starts. It goes straight to the timeline as "Starting".
Cause:
SendMessagepublished the new turn asqueuedbefore it was dispatched, and the web listed every queued turn in the queue panel until the worker reportedrunning. Dispatch itself sent no update.Fix
coreEnqueueTurn), and dispatch now sends an update. New fields (additive):Turn.dispatchedandThread.turn_starting, both filled from the same dispatched condition.Tests:
tests/integration/queue-dispatch.test.tscovers:The composer shell suite passes unchanged (17/17).
check:tmp: 1321 passed, 0 failed.Checked in a browser (recording and screenshots) for an idle send, a send while a turn runs, and the hand-off to the next queued message.
Copy audit: "Starting" is an existing status label.
The flash has been there since the queue panel was added, so there is no fix link.