Add AI handoff browser smoke
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-24 21:35:14 +02:00
parent 883240130c
commit aab51edee4
6 changed files with 229 additions and 0 deletions
+24
View File
@@ -3638,3 +3638,27 @@ Limitations:
Next recommended pass:
- After deploy and live validation, add a raster fixture/demo upload smoke so AI Labs and raster controls can be validated with a connected raster state.
## Sprint 101 AI Lab handoff browser smoke (2026-06-24)
Changed:
- Added `scripts/verify_ai_handoff_interactions.sh`.
- The script seeds the explicit offline demo workflow through the frontend-facing API, creates a small raster tile manifest, opens the browser workbench with Playwright/Chromium, clicks `Use in Detection Lab` and `Use in Segmentation Lab`, and verifies both AI Lab forms receive the selected raster dataset plus `Raster tile manifest path`.
- Added syntax coverage for the new script to `scripts/run_readiness_check.sh`.
- Added `backend/tests/test_sprint101_ai_handoff_interaction_smoke.py`.
- Updated `scripts/README.md` and `CHANGELOG.md`.
Tested:
- Red step: `python -m pytest backend\tests\test_sprint101_ai_handoff_interaction_smoke.py -q` failed while `scripts/verify_ai_handoff_interactions.sh` was absent.
- `python -m pytest backend\tests\test_sprint101_ai_handoff_interaction_smoke.py -q` (`1 passed`)
- `bash -n scripts/verify_ai_handoff_interactions.sh`
- Local Node Playwright availability check failed with `ERR_MODULE_NOT_FOUND`, so live browser-click execution requires Playwright to be installed or exposed in the runner environment.
Open:
- Complete broad validation, deploy and live runtime checks for this pass.
Limitations:
- Test/smoke tooling only; no product behavior, API contract, migration, AI dependency, provider fetching or model behavior changes.
Next recommended pass:
- After validation and deploy, keep using the AI handoff smoke as the browser-level regression guard for raster-to-AI workspace wiring.