Record raster smoke live status handling
This commit is contained in:
@@ -23,4 +23,5 @@ def test_demo_raster_workflow_smoke_is_registered_and_checks_core_raster_path()
|
||||
assert "manifest_path" in script
|
||||
assert "tile_paths" in script
|
||||
assert "raster.tile" in script
|
||||
assert "{\"success\", \"completed\"}" in script
|
||||
assert "Response is not a canonical GeoIntel data envelope" in script
|
||||
|
||||
@@ -24,6 +24,13 @@ Validation:
|
||||
- `cd backend && python -m alembic heads` passed: `202606120900 (head)`.
|
||||
- `cd backend && python -m alembic upgrade head --sql` passed.
|
||||
- `bash -n scripts/live_migration_smoke.sh` passed.
|
||||
- `powershell -NoProfile -ExecutionPolicy Bypass -File scripts\deploy_tower.ps1` passed and redeployed `7b093c0` to Tower on port 1202.
|
||||
- `bash scripts/verify_demo_raster_workflow.sh http://192.168.10.150:1202` initially proved the tile fix but exposed the existing job terminal status convention as `success` rather than `completed`; the smoke now accepts `success` and `completed`.
|
||||
- `bash scripts/verify_demo_raster_workflow.sh http://192.168.10.150:1202` passed after the smoke status fix: inspect, preview, stats and raster tile manifest all succeeded.
|
||||
- `bash scripts/verify_workbench_default_state.sh http://192.168.10.150:1202` passed after redeploy.
|
||||
- `bash scripts/verify_workbench_interactions.sh http://192.168.10.150:1202` passed after redeploy.
|
||||
- `bash scripts/verify_demo_export_workflow.sh http://192.168.10.150:1202` passed after redeploy.
|
||||
- `bash scripts/run_readiness_check.sh` passed again after the smoke status update.
|
||||
|
||||
Limitations:
|
||||
- The raster smoke creates a small tile set each run. It is appropriate for local/runtime validation, not high-volume benchmarking.
|
||||
|
||||
@@ -166,7 +166,7 @@ with open(path, "r", encoding="utf-8") as handle:
|
||||
job = json.load(handle)["data"]
|
||||
if job.get("job_type") != "raster.tile":
|
||||
raise SystemExit(f"Unexpected tile job_type: {job.get('job_type')}")
|
||||
if job.get("status") != "completed":
|
||||
if job.get("status") not in {"success", "completed"}:
|
||||
raise SystemExit(f"Raster tile job did not complete: {job.get('status')}")
|
||||
result = job.get("result_json") or {}
|
||||
if result.get("dataset_id") != raster_id:
|
||||
|
||||
Reference in New Issue
Block a user