Files
felhom.eu/documentation/audits/update-night-2026-09-21/19-Q4-the-unattended-hold.md
T
adminandClaude Opus 5 9c69b3ff07
gates / gates (push) Successful in 27s
Update night: Phases 2-4 evidence — both engines, the unattended HOLD, and five new findings
Evidence off the machine at the end of the phases that produced it (R-320). Teardown follows.

PHASE 2 — the two database engines, through the REAL Update button:
- MariaDB 11.6 -> 12.3 on nextcloud: PROVEN, and pressed through the button for the first time.
  All four SPIKE-r459 observables: the datadir's own record moved 11.6.2 -> 12.3.3; the engine
  itself says "already upgraded ... no need to run mariadb-upgrade again"; the entrypoint says
  "Major version upgrade detected ... Check required!" and then STARTED and FINISHED it (not the
  `skipped due to $MARIADB_AUTO_UPGRADE` line R-459 feared); and the engine took its own
  pre-upgrade backup, 631 905 B. The seeded Nextcloud account read back.
- PostgreSQL 16 -> 17 on docmost: FAILED exactly as R-463 predicted and nobody had measured.
  5.1 s to held; the pin named 17 while nothing ran; the restore brought it back in 29.1 s.
  The engine's REFUSAL LINE was destroyed by failAndHold before any probe could read it, so it
  was REPRODUCED INDEPENDENTLY with a control on every step (R-320).

PHASE 3 — the bad days. B1 produced THE UNATTENDED HOLD, which this project has never had: the
caller pressed once with nobody watching, the app held after 312.9 s, and passes 2 and 3 pressed
nothing. B2 put the pin back on a pull failure in 1.0 s. B3 refused `busy` six times. B4 showed
there is NO single-flight — 5 of 5 updates ran at once and all ended honest. B5 cut the power in
`backing-up` and the box recovered itself and said so. B7 refused under the 2 GB floor. B9 found
R-458's risk narrower than the row states.

PHASE 4 — every badge on the box is TRUE, and the held app answers all four of Q4's questions.

FINDINGS, five new and three corrections to existing rows. The one that matters: R-618 is P1 —
two templates name a health probe the app does not answer, and because the guarded update waits
on that same probe, a SUCCESSFUL update ends by STOPPING a working app. Measured: tandoor served
HTTP 200 on the new version at four samples across five minutes and was then stopped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-21 22:13:57 +02:00

3.6 KiB

09 §3b Q4 — the unattended HOLD. MEASURED 2026-09-21.

Q4 asks: an automatic update that ends HELD happened while everyone was asleep — who is told, when, and does the box try again? Until tonight the hold half had never been produced unattended, and the 2026-09-21 afternoon session recorded exactly why: the only failing edge available was vikunja → alpine:3.20, which the within-a-major rule correctly refuses before the guarded update is ever reached. The rule that makes automatic updates safe is the same rule that refuses the obvious way to break one.

What made it measurable

A throwaway image store on the scratch guest, and an edge the safety rule cannot filter out:

localhost:5000/drill/glance:1.0.0   the real glance image, retagged — it serves
localhost:5000/drill/glance:1.0.1   starts, stays up, and NEVER serves

Same repository, same major, plain version tags, so stacks.CompareImageRefs orders them and the caller presses. Proven beforehand in isolation: the 1.0.1 container runs 14 s with 0 restarts and refuses every connection on 8080.

The measurement, verbatim

unattended-caller.py, three passes 90 s apart. Nobody pressed anything.

2026-09-21T19:47:49Z  === pass 1/3
2026-09-21T19:47:49Z    glance BEHIND and within a major — pressing Update
2026-09-21T19:47:49Z      glance: phase=safety-dump updating=True
2026-09-21T19:47:51Z      glance: phase=verifying updating=True
2026-09-21T19:53:02Z      glance: phase=failed updating=False
2026-09-21T19:53:02Z    glance ENDED held after 312.9s
2026-09-21T19:54:32Z  === pass 2/3
2026-09-21T19:56:03Z  === pass 3/3
2026-09-21T19:56:03Z  === summary  outcomes={'glance': ('held', 312.9)}  never_again=['glance']

What Q4 now knows

Q4's question the answer, measured
does an unattended update ever produce a HOLD? Yes — 312.9 s, the full health_timeout plus the phases
does the box try again? No. Passes 2 and 3 pressed nothing at all; never_again=['glance']
is the household told? On the screen, yes — the app page carries the sentence, and the banner „Telepített alkalmazás nem fut: …" appears at the top of every authenticated page
told what, exactly? what happened, when (21:53), which copy („saját meghajtó, 2026-09-21 21:47"), and what that copy holds („a beállításokat, az adatbázist és az adatköteteket")
by MAIL? UNMEASURABLE on this venue — hub.enabled: false and the notifier returns before it logs (R-620). Q4's mail half is still unmeasured
in ENGLISH? No. The sentence is Hungarian on the English page (R-606, confirmed tonight on the hold sentence itself)

The one qualification, stated plainly

This is the hold produced by a caller that presses the existing guarded Update. It is not Slice 6, which does not exist. What it proves is that the MECHANISM Q4's recommended option rests on — press once, hold honestly, tell the household on the page, do not retry — is already there and already behaves that way, and that the remaining work in Q4 is the MAIL and the ENGLISH, not the hold.

And one thing that nearly went unmeasured

unattended-caller.py's follow() read update_phase and updating off the API envelope, so both were always None, and every update it followed would have run to the 900 s timeout and been recorded timeout rather than held (R-623). It was found by reading the file before relying on it, and fixed. The log above — with its real phase transitions — is what the fixed version produces. The broken one would have written phase=None four times and then timeout.