Repository navigation
fix(id): reject unsupported replication journal versions (#4471) - #4540
Conversation
|
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 48 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. CodeRabbit Verify
|
Codex Review SummaryThis 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. |
CI coverage gapFresh The |
|
Fresh on head 53a424d: (cd pkgs/id && ~/tools/fleet-build-lock cargo test --lib world::replication) — 14 passed, 0 failed. One pre-existing supported-version control needed its Created payload header to match the exercised version after #4486's header validation landed on main. Current basic OpenCode guard is still pending. Coverage gap remains: nix-ci.yml and id-check.yml lack pull_request/merge_group triggers, so required basic proxy-port and id PR matrix checks were not run; inspect these fresh on resume before merge. |
…ange check plus header context Packet acceptance (task 6418) against origin/main 745c8b7: envelope accept keeps the PR #4540 range form `!(JOURNAL_VERSION..=MAX_JOURNAL_VERSION).contains(...)` with the commit-comment explaining the v0 bricking hazard; receiver begin_session keeps the checked constructor with .ok() fallthrough and unwrap_or(JOURNAL_VERSION).
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Adds signed v0 Snapshot/Tail/Terminal regressions, invalid constructor controls, and v1/v2/v3 acceptance coverage. Closes #4471; queue task 6418.
Evidence
cargo test -p id --lib world::replicationon this PR head — 13 passed, 0 failed.idPR matrix were not triggered. Details are in the CI coverage comment below.Merge Danger
Door: Two-way; the validation change can be reverted.
ReplicationTracker::newnow returnsResult, and all in-repo callers were updated.Blast Radius: Low — replication tracker construction and frame acceptance only.