controller (unreleased): a step of the host's clock is not a new boot (R-1395)
The boot pass decides through guestBootVerdict and prefers the agent's new guest_boot_key (kernel boot_id), which a clock step cannot move. An agent that sends no key gets the old rule. The move to the key recreates nothing. Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
df0990f3aa
commit
95ed6314cc
4 files changed
+167
-9
No files matched your search
@@ -1,3 +1,20 @@
|
||||
## Unreleased (2026-11-14 night) — built and NOT released: a clock step is not a new boot (felhom.eu R-1395)
|
||||
|
||||
**MinAgent: 0.158.1** (unchanged — the new field is optional; without it the controller behaves as before).
|
||||
|
||||
- **A step of the host's clock no longer makes the controller recreate every drive-backed app (R-1395).** Found on
|
||||
the N100 on 2026-11-14: its time service came back, stepped the clock by +32.7 s, and radarr, sonarr and qbittorrent
|
||||
were recreated. **The boot token is the AGENT's, not the controller's:** `guest_boot_id` in the agent's `/disks`
|
||||
answer is `<host boot TIME>-<guest init start>`, and the kernel computes the boot time from the wall clock. The only
|
||||
reader in this repository is `web.processGuestBootChange` (it compares the token with `settings.LastGuestBootID`).
|
||||
It now decides through `guestBootVerdict`, which prefers the agent's new `guest_boot_key`
|
||||
(`<kernel boot_id>-<guest init start>`; an agent after 0.174.0 — built there, not released): the key equal to the
|
||||
record is the same boot whatever the old token says; the first report with a key moves the record to the key
|
||||
WITHOUT a recreate when the old token says „same boot”; an agent that sends no key gets the old rule, byte for
|
||||
byte. Tests `TestGuestBootVerdict_AClockStepIsNotANewBoot` (14 cases), `TestGuestBootVerdict_IsWhatTheBootPassReads`;
|
||||
8 mutations seen red (felhom.eu `documentation/audits/night-build-2026-11-14/C/redproof-controller-boot-key.txt`).
|
||||
**Not proven on a box.** With an older agent a clock step still recreates the apps once.
|
||||
|
||||
## v0.352.1 (2026-11-14) — Go 1.27.4: the security fix GO-2026-6859 (felhom.eu R-1391) — RELEASED (image `sha256:1a6e8945…`, from `8747744b`, CI run id 2637; rc.1 on scratch guest 9202); per-box floors 09:18 UTC, global floor 2026-11-14 09:21 UTC (MinAgent 0.158.1); golden 0.352.1 baked and vouched the same day
|
||||
|
||||
### 2026-11-14
|
||||
|
||||
Reference in new issue
Block a user