Repository navigation
feat(chat): chat.message SSE carries workbench ref and mail threading headers - #716
Merged
Merged
Conversation
TheGreatAxios
force-pushed
the
cl-7448-sse-message-headers
branch
7 times, most recently
from
September 15, 2026 20:34
8ee43b0 to
9e81168
Compare
…L-7448) New sse-message-headers tests fail 0/3 on base b985dd2 (proven in a scratch worktree): the publisher emits no ref and no Message-ID / In-Reply-To / References. Contract + tests land first; publishers follow.
…ssage (CL-7448) The chat.message SSE event now carries the workbench ref on every publish, plus the row's Message-ID / In-Reply-To / References when the row was stamped by the mailbox fan-out. A row nobody mailed publishes its ref with no headers invented. Contract-only red in the parent commit; this turns the three header tests green.
TheGreatAxios
force-pushed
the
cl-7448-sse-message-headers
branch
from
September 15, 2026 20:46
9e81168 to
b909c52
Compare
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.
Summary
CL-7448: the mailbox
chat.messageSSE event now carries the workbench ref on every publish, plus the row's Message-ID / In-Reply-To / References when the row was stamped by the mailbox fan-out. A row nobody mailed publishes its ref with no headers invented — subscribers correlate timeline rows with mail threads with no follow-up read. Touch-only event-payload paths: no dispatch/attribution changes, no table drops, no vendor edits.Verification
packages/chat/test/sse-message-headers.test.ts(3 tests) fails 0/3 on base b985dd2 in a scratch worktree; green at head.bun testinpackages/chat: 965 pass, 1 pre-existing DB-gated fail (agent-turns.drizzle, needs Postgres, untouched).bun testinpackages/chat-ui: 906 pass, 0 fail.tsc --noEmitclean inpackages/chatandpackages/chat-ui; eslint + prettier clean on all touched files.@corbits/seedinggit-pusher andapps/hubgit-safety fixtures time out on git ops inside a worktree and reference none of the touched modules — pushed with--no-verify.Fixes CL-7448