Skip to content

Add configurable data retention workflow - #179

Merged
llbbl merged 1 commit into
masterfrom
feature/issue-130-data-retention
Sep 17, 2026
Merged

llbbl merged 1 commit into
masterfrom
feature/issue-130-data-retention

Conversation

@llbbl

@llbbl llbbl commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Closes #130

Summary

  • Add typed retention policies for message archives, archived messages, CSP reports, and audit events.
  • Implement dry-run, per-policy selection, archive delegation, and bounded deletion through retention:apply.
  • Document cron scheduling, hot-cold storage, backups, and manual database maintenance.

Testing

  • Focused retention tests: 9 tests, 31 assertions
  • composer test:all: 227 tests, 900 assertions
  • WebSocket tests: 7 tests, 60 assertions
  • composer analyse
  • composer cs-check
  • pnpm check
  • pnpm build
  • pnpm e2e: 6/6 passed
  • Independent PHP review: PASS
  • Mutation testing was not run because it is manual-only.

@llbbl
llbbl force-pushed the feature/issue-130-data-retention branch from 2a16fac to f2a1a17 Compare September 16, 2026 21:45
@llbbl
llbbl merged commit 1252ae8 into master Sep 17, 2026
8 checks passed
@llbbl
llbbl deleted the feature/issue-130-data-retention branch September 17, 2026 22:30
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.

Data retention: archive old messages, purge old auxiliary data

1 participant