[VS-NfD] Prune conversion job payloads for every job kind #233
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#233
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: n/a —
docs/vs-nfd/10-ist-aufnahme.md-> I-22ADR: n/a
Effort: M (2 AT)
Depends on: —
Context
The raw bytes of every import and export survive indefinitely in the
database. A deleted classified page therefore lives on inside its last
export — the kind of residue a deletion concept cannot leave unexplained.
Current state
ConversionJob.input/.resultare the raw document bytes(
apps/api/prisma/schema.prisma:746–784). The schema calls them"transient, not the durable copy an Attachment is" and refers to
"a later maintenance job" for pruning.
expiresAtis documented as set only for data-export jobs (#68) and"Null for every other job kind, whose result never expires".
version-thinning,page-compaction,trash-purge,data-export-purge,notification-digest— onlydata-export-purgetouches conversion jobrows (
apps/api/src/import-export/import-export.module.ts:62).Acceptance criteria
with a documented default; the row may survive for status/audit
purposes, the bytes must not.
lockedAtrecovery pathrespected) — asserted by test.
resultis null after the period; apending job is untouched.
docs/architecture/operations.mddocuments the job; #229 lists itunder deletion and destruction.
Out of scope
Changing where conversion happens, and the data-export purge that already
works.
Implemented in PR #254 (commit
ff505bc, CI run 510 green, fast-forward merged on Stefan's standing go-ahead for the M24 merges).Evidence against the acceptance criteria:
CD verification follows on the main-push run.