Commit graph

1 commit

Author SHA1 Message Date
0d8b2505da test(M8): scripts/verify-hub-migration.sh — prove a migration on real hub data 🧪🛡️
Reusable safety gate: copies the live hub DB (all 3 WAL files — copying
only .db migrates an EMPTY db and false-passes), runs the new binary's
migration in isolation, and asserts version advanced, backup made, and
counts preserved (devices/shares/chunks equal, snapshots may grow from
backfill, no orphan heads). Live hub never touched. Re-run before every
hub upgrade; adjust the INVARIANTS block per migration. Already green on
the real .10 data: 13 dev / 12 share / 16 chunk preserved, 3 heads repaired.
2026-06-23 11:01:42 -05:00