Harden demo export cleanup safety
This commit is contained in:
+3
-1
@@ -187,7 +187,9 @@ bash scripts/live_migration_smoke.sh
|
||||
- No new migrations, product lines, live providers or AI dependencies are introduced by this export pass.
|
||||
- Old offline demo export artifacts can be inspected with `python scripts/cleanup_demo_artifacts.py`
|
||||
and removed only with an explicit `--apply`. The script keeps the newest exports
|
||||
per demo project and refuses to delete files outside `STORAGE_ROOT`.
|
||||
per demo project, refuses to delete files outside `STORAGE_ROOT`, and blocks
|
||||
apply runs above `--max-delete` until the cap is raised after a dry-run review.
|
||||
Use repeated `--export-type` values to target only specific artifact kinds.
|
||||
In Docker, use `docker compose exec -T backend python scripts/cleanup_demo_artifacts.py`.
|
||||
|
||||
## Run locally
|
||||
|
||||
Reference in New Issue
Block a user