Phase 1 gate: lock deploy/backup HDD path agreement (no doubled felhom-data)
The deploy-side double-nest fix lives in the app catalog (templates dropped the extra felhom-data segment). This adds the controller-side invariant test that ties the deploy path (ParseComposeHDDMounts) to the backup path (AppDataDir/NamespaceRoot) so they can't drift again, plus the v0.52.0 CHANGELOG. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,27 @@
|
||||
## Changelog
|
||||
|
||||
### v0.52.0 — Phase 1 GATE: deploy-side double-nest fix + path-agreement lock (2026-06-13)
|
||||
|
||||
Completes the Model-A double-nest reconciliation deferred in v0.48.0. v0.51.0 fixed the **backup
|
||||
helper** side (`NamespaceRoot` provenance); the **deploy/compose** side still wrote one segment too
|
||||
deep. On a Model-A in-guest drive the guest mount `/mnt/<drive>` already IS the host's
|
||||
`<drive>/felhom-data` namespace, so the catalog templates' `${HDD_PATH}/felhom-data/appdata/<app>`
|
||||
double-nested to `.../felhom-data/felhom-data/...` on disk — diverging from where the backup helpers
|
||||
look (`AppDataDir(NamespaceRoot(HDD_PATH,true))`, single-nested).
|
||||
|
||||
- **Fix lives in the app catalog** (`app-catalog-felhom.eu`): all four HDD app templates
|
||||
(`romm`, `nextcloud`, `immich`, `paperless-ngx`) changed `${HDD_PATH}/felhom-data/appdata/<app>` →
|
||||
`${HDD_PATH}/appdata/<app>`. The controller passes `HDD_PATH` through verbatim and never appended
|
||||
the segment, so no controller runtime change was needed. Catalog change lands via git-sync /
|
||||
"Sablonok frissítése".
|
||||
- **Agreement test (new):** `internal/stacks/hddpath_agreement_test.go` resolves a compose's
|
||||
`${HDD_PATH}` bind mounts via the real deploy-side `ParseComposeHDDMounts` and asserts they are
|
||||
byte-identical to the backup-side `AppDataDir(NamespaceRoot(HDD_PATH,true))` — no doubled
|
||||
`felhom-data`, deploy and backup locked together so they cannot drift again.
|
||||
- **Live migration:** existing drive-resident apps whose data sat at the doubled
|
||||
`…/felhom-data/felhom-data/appdata/<app>` are migrated (stop → move → verify → redeploy) to the
|
||||
single-nested path (RomM confirmed on the demo guest).
|
||||
|
||||
### v0.51.0 — offsite-backup UI (felhom-pbs DR) + Model-A double-nest fix (2026-06-12)
|
||||
|
||||
Pairs with felhom-agent v0.28.0 (whole-guest backup re-targeted to the offsite PBS tier).
|
||||
|
||||
Reference in New Issue
Block a user