[VS-NfD] Implement pond purge #193
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#193
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan reference:
20-massnahmenplan.md-> Phase 2ADR: n/a
Effort: M (3 AT)
Depends on: —
Context
Deletion must actually delete. A trashed pond that stays in the database
forever is an unbounded residue of classified content and unanswerable in
a "deletion and destruction" chapter of the operations manual.
Current state
Pond.deletedAt/deletedByimplement a pond-level trash(
apps/api/prisma/schema.prisma:175,186, ADR 0013).apps/api/src/trash/trash.service.ts(
purgeNow:96,purgeDuePages:104,purgePage:121) and the endpointapps/api/src/trash/trash.controller.ts:26. No equivalent for ponds.Acceptance criteria
transaction-safe sequence: pages, revisions,
page_updates,page_content_cacherows (including the search vector),attachments on disk, labels, links, comments, favorites, watches, and
pond-level grants.
resumable (a purge that races another is a no-op, as for pages).
search for content of the purged pond returns nothing.
docs/architecture/operations.mddocuments retention behaviour;operations manual (#229) covers it under deletion and destruction.
Out of scope
Purge of user accounts (already covered by existing pseudonymization) and
the orphan-file sweep (#194).
Delivered by PR #248 (
402b22e), merged to main fast-forward (self-merge per Stefans standing go for this flow). CI run 490 green. Closing.