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

Merged
james.maes merged 3 commits from merge/develop-into-release-0.1-0520 into release/0.1 2026-11-24 11:24:16 +00:00
Owner

Brings #57 from develop into the release branch, so that the next release candidate is published from it. No other change.

🤖 Generated with Claude Code

Brings #57 from develop into the release branch, so that the next release candidate is published from it. No other change. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
james.maes added 3 commits 2026-11-24 11:20:56 +00:00
fix(schedule): the daily prune prunes, and plans run on their schedule without a scheduled jobs table
maven / build (push) Successful in 1m25s
build / maven (push) Successful in 1m25s
2be9fc21db
The daily prune never deleted anything. Its schedule was on "Prune per
retention" (backupPrune), an action for a person that needs plans selected
and a review; a scheduler that started it was told "No records were
selected", logged a warning and went on, every day, in every host.

- backupPruneScheduled (BackupScheduledPruneProcess) prunes every active
  plan to its retention with nobody selecting anything, once a day
- a plan that cannot be pruned raises backups.prune.failed, cleared by its
  next good prune, and does not stop the others
- backupPrune has no schedule now

Plans did not run on their schedule in an application with no scheduled
jobs table: the sync to scheduled jobs logged "ScheduledJob table not
found" and did nothing, so such a host had to build a scheduler itself.

- backupRunDuePlans (BackupDuePlansProcess), once a minute on the qbit's
  scheduler, starts every active plan whose cron has come due since it
  last started and every verification that has come due; missed times
  collapse into one run
- where the application has scheduled jobs it starts nothing
- only the scheduler may run it

Tests: the prune started as the scheduler starts it deletes what the
retention no longer keeps (the same call on the old schedule deleted
nothing); one plan's trouble does not stop the others; six tests of the
due-plans process. ./mvnw verify: 233 tests, guardrails, help coverage
and code coverage pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
james.maes merged commit 790de11827 into release/0.1 2026-11-24 11:24:16 +00:00
Sign in to join this conversation.