fleet-restart-wake
A single-copy always-on instance on a fleet box was down 33 s across its agent's restart in Tito production's v0.40.2 roll (2026-11-21), against the 5 to 11 s the instance-control probe needs. Paul approved both fixes.
- A replica fence (replicas.ErrFenced) is now a refusal, retried on the next 2 s resident tick, not a build failure with 1 to 16 s backoff. A shared-secrets wait keeps its member event; a genuine build failure still backs off.
- On a lifetime-index miss (a restarted agent before its first reconcile scan), the agent reads the record live instead of refusing. The exec gate's fresh record read still decides (R1), the index is never written from this read, a store error backs off as an outage, and an absent or foreign record is read at most once per host per 30 s.
Estimated restart gap: about 7 to 14 s, down from 33 s. Tito will rehearse on staging with a box restart under a poller.
Astra and Fable reviewed (round 1, P2s applied, Astra scoped fix check); census on #280.
🤖 Generated with Claude Code
Commits
7
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed 48975324f Merge remote-tracking branch 'origin/main' into fleet-restart-wake
- paul@keymail.dev pushed b83fda7c4 activator: pass context.TODO in the replica fence classifier test
- paul@keymail.dev pushed 054dcace0 host: forget expired replica miss memo entries on insert
- paul@keymail.dev pushed 43a5d0cf5 fleet restart wake: review round 1 P2 fixes
- paul@keymail.dev pushed c3733a2f4 host: read the replica record live on a lifetime index miss
- paul@keymail.dev pushed dfd1b72f0 activator: a replica fence is a refusal, retried on the next tick
- paul@keymail.dev pushed 4bc845157 plans: fleet box restart wake (fenced refusal, live record on index miss)