Skip to content

File deletion: soft-delete + background hard-delete #231

Description

@codebestia

Implement soft-delete (files.deletedAt) on message retraction/expiry, and a background job that hard-deletes storage objects with no remaining message references. Ensure ref-counting across multi-device envelopes — a file is dead only when all referencing messages are gone.

Acceptance criteria:

  • Soft-delete immediate; hard-delete via background job
  • Object removed from storage only when unreferenced
  • Job is idempotent + safe to retry

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions