Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions services/platform/backend/domains/files/blob-holders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ import { taskHoldsBlobRef } from '../tasks/blob-holders.ts';
*
* ONE predicate for every lane that deletes bytes outside the release seam:
* `deleteFile` once its own row is gone, the abandoned-upload sweep and the
* rejected-upload reclaim (`upload-intents.ts`), and a product's released
* managed image (`products/service.ts`). Each lane used to carry its own
* copy, and a copy that missed a holder deleted that holder's bytes: the
* reclaim asked about file rows alone and took a task's attachment
* (2026-10-03, #4104); the product image release asked about file rows and
* current documents and took one too (#4110). A new holder joins here, once,
* for all of them. The
* rejected-upload reclaim (`upload-intents.ts`), a product's released
* managed image (`products/service.ts`), and a video link's cleanup and
* unbound GC (`video_links/service.ts`, through `deleteUnheldOrgBlobRefs`).
* Each lane used to carry its own copy, or none, and a lane that missed a
* holder deleted that holder's bytes: the reclaim asked about file rows
* alone and took a task's attachment (2026-10-03, #4104); the product image
* release asked about file rows and current documents, and the video-link
* lanes asked nothing (#4110). A new holder joins here, once, for all of
* them. The
* release seam (`knowledge/liveness.ts`) asks a sibling question in the
* middle of a purge — live rows only, minus the document or file row being
* purged — and keeps its own statement for that reason.
Expand Down
Loading