Immich repair on every box: rollout read-back, R-1021 closed, R-1007 dated line, F12 fleet delivery, STATUS, report
gates / gates (push) Successful in 6m36s

This commit is contained in:
admin committed 2026-10-14 19:28:13 +02:00
1 parent b62ca1e0eb
commit e3b785f33a
8 files changed
+131 -9

No files matched your search

+7 -1
View File
@@ -26,11 +26,17 @@
---
## 2026-10-14 — the Immich repair on every box; the shared checkout cleaned
| Row | What | Closed | Evidence |
|---|---|---|---|
| **R-1021** | **`build-hub.sh` built STALE hub code when its `git pull` failed — it only warned** (P3) | CLOSED 2026-10-14 — FIXED: `build-hub.sh` v1.24.0 fetches, pulls `--ff-only`, and refuses (exit 1) unless the tree is clean and `HEAD == origin/main`; the commit label is read after the pull; no override (no runbook needs one); `FELHOM_HUB_REPO_DIR` builds from another clone under the same rule. `test_build_hub_tree_gate.sh` (stub docker): 6 cases right; the old script gets 5 wrong. The shared checkout's leftovers MOVED (operator ruling „move", nothing deleted) to `/mnt/5_hdd/felhom.eu/leftovers/2026-10-14/` (its README: all but one already in git; the Facebook `first-post/` folder is not in git and is the operator's to decide); the checkout is clean at `origin/main` | felhom.eu `621783b3`; `audits/immich-repair-2026-10-14/E/bh-new.txt`, `bh-old.txt` |
## 2026-10-14 — Immich repairs its broken photos after a power cut
| Row | What | Closed | Evidence |
|---|---|---|---|
| **R-1007** | **After a power cut Immich shows photos as done that are broken, and nothing repairs them** (P3) | CLOSED 2026-10-14 — decision 236 (operator): the box asks Immich through Immich's OWN job queue (no key into the household's account; every user's photos), for the asset ids of the zero-byte thumbnail/preview files only, then reads Immich's own missing-files report with a read-only session. Controller v0.311.0 (`after_unclean_boot`, once per start after an UNCLEAN boot, after the 15-min crash grace), hub v0.150.0 (`app_repaired_after_crash`, operator-only, counts only), catalog Immich block (proven on `immich-server:v3.2.4` only). **Proven live on demo-hp 9201:** a real cut mid-upload (15:25:04 UTC) left 41 photos with empty files; 41 of 41 repaired in 10 s; 120 control files untouched; 0 originals lost, so the household's lost-photo note was not exercised live (unit- and 9202-tested). **Reasoning kept:** a household-made Immich API key reaches only the admin's photos — a family member's photo was refused (measured); Immich's nightly „missing thumbnails" reads only its database, never the disk | controller `8d862e4` + `3b85a0c`, hub `822d0393`, catalog `6a1bb04`; `audits/immich-repair-2026-10-14/` |
| **R-1007** | **After a power cut Immich shows photos as done that are broken, and nothing repairs them** (P3) | CLOSED 2026-10-14 — decision 236 (operator): the box asks Immich through Immich's OWN job queue (no key into the household's account; every user's photos), for the asset ids of the zero-byte thumbnail/preview files only, then reads Immich's own missing-files report with a read-only session. Controller v0.311.0 (`after_unclean_boot`, once per start after an UNCLEAN boot, after the 15-min crash grace), hub v0.150.0 (`app_repaired_after_crash`, operator-only, counts only), catalog Immich block (proven on `immich-server:v3.2.4` only). **Proven live on demo-hp 9201:** a real cut mid-upload (15:25:04 UTC) left 41 photos with empty files; 41 of 41 repaired in 10 s; 120 control files untouched; 0 originals lost, so the household's lost-photo note was not exercised live (unit- and 9202-tested). **Reasoning kept:** a household-made Immich API key reaches only the admin's photos — a family member's photo was refused (measured); Immich's nightly „missing thumbnails" reads only its database, never the disk **2026-10-14 (later): rolled out to all demo boxes** — golden 0.311.0 vouched, global floor 0.311.0 / MinAgent 0.155.0; N100, demo-hp and Tester 1 run controller 0.311.0 + agent 0.156.1; **gate added:** catalog `unclean-boot-images` refuses an image bump the repair was not proven on (catalog `8f5ad8a`). | controller `8d862e4` + `3b85a0c`, hub `822d0393`, catalog `6a1bb04`; `audits/immich-repair-2026-10-14/` |
## 2026-10-14 — the estimator takes the second machine's figures, raise only