diff --git a/CHANGELOG.md b/CHANGELOG.md index e68e7e2..7ba902b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## v0.144.1 — a killed pass really keeps its report: the wrapper survives a dead reader; the agent looks again every 5 minutes (R-868, measured live) (2026-10-05) + +Released by `scripts/release-agent.sh`: binary sha256 `6ccd521d47e64999017e8eb5bc613d724543cfdc5ef9b13bcae9e3ea8c53b8f3`, +config bundle sha256 `e89a9ddfb767e177f8874d56f3dcd3bfd47409d157ff830d362653333bf815e8`. The wrapper changed again: +a box needs the signed `agent_update` AND the signed `agent_config_update`. + +- **Found live on demo-hp 2026-10-05 05:45 UTC with v0.144.0** (the night's A5 shape: kill -9 of the pass and the + daemon while apt-get ran): apt finished all 13 packages, but the wrapper's next log line went to a stderr pipe no + process read any more → `BrokenPipeError` → the wrapper died before it saved its report copy (journal: `PLAN + upgrade=13`, then nothing; no copy; the hub got nothing). v0.144.0's mechanism was right and never reached. + `Runner.log` and the final `OSAPPLY-REPORT` line now survive a dead reader (the journal still gets every line). + Test `AgentDiesMidPass` drives the REAL `log()` into a pipe that breaks while apt-get runs. +- **Also found live:** the restarted daemon looked for kept copies ~7 s before the orphaned wrapper wrote one. The + daemon now looks at start and every 5 minutes (`Leg.SendUnsentLoop`); `TestR868_ACopyWrittenAfterTheStartIsSentByTheLoop`. +- Red-proofs: `felhom.eu/documentation/audits/night-fixes-2026-10-05/partD/r868-brokenpipe-red-proof.txt`. +- A second agent release in one session, against "one release per repo": recorded as `09` decision 108 (operator may + reverse) — the alternative was to ship a fix proven not to work. + ## v0.144.0 — R8 measures the real download; an OS pass reports even when its agent was killed; the debug pass runs with the hub away (R-865, R-868, R-866) (2026-10-05) Released by `scripts/release-agent.sh`: binary sha256 `f18093c3466749ec4cd47f83f97a401160a24bad1e704f1183051adad14db928`,