Repository navigation
Refuse Neo snapshots from before the hot-node bounds - #20
Conversation
RyanTheTide
left a comment
There was a problem hiding this comment.
Two non-blocking nits from the independent review (t-3151, verdict SHIP at 1de4cde). Neither needs a change before the Neo interim deploy, and this comment does not change the PR.
-
Log wording for a refused older generation. A generation-2 file is now refused through the generic path at
src/guard.rsL454, which logsunreadable model state; assuming hot speakers (latched). The file is readable, just from an older model generation. A separate message (for examplemodel state from an older generation; assuming hot speakers (latched)) would make the upgrade journal clearer and would separate the expected switch-time refusal from real corruption. -
README latched-start time is stale.
README.mdL192 still says "about 7 s on the J700". That predates the independent hot-node bounds. With control events, the first unlock after a latched start is now about 24.5 s (24.455 s in the review's runs). This was already stale on the base (0886ed2).
A clean snapshot from the older initializer can contain an underestimated magnet temperature. Resuming it bypasses the corrected hot-start bounds. Runtime generation 3 refuses those older snapshots and starts with independent hot coil and magnet bounds. Current-generation clean snapshots still resume normally.
This is a separate backport proposal on top of #17's reviewed source. It keeps the running floor, copy-queue policy, packaged profile and CLI options. Old readers refuse generation 3 rather than resuming its temperatures; an unfixed old binary is still not a safe rollback recommendation.
All 150 native tests pass, including the old-clean-file regression and end-to-end minimum-volume hot start. The same old-file regression compiles and fails before the format change. A complete unmodified Linux run is queued with the main #15 repair and the #18 composition. The #17 review does not cover this addition. This draft has not been deployed.