Safe validator fleet rollout¶
2026-11-25: how the November releases were rolled
The releases of 19 to 24 November were not rolled with this tool, and
Current State records no deployment
receipt for them; the last one is from 2026-10-30. The Solana exit releases
were rolled one validator at a time from a release kit:
ops/sol-live/exit_release_kit.py stages it in the style of the
main-r64-20261121 release, and ops/sol-live/exit_roll.py plans the
release and guards each host restart, requiring six matching finalized
statuses. After each host an accepted transfer and six-way agreement on
height, tip and state root were checked (working rules of the
23 November handoff).
Whether this tool stays the supported entrypoint is the owner's decision.
scripts/postfiat-safe-rollout is the only supported controlled-testnet fleet
deployment entrypoint. It consumes the canonical
deployment-validator-units-stage report and never accepts an operator-chosen
remote destination, an rsync option, or a deletion operation.
Safety contract¶
--delete, every--delete*spelling,/,host:/, destination flags, target-root flags, and rsync passthrough flags fail before argument parsing.- Final destinations are derived from the signed release ID and validator ID. The only destinations are the two release directories and that validator's two named systemd units.
- Preflight verifies all six signed validator bindings locally, freezes hashes of the stage report and inventory, reconciles every instance ID/IP/region against the owning Vultr account, obtains six converged live RPC statuses, verifies every node's split local signer against the same complete active public validator registry, and records an exact create/update/unchanged diff. Deletions are not a valid diff action.
- Fleets whose RPC listeners are intentionally private may pass
--rpc-tunnel-base-port PORTafter establishing six localhost tunnels atPORT..PORT+5. Cloud reconciliation and SSH checks continue to use the canonical inventory hosts; only read-only convergence RPC uses the tunnels. - Backup is a mandatory state transition. It exports from the canary without
stopping services, explicitly copies the snapshot locally, signs it without
moving the publisher private key to a validator, re-imports it under the
trusted public key, and runs
verify-state. apply-nextaccepts no validator argument. The state file selects the canary first and then a strict one-node-at-a-time order. It refuses to run without the verified preflight and signed backup, and rechecks all six mutable committee rosters immediately before each host mutation.- Files are copied to deterministic
.incoming-safe-rolloutnames inside their allowed filesystems. Every incoming SHA-256 is checked before atomic rename, signed-manifest verification, and a one-node service restart. - A successful apply records local health and six-node RPC convergence. A failed copy, manifest check, restart, or convergence check does not advance rollout state.
- A release that changes replicated-state encoding additionally requires the versioned activation and pre/post-transition evidence in Replicated State V2 Activation. The generic rolling deploy is not sufficient for a consensus migration.
Commands¶
Create a fresh read-only preflight state:
scripts/postfiat-safe-rollout preflight \
--stage-report /release/validator-stage/stage-report.json \
--inventory-file /secure/wan-vultr-all-fleet.txt \
--vultr-api-key-file /secure/vultr-api-key \
--state-file /evidence/rollout-state.json \
--canary-validator-id validator-1
Create and verify the mandatory signed backup:
scripts/postfiat-safe-rollout backup \
--state-file /evidence/rollout-state.json \
--evidence-dir /evidence/pre-rollout-backup \
--snapshot-publisher-key-file /secure/snapshot-publisher.private.json \
--snapshot-publisher-public-key-file /secure/snapshot-publisher.public.json
Apply exactly one validator. Repeat only after the command returns zero; the tool derives the next validator from durable state:
scripts/postfiat-safe-rollout apply-next \
--state-file /evidence/rollout-state.json
Never edit rollout state by hand. A changed stage report or inventory invalidates the recorded hashes and requires a new preflight packet.