Repository navigation
Closed
Description
Summary
Accepted inbound messages sit in the conversation mailbox until a worker drains them into durable history. The dashboard transcript only shows committed history, so those messages are invisible while queued — whether they came from the web composer or Slack.
The product bar is ChatGPT-style: once a message is accepted, it should already be in the transcript as pending work, not appear only after the turn starts.
Current behavior
- Web send (
POST /api/conversations,POST /api/conversations/:id/messages) accepts into the mailbox viaappendAndEnqueueApiConversationMessageand returns{ conversationId, messageId, status }. - Slack ingress also lands in the same mailbox before history commit.
- User rows enter the transcript only after the worker runs and
persistConversationMessagescommits them (packages/junior/src/chat/api-turns/work.tsand the shared conversation worker path). - Dashboard composer covers the HTTP accept with
Sending…, then invalidates/refetches. There is no mailbox-pending row and no optimistic transcript insert on send. - Conversation detail polls every 2s only while
status === "active"; mailbox contents are not part of the reporting read model the UI renders.
Gap
- Start and continue conversations in the dashboard #1200 already requires accepted messages to “appear immediately as pending” and for pending/completed/failed/retry/authorization states to survive refresh and worker continuation.
- That requirement is not scoped as its own slice. Composer (feat(conversations): Add dashboard composer #1399) landed without mailbox-visible pending UI for web or Slack-originated queue.
- Impact: senders and readers watching a live conversation see a blank lag between accept and history commit, especially when the worker is busy or deferred mailbox work is waiting on an active turn.
Related
- Parent: Start and continue conversations in the dashboard #1200
- Composer slice: feat(conversations): Add dashboard composer #1399
- Prior note: Start and continue conversations in the dashboard #1200 (comment)
Requested by David Cramer.
--
Metadata
Metadata
Assignees
Labels
No labels
Activity
feat(conversations): Show pending mailbox messages in transcript (#1407)
sentry-junior commentedon Nov 9, 2026
Fixed on main by #1407: pending mailbox messages show in the transcript.
Closed during a tracker cleanup. Reopen if something here is still missing.