MVP-4.3 · Data retention/cleanup of clones, blobs and work dirs #289

Closed
opened 2026-09-20 20:19:46 +00:00 by sharang · 0 comments
Owner

Goal

Customer source, blobs and work directories accumulate forever today. On an 8 GB node that is an availability problem, and for customer code it is a GDPR problem: erasure has to actually remove the data.

What to change

  • Clean up clones, blobs and work directories on target delete.
  • Clean up everything belonging to a tenant on tenant delete / terminate (MVP-1.4).
  • A TTL-based sweep for anything left behind.
  • Document the retention table alongside the data model (MVP-4.4).

Acceptance

  • Deleting a target removes its clone, blobs and work directories from disk, verified by a test.
  • DELETE data with the slug confirmation leaves nothing of the tenant on disk or in Mongo.
  • The TTL sweep runs on a timer and is metered so disk growth is visible.
  • The GDPR retention table matches the implemented behaviour.
## Goal Customer source, blobs and work directories accumulate forever today. On an 8 GB node that is an availability problem, and for customer code it is a GDPR problem: erasure has to actually remove the data. ## What to change - Clean up clones, blobs and work directories on target delete. - Clean up everything belonging to a tenant on tenant delete / terminate (MVP-1.4). - A TTL-based sweep for anything left behind. - Document the retention table alongside the data model (MVP-4.4). ## Acceptance - [ ] Deleting a target removes its clone, blobs and work directories from disk, verified by a test. - [ ] `DELETE data` with the slug confirmation leaves nothing of the tenant on disk or in Mongo. - [ ] The TTL sweep runs on a timer and is metered so disk growth is visible. - [ ] The GDPR retention table matches the implemented behaviour.
sharang added this to the Production MVP milestone 2026-09-20 20:19:46 +00:00
sharang added the securityinfrastructure labels 2026-09-20 20:19:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#289