Merge develop into release/0.1 (next release candidate) #60

Merged
james.maes merged 3 commits from merge/develop-into-release-0.1-0546 into release/0.1 2026-11-24 11:48:29 +00:00
3 Commits
Author SHA1 Message Date
James MaesandClaude Fable 5.2 3f72cc0884 Merge develop into release/0.1 (fix(prune): a plan with an unfinished backup is pruned on real storage)
maven / build (push) Successful in 2m2s
build / maven (push) Successful in 2m2s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 05:46:16 -06:00
james.maes 6b2fa27261 Merge pull request 'fix(prune): a plan with an unfinished backup is pruned on real storage' (#59) from fix/prune-undated-debris into develop
maven / build (push) Successful in 2m5s
build / maven (push) Successful in 2m5s
2026-11-24 11:46:07 +00:00
James MaesandClaude Fable 5.2 f972d42403 fix(prune): a plan with an unfinished backup is pruned on real storage
maven / build (push) Successful in 2m59s
build / maven (push) Successful in 2m59s
A listing through the object-storage qbit dropped each object's
modification time, and the pruner compared those times to find backups
that never finished and are older than 7 days. With one failed run under
a plan every prune of that plan threw a NullPointerException, by hand and
on the daily schedule.

- the listing carries the modification time
- the pruner dates an unfinished backup by its run record where a storage
  lists no times, and never deletes as old what it cannot date
- the daily prune logs the stack trace of an unexpected failure

Found by a host's live check on a real bucket; the in-memory storage of
the tests supplies times. Tests: a storage that lists no times, in
BackupPrunerTest; the MinIO adapter test asserts the listing's times.
./mvnw verify: 234 tests, guardrails, help coverage and coverage pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 05:42:50 -06:00