v0.327.0: CHANGELOG, CONTEXT, REPORT (and the R-1129 correction)
gates / gates (push) Successful in 46s

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-10-17 13:42:42 +02:00
1 parent a4c0d546e5
commit 0c6ce9500c
3 files changed
+52 -24

No files matched your search

+28 -7
View File
@@ -1,11 +1,32 @@
## Unreleased (2026-10-17) — CI workflow: a manual proof that the failure mail can be sent (R-1129); no code change
## v0.327.0 — FileBrowser is published only after its default login is checked; the install check uses real memory amounts and says what to do (2026-10-17)
`.gitea/workflows/gates.yml` gains a manual `workflow_dispatch` trigger with one input, `force_alarm` (default false), and
one step that runs ONLY on a dispatch: it prints the length of `RESEND_API_KEY` (never the key) and, with
`force_alarm=true`, fails on purpose so the existing alarm step sends its real mail; the mail's subject then starts
„FORCED TEST, not a real failure". A push run is unchanged: the new step is skipped and the subject is the old one. Same
change in all four repos' workflows. Purpose: prove the failure mail now goes out after the operator set the key
(every failed run until today ended „ALARM FAILED: RESEND_API_KEY is empty").
**MinAgent: 0.158.1** — the floor's, carried. Nothing here calls the agent. No golden (`09` §3 decision 250). Task:
„FileBrowser never on its default password (D11 = A), real memory amounts (D10 = A), CI failure mail (D12), STATUS"
(felhom.eu `REPORT-filebrowser-memory-ci-2026-10-17.md`).
- **R-1126 (operator decision D11 = A)** — FileBrowser starts OFF `traefik-public`, on its own network
`felhom-filebrowser` (the controller joins it), and is put on `traefik-public` — so `files.<domain>` is served — only
after this run's default login was checked: refused, or replaced and verified (`stacks/filebrowser_gate.go`; also run
right after `web.SyncFileBrowserMounts` re-creates it). The connect targets the checked container's ID (a TOCTOU found
by the commit's security review). Why not FileBrowser's own setting: `auth.adminPassword` /
`FILEBROWSER_ADMIN_PASSWORD` re-apply at EVERY start (1.5.6 `backend/cmd/user.go:50-57`, from `cmd/root.go:144`) —
measured on 9202: a household's own password was replaced at the next restart. Live on 9202 (rc.2): FileBrowser and its
data removed; 143 probes through Traefik over 5 minutes, the default login never 200 (404 while unpublished; replaced,
then published, 2 s after FileBrowser came back). Every box with this version recreates FileBrowser once (the compose
changed) and publishes it after the check. Tests `TestFileBrowserRender_R1126_NotPublicAtStart`,
`TestFileBrowserGate_*` (2), each red-proved.
- **R-1125 (operator decision D10 = A)** — the catalog's 23 `mem_request` values are now measured use (catalog
`1af6ea7`). The refusal (`err.stacks.not_enough_memory`) and the install page's memory box
(`deploy.nincs_eleg_memoria_foglalas_telepites`) say, in HU and EN, that the memory is held by the installed apps and
to remove one or use a machine with more memory. The install page now shows the check's own reading
(`stacks.InstallMemory`: guest total, reserve, the installed apps' requests) — it used `/proc`'s host-wide figures and
could disagree with the check (9202: page 12,637 MB „needed", check 2,648). Fixtures `deploy_new_blocked` and
`deploy_new_memory_blocked` re-captured as `*_r1125` (only that sentence differs); every other fixture byte-identical.
Tests `TestR1125_*` (2), each red-proved.
- **CI workflow (R-1129, no code change):** a manual `workflow_dispatch` with `force_alarm` proves the failure mail
(prints only the key's length; a push run is unchanged). **Correction:** the failure mail was never broken — the
„ALARM FAILED: RESEND_API_KEY is empty" lines R-1129 cited are the runner printing the step's own source before it
runs; those runs' real output was `RESEND-ACCEPTED`.
## v0.326.0 — FileBrowser's default password is checked at every FileBrowser start; the decoy suite is a gate (2026-10-17)