Make YOLO preflight runnable in backend container
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 02:02:17 +02:00
parent 3f1a686bef
commit 382dcadec4
8 changed files with 89 additions and 52 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
## Sprint 25 YOLO compatibility smoke hardening (2026-06-17)
Changed:
- Added explicit `--check-model-load` support to `scripts/yolo_preflight.py` and `YoloPreflightService`.
- Added explicit `--check-model-load` support to `scripts/yolo_preflight.py`, `backend/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.
- Added Python compile validation for both YOLO preflight entrypoints to the readiness gate.
- Updated AI pipeline, scripts, backend, TODO and changelog docs, including Docker runtime usage.
Validation:
- `python -m py_compile scripts/yolo_preflight.py` passed.