Skip to content

feat: [P3] Audit log rotation (currently unbounded)#26

Merged
Railly merged 1 commit into
mainfrom
afk/issue-20-p3-audit-log-rotation-currently-unbounded
May 2, 2026
Merged

feat: [P3] Audit log rotation (currently unbounded)#26
Railly merged 1 commit into
mainfrom
afk/issue-20-p3-audit-log-rotation-currently-unbounded

Conversation

@Railly
Copy link
Copy Markdown
Contributor

@Railly Railly commented May 2, 2026

Summary

  • rotate audit writes to monthly JSONL files and auto-compact older active months into gzip archives
  • add sunat audit compact and sunat audit prune --before YYYY-MM with recovery paths for archived months
  • keep cpe doctor stale_pendings and idempotency reads on active logs only, plus add coverage for compaction/prune flows

Validation

  • bun run test
  • bun run check still fails on pre-existing repo-wide Biome diagnostics outside this issue after the command became runnable in this workspace

Closes #20

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sunat-cli-website Ready Ready Preview, Comment May 2, 2026 4:38am

@Railly Railly marked this pull request as ready for review May 2, 2026 05:41
@Railly Railly merged commit dbaeec3 into main May 2, 2026
3 checks passed
@Railly Railly deleted the afk/issue-20-p3-audit-log-rotation-currently-unbounded branch May 2, 2026 05: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.

[P3] Audit log rotation (currently unbounded)

1 participant