Node.js 24 Runbook for Explicit Retention Gates Before Deleting Campaign Images and Videos
Short answer: Give every temporary image and generated video an explicit retention deadline, preserve source and derivative IDs separately, and delete only one confirmed ID per idempotent operation. Temporary campaign media needs a deletion contract, not a vague retention hope. For a B2B SaaS uploader that creates responsive thumbnails and occasionally generated videos, keep source and derivative…
The report outlines a retention and deletion workflow for temporary campaign media in a Node.js 24 environment, emphasizing the importance of explicit retention deadlines for each asset. It recommends maintaining separate identifiers for source and derivative objects, storing these IDs within campaign records, and adhering to a deletion contract that includes asset ID, kind (source, thumbnail, or video), delete-after timestamp, and confirmation state.
The report stresses the need for individual deletion operations, using a queue message per confirmed ID to ensure deduplication and prevent retries from causing further deletions. Additionally, it advises checking for legal holds, exports, or support cases that might extend retention before proceeding with deletion. The overarching goal is to maintain data integrity, prevent accidental loss of critical assets, and ensure that cleanup operations are auditable and explainable for on-call engineers.
Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.