Add segmented event history and bounded replay budgets#287
Merged
Conversation
…-history-current-main
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\n- add storage-level event segments and immutable snapshot history\n- enforce MAX_EVENTS_SINCE_SNAPSHOT instead of lifetime total_event_count\n- hydrate from latest snapshot plus post-snapshot tail\n- discover packaged os-app wasm//.wasm files after target pruning\n- run WASM invocations on bounded large-stack threads\n\n## Verification\n- cargo test -p temper-server event_budget --lib\n- cargo test -p temper-platform find_wasm_modules --lib\n- cargo test -p temper-platform test_os_app_document_bootstrap_does_not_charge_workspace_file_count --lib\n- cargo test -p temper-store-postgres migration --lib\n- cargo test -p temper-store-turso event_history_schema_declares_segments_and_snapshot_history --lib\n- cargo test -p temper-store-sim snapshot_save_records_history_and_rotates_segments --lib\n- cargo test -p temper-store-redis --lib\n- cargo check -p temper-server -p temper-platform -p temper-store-redis -p temper-store-turso -p temper-store-postgres -p temper-store-sim\n- pre-push gates: rustfmt, clippy, readability, full tests, doctests