fix(engine): reconcile serialized zone change occurrences - #7077
Merged
matthewevans merged 1 commit intoAug 7, 2026
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
matthewevans
merged commit Aug 7, 2026
507a03e
into
ship/fix-turn-occurrence-provenance-7065
3 checks passed
matthewevans
added a commit
that referenced
this pull request
Aug 7, 2026
Co-authored-by: matthewevans <matthewevans@users.noreply.github.com>
matthewevans
added a commit
to jsdevninja/phase
that referenced
this pull request
Aug 7, 2026
* fix(engine): qualify zone-change occurrences by turn * test(engine): cover cross-turn zone occurrences * fix(engine): migrate legacy batched trigger keys * test(engine): cover cross-turn batched replay keys * fix(tests): update batched trigger entry access * fix(tests): refresh zone-change provenance fixtures * fix(engine): reconcile serialized zone change occurrences (phase-rs#7077) Co-authored-by: matthewevans <matthewevans@users.noreply.github.com> * fix(engine): scope persisted zone event reconciliation * fix(engine): reconcile paused sacrifice events * fix(engine): respect resolution frame boundary * fix(engine): reconcile canonical frame event carriers * fix(engine): prune stale zone-change ledger rows * fix(engine): reindex batched zone-change replay keys * fix(engine): reject stale zone-change replay aliases * fix(engine): reconcile serialized resolution frame events * fix(engine): cover v1 resolution event carriers * test(engine): pass resolution fixture as JSON value * fix(engine): retain unkeyed legacy resolution events * test(engine): assert persisted provenance canonicalization * test(engine): initialize boxed resolution stacks * test(engine): box serialized frame fixture stack --------- Co-authored-by: matthewevans <matthewevans@users.noreply.github.com>
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.
Fixes #7066 after #7065.
The shared persisted-state decoder now reconciles serialized zone-change occurrence keys before Raw or Trusted state materialization. It canonicalizes ledger positions, repairs only uniquely identifiable carriers, rejects ambiguous or inconsistent data, and preserves correct prior-turn provenance.