test: e2e for SSE live delivery, isolation and purge - #44
Merged
TheGreatAxios merged 2 commits intoSep 27, 2026
Conversation
TheGreatAxios
commented
Sep 25, 2026
TheGreatAxios
left a comment
Contributor
Author
There was a problem hiding this comment.
Self-review: an independent review pass covered this branch, and every finding is fixed. Build, typecheck and tests pass against real Postgres.
TheGreatAxios
force-pushed
the
cl-9274-mailbox-add-e2e-test-for-sse-live-delivery-and-unsubscribe
branch
from
September 25, 2026 15:02
f038021 to
930e29d
Compare
TheGreatAxios
force-pushed
the
cl-9274-mailbox-add-e2e-test-for-sse-live-delivery-and-unsubscribe
branch
from
September 25, 2026 17:52
930e29d to
018064d
Compare
TheGreatAxios
force-pushed
the
cl-9274-mailbox-add-e2e-test-for-sse-live-delivery-and-unsubscribe
branch
from
September 26, 2026 01:28
018064d to
acdb910
Compare
TheGreatAxios
force-pushed
the
cl-9274-mailbox-add-e2e-test-for-sse-live-delivery-and-unsubscribe
branch
from
September 26, 2026 01:36
acdb910 to
5726407
Compare
TheGreatAxios
added this pull request to stack #47
September 26, 2026 01:58
A client on the events route receives a newly written message, and disconnecting leaves the bus with no subscriber. The harness now takes the tenant from the request too, and the bus from the caller. Closes CL-9274.
A principal in another tenant sees an empty inbox and 404s on tenant A's message, and a purged principal's inbox lists empty. Closes CL-9275.
TheGreatAxios
force-pushed
the
cl-9274-mailbox-add-e2e-test-for-sse-live-delivery-and-unsubscribe
branch
from
September 26, 2026 02:40
5726407 to
9adc74d
Compare
TheGreatAxios
removed this pull request from stack #47
September 26, 2026 02:40
TheGreatAxios
added this pull request to stack #50
September 26, 2026 02:40
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
tests/sse.test.ts: a client on the events route receives a newly written message, and after it disconnects the bus has no subscriber left.tests/isolation-and-purge.test.ts: a principal in another tenant gets an empty list and 404s on tenant A's message, while the owner gets 200. Purging a principal empties their inbox.Verification
CI is green on this branch: install
--frozen-lockfile, build, typecheck, tests against Postgres, and the Node consumer smoke test.Closes CL-9274
Closes CL-9275