From 8855aa8390924cc26abae23b291367ce87bead81 Mon Sep 17 00:00:00 2001 From: Codex Date: Tue, 23 Jun 2026 01:50:47 +0200 Subject: [PATCH] Record raster smoke live status handling --- backend/tests/test_sprint98_raster_workflow_smoke.py | 1 + docs/CODEX_EXECUTION_LOG.md | 7 +++++++ scripts/verify_demo_raster_workflow.sh | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/tests/test_sprint98_raster_workflow_smoke.py b/backend/tests/test_sprint98_raster_workflow_smoke.py index e046cb2d..bcd1e42a 100644 --- a/backend/tests/test_sprint98_raster_workflow_smoke.py +++ b/backend/tests/test_sprint98_raster_workflow_smoke.py @@ -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 diff --git a/docs/CODEX_EXECUTION_LOG.md b/docs/CODEX_EXECUTION_LOG.md index d3d8c4e9..66da1c69 100644 --- a/docs/CODEX_EXECUTION_LOG.md +++ b/docs/CODEX_EXECUTION_LOG.md @@ -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. diff --git a/scripts/verify_demo_raster_workflow.sh b/scripts/verify_demo_raster_workflow.sh index 53542199..966ff7b0 100644 --- a/scripts/verify_demo_raster_workflow.sh +++ b/scripts/verify_demo_raster_workflow.sh @@ -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: