Skip to content

Add retention governance for v0.43.0 - #94

Merged
crypt0rr merged 2 commits into
mainfrom
codex/v0.43-retention-governance
Aug 14, 2026
Merged

Add retention governance for v0.43.0#94
crypt0rr merged 2 commits into
mainfrom
codex/v0.43-retention-governance

Conversation

@crypt0rr

Copy link
Copy Markdown
Owner

What changed

  • add an administrator-facing retention dry run and explicitly confirmed cleanup action for bounded operational state;
  • retain notification events, deliveries, inbox state, blocked work, and delivery-attempt audit records indefinitely for existing accounts;
  • make the existing maintenance windows configurable through an in-memory retention policy while keeping conservative defaults;
  • align the Docker and CI toolchain on the pinned patched Go 1.25.6 release and validate that drift in make tooling-check;
  • update documentation and tests for the new retention governance behavior.

Why

Operational records previously had maintenance behavior but no visible policy or safe operator workflow. This makes the eligible state inspectable and cleanup deliberate without silently removing notification history.

Impact

Administrators can review candidate counts in the Admin interface and must explicitly confirm cleanup. Existing event and delivery history is preserved; account deletion semantics are unchanged. Runtime/provider behavior and routes are otherwise unchanged.

Validation

  • gofmt
  • go test ./... -count=1
  • go vet ./...
  • go test -race ./... -count=1
  • make coverage
  • make lint
  • make vuln
  • make tooling-check
  • docker build --target test .
  • docker build -t artist-trackarr:v0.43.0 .
  • scripts/container-smoke.sh artist-trackarr:v0.43.0

@crypt0rr
crypt0rr marked this pull request as ready for review August 14, 2026 10:41
@crypt0rr
crypt0rr merged commit 521cd09 into main Aug 14, 2026
3 checks passed
@crypt0rr
crypt0rr deleted the codex/v0.43-retention-governance branch August 14, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant