Make demo cleanup runnable in backend container
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
## Sprint 24 demo/export artifact cleanup tooling (2026-06-17)
|
||||
|
||||
- Added `scripts/cleanup_demo_artifacts.py`, a dry-run-first maintenance script for old offline demo export artifacts.
|
||||
- Added the same cleanup entrypoint under `backend/scripts/` so it can run inside the backend Docker container.
|
||||
- The cleanup keeps the newest exports per matching demo project, deletes only explicit `exports` rows/files when `--apply` is set and refuses file deletion outside `STORAGE_ROOT`.
|
||||
- Added tests for cleanup candidate selection, storage-root path safety and readiness gate coverage.
|
||||
- Added the cleanup script to the main readiness gate via Python compile validation.
|
||||
|
||||
Reference in New Issue
Block a user