Record raster smoke live status handling
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-23 01:50:47 +02:00
parent 7b093c0838
commit 8855aa8390
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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: