Repository navigation
test(id): F12.13 phase 5 resilience exercises on the durable replica path (#806) - #9858
Conversation
…path (#806) Writer outage + restart resync without journal drift, replica restart reopen + idempotent resync, and follow-session reconnect after a writer restart, exercised at the net level in world_replication_net. Compaction/reset and lease-expiry were already covered at the receiver/protocol level and by PR #9407.
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 59 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. |
|
Codex gate disposition (task 15853, lane code-d): the Codex code review on this PR FAILED to run (review summary, 2026-11-14T09:36:11Z: "We couldn't complete this review") and produced zero findings and zero inline comments - the same usage-limit failure recorded on PRs #9833/#9834/#9837. There are no Codex findings to disposition. Merging under the standing criteria on local verification: id-worlds lib 657/657 pass (including the 3 new resilience exercises and the full world_replication_net suite 10/10), diff is tests-only (+305 lines, one file) and matches the stated intent. |
F12.13 phase 5, final slice for task 15853 / issue #806: resilience exercises on the durable replica path.
What
Three new oracle tests in
world_replication_net.rs(the net-level durable path), exercising the acceptance behaviors end to end against a live writer:writer_outage_and_restart_resync_without_journal_drift— sync a durable replica; kill the writer entirely; a sync against the dead writer does not succeed and leaves the committed cursor and journal bytes untouched; restart the writer from the same directory with the same pinned source and the replica resyncs in place to the identical verified cursor, byte for byte.replica_restart_reopens_synced_state_and_resync_is_idempotent— a droppedDurableReceiverreopens at the synced cursor with the journal intact, and resyncing an already-current replica changes nothing.follow_session_reconnects_after_a_writer_restart— a follow session whose writer dies mid-session ends Ok with the commits it already absorbed; a fresh follow session against the restarted writer (the CLI reconnect loop's posture) catches the replica up to the same verified cursor with no journal drift.Compaction/reset was already exercised at the receiver/protocol level (
reset_snapshot_replaces_the_journal_and_bumps_the_version,snapshot_rebases_the_chain_on_a_header_bump) and lease-expiry on the durable path by PR #9407's tests; this slice adds the missing live-path exercises, completing the phase-5 remainder list from PR #9837.Tests
cargo test -p id-worlds --lib world_replication_net— 10/10 pass.cargo test -p id-worlds --lib— 657/657 pass.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.