DashboardcraftEnforce preview deployment lifecycle, f…

Enforce preview deployment lifecycle, fork safety, and cleanup invariants

Category: preference
Confidence: 1.00
ID: 01a0349c-8bbe-7c4b-8af0-4b87cab6ad9a
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 1
Source session: 1L9sL25imLPDEqx1x
Created: 2026-08-04 12:01:05
Updated: 2026-08-24 16:31:09

Cross-Project Recalls

ProjectHitsLast recalled
cli 1 24d ago

Content

PR preview/deployment workflows must: trigger cleanup when a PR closes so preview storage never grows unbounded; skip deployment and cleanup for fork PRs because they lack write permissions; delete previews only based on authoritative closure or verified inactivity, never age/count heuristics that can remove live previews; and use metadata-only/API/blobless cleanup rather than downloading large artifacts. Handle missing events and cleanup timing, validate these safeguards in every workflow change, and prefer designs that eliminate the failure class, such as auto-expiring previews.

Move to: