-
-
Notifications
You must be signed in to change notification settings - Fork 127
feat(recv)!: batch the inbound commit pipeline during the offline drain #961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e0dc4a4
feat(recv)!: batch the inbound commit pipeline during the offline drain
claude d114f3a
fix(bot): keep MessageContext out of the batched on_message future
claude 66ac89a
fix(recv): raceless drain-to-live transition; review fixes from cubic…
claude bbf931d
fix(recv): commit the drain batch before cleanup's Signal flush; disp…
claude 9c9bee7
fix(recv): actually reorder acks before the batch event dispatch
claude dcdc148
fix(recv): flush Signal state on empty drain flushes; align docs; kee…
claude d1d0019
fix(recv): route redelivery replays through the commit batcher
claude a3accf3
fix(recv): log the self_weak upgrade failure in cleanup's drain flush
claude 8c44cff
fix(recv): close self-review findings on the inbound commit batcher
claude a178372
fix(recv): report Signal-flush failures as not-durable in drain commits
claude 1d95e3f
fix(recv): close review follow-ups on the drain finisher and lock order
claude dacb7b4
refactor(recv): consolidate the drain-to-live publication
claude d8ce860
fix(recv): defer the drain-to-live transition when the tail commit fails
claude 5ec1970
fix(recv): hold the single permit while a deferred tail commit retries
claude a93f243
fix(recv): arm a retry loop when the live transition is deferred
claude 9c02601
fix(recv): route the session-establishment flush through the batch-sa…
claude cf368ba
fix(recv): generation-scope the deferred-transition retry task
claude a5a0fd2
fix(recv): bound the timeout-arm wait on an already-running finisher
claude 9a93e30
fix(recv): keep hook batches retryable when the Signal flush fails af…
claude 3278ae6
fix(recv): settle the teardown Signal cache under the processing permit
claude 9af8f0c
fix(recv): don't destroy teardown-retained Signal state at connect
claude 9e15e3d
fix(recv): clear the cache-retention flag only on a successful flush
claude c4cd5e1
fix(recv): quiesce lane workers at teardown instead of patching aroun…
claude 4053f18
fix(recv): compare stale lane work against the lane's spawn generation
claude a5618bd
fix(recv): gate classification on the lane generation; keep the traci…
claude 371d4c9
fix(recv): hold SKDM receipts through the deferred window; keep the c…
claude 77cb458
test(recv): cover the deferred-window receipt-buffering contract
claude baf3952
fix(recv): couple the Signal-cache drop to the batcher resets that dr…
claude 52c8a87
fix(recv): re-scope the mode mutation after awaited commits; keep the…
claude 68358c4
docs(recv): fix stale re-acquire comment at the permit call site
claude 19eee50
fix(recv): drop the dirty Signal cache on a teardown-settle timeout
claude 19bef0e
refactor(events): tighten the Messages event API surface (pre-1.0)
claude 99fe8c7
fix(recv): close batch-safe flush TOCTOU and log teardown drops
claude d82ccea
refactor(recv): make the under-permit commit always flush; drop stale…
claude 4b672d6
fix(recv): fail closed on active drain without a live client; fix sta…
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.