Repository navigation
v0.367.1
·
17 commits
to master
since this release
- fix: the fleet keeper no longer cards an ABSENT death for a manager it restarted itself.
main()'sif live == "ABSENT":branch readssid = fleet_session()— the id the fleet manager's registration names — and arestart freshretires that session and starts a new one whose registration lands a moment later. The branch also returned beforeload_lapse(), so the record proving the keeper caused the death (fresh_consumed, written byact_on_fresh_answerimmediately before it runsrestart-worker.py --reason lapse --fresh-prompt /supervisor:fleet-loop) was never read on the carding path. Measured 2026-11-16: the operator answeredrestart freshat15:20:21Z, the keeper stopped the manager at15:30:15Zand started the replacement at15:30:24Z, then minted an ABSENT card at15:30:33Zasking the operator to act on the death they had just authorised. The guard matches the session the keeper stopped:fresh_sidis written only when the restart succeeds, and the branch suppresses only whilesid == fresh_sid, so a death of the REPLACEMENT manager — or of any session the keeper did not stop — still cards, and a refused or failed restart arms nothing. It is bounded byRESUME_DEFER_MAX;fresh_first_tryandfresh_sidpersist in the lapse record because the ABSENT branch runs in a later process. Change set:scripts/fleet-keeper.py,scripts/tests/test_fleet_keeper.py,CHANGELOG.md.