Repository navigation
fix(runtime): keep state versions consistent and emit versioned state deltas - #23
Open
Kushagra7777 wants to merge 6 commits into
Open
Kushagra7777 wants to merge 6 commits into
Kushagra7777 wants to merge 6 commits into
Conversation
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.
Why
State and version were read separately during serialization, allowing an older state to be labelled with a newer version.
The runtime also sent full snapshots for every update, even when only a small field changed.
Changes
Tests
Added regression coverage for:
A local test run reported 276 tests with zero failures, errors, or skips.
Validation limits
The reported 276-test run preceded correcting two implementation files that were accidentally placed under src/test. Both files are now under src/main; a clean build and test result after that move still needs to be recorded.
The new service tests call the service directly. End-to-end host integration, transport reconnection, child-process restart behavior, and representative performance benchmarks remain unverified.
Dependency
This branch is based on the runtime IPC baseline from PR #21
(d98614e). That prerequisite work belongs to its original contributor.
Related to #20; this PR does not claim to complete the entire issue.