Add demo cleanup dry-run smoke
This commit is contained in:
@@ -2294,3 +2294,28 @@ Limitations:
|
||||
|
||||
Next recommended pass:
|
||||
- Add a small live maintenance smoke that runs cleanup in dry-run mode through the deployed all-in-one container.
|
||||
|
||||
## Sprint 58 demo cleanup dry-run smoke (2026-06-18)
|
||||
|
||||
Changed:
|
||||
- Added `scripts/verify_demo_cleanup_dry_run.sh` as a live maintenance smoke for the demo export cleanup path.
|
||||
- The smoke auto-detects a running compose backend or all-in-one `geointel` container, with explicit `CLEANUP_MODE=local|compose|container` overrides.
|
||||
- The smoke runs cleanup without `--apply`, then verifies `dry_run=true`, `deleted_export_count=0`, `deleted_files=[]`, expected filter settings and candidate dry-run fields.
|
||||
- Added the smoke syntax check to `scripts/run_readiness_check.sh`.
|
||||
- Added regression coverage that the readiness gate checks the smoke and that the smoke contract remains non-mutating.
|
||||
- Updated `scripts/README.md`, `docs/STORAGE_ARCHITECTURE.md`, `backend/README.md`, `docs/TODO.md` and `CHANGELOG.md`.
|
||||
|
||||
Tested:
|
||||
- `bash -n scripts/verify_demo_cleanup_dry_run.sh`
|
||||
- `python -m py_compile scripts/cleanup_demo_artifacts.py backend/scripts/cleanup_demo_artifacts.py`
|
||||
- `cd backend && python -m pytest tests/test_readiness_gate.py tests/test_sprint24_cleanup_demo_artifacts.py -q` (`18 passed`)
|
||||
- `bash scripts/run_readiness_check.sh` (`219 passed`)
|
||||
|
||||
Open:
|
||||
- Commit, deploy Tower, then run the live smoke against Tower's all-in-one container.
|
||||
|
||||
Limitations:
|
||||
- The readiness gate checks this live smoke's syntax only. The actual cleanup dry-run still requires a running backend/PostGIS runtime.
|
||||
|
||||
Next recommended pass:
|
||||
- Add browser screenshot artifact automation for visual regression handoff.
|
||||
|
||||
Reference in New Issue
Block a user