Repository navigation
test(id-worlds): proptest snapshot header-version monotonicity + refusal state preservation (#10715) - #10794
Conversation
…sal state preservation (#10715)
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Closes #10715 (follow-up to the #7357 shepherd review; guard itself landed via #7611).
Ports the superseded proptest to the current id-worlds replication tracker: generated snapshot-version sequences over JOURNAL_VERSION..=MAX_JOURNAL_VERSION (64 cases, 1..8 versions each) assert accepted versions never move header_version backwards, and refused downgrades (HeaderVersionChanged) preserve header_version, cursor, and the frame chain — the last proven by a same-version control snapshot chained from the last accepted digest, which verifies iff the refused frame left the chain head untouched.
Tests: new snapshot_versions_never_decrease_and_refusals_preserve_state passes; full world::replication suite 21/21 green. rustfmt clean on the touched file (the world/mod.rs fmt drift is pre-existing on main); git diff --check clean.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.