You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(bff): retention sweep for the app-tier audit trail (erweb.audit) #897
Deferred from #885 (E4 #519). The dispatcher now purges er-server's audit_log and settled webhook_deliveries past ER_AUDIT_RETENTION_DAYS (floor 400 days), but the APP-TIER trail — erweb.audit (drizzle, four indexes, no TTL), the one holding logins and impersonation — has no sweep; its retention is only the infra D-RETENTION decision as prose. The BFF has no daemon, so the mechanism needs choosing (a sweep on an authenticated admin request path with a last-run row, a pg_cron-style scheduled statement on Aurora, or a dispatcher-side cross-schema delete). D-RETENTION's amendment in this PR records the gap.
Done when: rows older than the window are retired on a schedule, the floor is clamped like pg::retention_days_from, and the purge is tested the way pg_audit.rs tests the er-server one.
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.
Activity
athvin commentedon Nov 27, 2026
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled
prunedand can be reopened later.