Repository navigation
test(fleet-queue): rehearse the #8583 replica drill end to end + drill runbook - #16985
Conversation
…l runbook The drill test composes the pieces items 1-3 of #16874 proved separately into the #8583 acceptance narrative at the client seam: rich-row population of two lanes' replicas, a mid-shift partition served through the replicas (pick, by-id, heartbeat, checkpoint, foreign-verb refusal, parked work undiscoverable), both partition double-claim shapes, a client restart mid-partition, and recovery reconciliation asserting the drill bar — zero lost claims and every double-claim reported with both holders named. The runbook chapter (book/operations/replica-drill.md) documents the mechanism, the rehearsal, and the deployed drill procedure with pass/fail and abort criteria for the scheduled production window that remains #8583's last acceptance item.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Verification (lane 0640-DN): fleet-command run 46313559029 against this branch at 77f9ef0 — full log read firsthand: replica selection 47 passed / 0 failed (the new |
Lane 0640-DN, item 4 of #16874 / the last acceptance item of #8583.
What this is. Items 1–3 of #16874 are landed and remotely proven (PR #16912; run 46311619910, 581 passed). Item 4 — the drill — splits in two:
drill_partition_cycle_zero_lost_and_every_double_claim_reported, running the Fleet unification slice 5: local coordination replica for database-down resilience #8583 acceptance narrative end to end: rich-row population of two lanes' replicas → mid-shift partition served through the replicas (pick, by-id, heartbeat, checkpoint, foreign-verb refusal, parked work undiscoverable) → both partition double-claim shapes (replica-vs-replica, replica-vs-broker-racer) → client restart mid-partition (durability) → recovery reconciliation asserting the drill bar: zero lost claims, every double-claim reported with both holders named, in the printedreplica_syncshape.pkgs/fleet/book/operations/replica-drill.md(fleet book, operations) — mechanism brief, the rehearsal command, and the deployed drill's prerequisites / procedure / pass-fail / abort / recording steps.What this is not. The deployed drill itself: severing the production broker's database leg mid-shift is a live production operation on the laptop-hosted broker, and the queue leg to that host is down today (#16762). The precise gate and unblocking action are recorded on #16874 and #8583. This PR makes that remaining step one operator session against a written runbook, with the mechanics pre-proven by the rehearsal.
Verification: fleet-command run dispatched against this branch (
cargo test -p fleet-queue --lib --features client replicawith the nix-pinned OpenSSL paths, then the mdBook build); executed counts recorded on #16874 when it lands.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T21:41:30Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.