Harden YOLO compatibility preflight
This commit is contained in:
@@ -1,3 +1,23 @@
|
||||
## Sprint 25 YOLO compatibility smoke hardening (2026-06-17)
|
||||
|
||||
Changed:
|
||||
- Added explicit `--check-model-load` support to `scripts/yolo_preflight.py` and `YoloPreflightService`.
|
||||
- The model-load smoke requires real optional AI dependencies, loads only an existing local model file, runs no inference and does not download weights.
|
||||
- The CLI rejects `--check-model-load` with `--assume-dependencies` to avoid false-positive AI readiness.
|
||||
- Added regression tests for mocked successful load, load failure reporting and CLI guard behavior.
|
||||
- Added Python compile validation for `scripts/yolo_preflight.py` to the readiness gate.
|
||||
- Updated AI pipeline, scripts, backend, TODO and changelog docs.
|
||||
|
||||
Validation:
|
||||
- `python -m py_compile scripts/yolo_preflight.py` passed.
|
||||
- `python -m pytest backend/tests/test_sprint13_yolo_preflight.py backend/tests/test_readiness_gate.py` passed: 14 tests.
|
||||
- `bash scripts/run_readiness_check.sh` passed: 156 backend tests, frontend typecheck/build, Alembic head check and script syntax checks.
|
||||
- `python -m compileall backend/app` passed.
|
||||
- `cd backend && python -m alembic upgrade head --sql` passed.
|
||||
- `bash -n scripts/live_migration_smoke.sh` passed.
|
||||
|
||||
Notes:
|
||||
- No base dependencies, API contracts, migrations, product features, provider fetching or detection persistence behavior changed.
|
||||
## Sprint 24 demo/export artifact cleanup tooling (2026-06-17)
|
||||
|
||||
Changed:
|
||||
|
||||
Reference in New Issue
Block a user