You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(backup): include cold history and verification copies in space checks #1286
PR #1261 passes zero extra bytes to its backup-space check before collecting cold Parquet and other persistent files. A filesystem that holds the SQLite copy but not the whole archive can pass and fill during export.
The multiplier also misses one verification phase: the staged database gzip, outer archive, copied database gzip and decoded database coexist. Without assuming compression, reserve four database copies plus room for archive extras and the temporary Parquet verification file.
This is a candidate regression identified at cee71eaf825d26b4281fece52c243cb32fd614c2, not a shipped-beta claim.
Acceptance: inventory regular source files before database export; exclude the output directory and database sidecars as the archive does; fail early on a synthetic capacity limit that omits cold history. Leave no partial export. Check the largest coexistence phase independently. Existing backups remain untouched.
Current master inventories extras before export and reserves the raw/gzip/verification coexistence space. TestCreateChecksColdFilesBeforeExport, TestBackupArchiveScratchReservesRawGzipAndVerify, TestEnsureDiskSpaceRejectsShortFilesystem and TestBackupToCompressedPreflightUsesSourceSize passed three times with the race detector. The cold-file preflight test includes real Parquet and pairing-file bytes and checks that failure leaves no partial export.
Activity
frahlg commentedon Oct 18, 2026
Current master inventories extras before export and reserves the raw/gzip/verification coexistence space.
TestCreateChecksColdFilesBeforeExport,TestBackupArchiveScratchReservesRawGzipAndVerify,TestEnsureDiskSpaceRejectsShortFilesystemandTestBackupToCompressedPreflightUsesSourceSizepassed three times with the race detector. The cold-file preflight test includes real Parquet and pairing-file bytes and checks that failure leaves no partial export.