Fix manual forget payload and dry-run execution #39

Merged
steve merged 1 commits from fix-issue-36-manual-forget into main 2026-08-22 09:56:12 +01:00
Owner

Summary

  • resolve host retention groups for HTTP-triggered forget jobs just like scheduled forget
  • accept and propagate only the safe --dry-run option through the agent to every restic forget invocation
  • reject hosts without configured retention before creating a job
  • keep scheduler database failures distinct from hosts with no retention policy
  • add HTTP and restic regression coverage

Verification

  • go test ./...
  • go vet ./...
  • git diff --check

Fixes #36

## Summary - resolve host retention groups for HTTP-triggered forget jobs just like scheduled forget - accept and propagate only the safe `--dry-run` option through the agent to every restic forget invocation - reject hosts without configured retention before creating a job - keep scheduler database failures distinct from hosts with no retention policy - add HTTP and restic regression coverage ## Verification - go test ./... - go vet ./... - git diff --check Fixes #36
steve added 1 commit 2026-08-22 09:53:38 +01:00
fix(forget): populate retention groups for manual runs
CI / Test (store) (pull_request) Successful in 5s
CI / Lint (pull_request) Successful in 10s
CI / Build (windows/amd64) (pull_request) Successful in 7s
CI / Build (linux/amd64) (pull_request) Successful in 8s
CI / Build (linux/arm64) (pull_request) Successful in 7s
CI / Test (rest) (pull_request) Successful in 39s
CI / Test (server-http) (pull_request) Successful in 1m37s
e2e / Playwright vs docker-compose (pull_request) Successful in 1m16s
31f53d65a7
steve merged commit 904c522a23 into main 2026-08-22 09:56:12 +01:00
steve deleted branch fix-issue-36-manual-forget 2026-08-22 09:56:13 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: steve/restic-manager#39