Repository navigation
Conversation
added 14 commits
October 6, 2026 21:07
This branch has not been deployed
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.
Add a bounded ingestion module that separates session history loading, ordered alignment, durable WAL publication, and independently batched checkpoint/table consumers. Bulk mode collects original source cohorts until their boundary or count/byte/memory limits, avoiding a WAL per small timed flush. Required recovery prefixes can flush independently, so recovering evicted speculative session state cannot wait on its own batch.
Deduplication covers committed and pending receipts; rows, state deltas and receipts share one durable entry. Cancellation/restart replays committed work, and ACKs wait for every durable prefix. The optional Lance sink atomically commits rows and input coverage with Lance 2.2/Zstd. Application adapters, process ownership, source fan-out and WAL reclamation remain integration responsibilities; the optional backlog limit bounds unconsumed segments, not retained storage.
Validation: 46 default tests pass, including batch boundaries, same-batch duplicate receipts, conflicting retries, cancelled partial admission, restart recovery, byte/count/memory limits and recovery-prefix flushing. All-target Clippy and formatting pass. Real Lance sink/fault tests passed in the composed integration workspace. No production throughput claim; private adapters, configuration, credentials and production data are excluded.