fix: allow bounded PostGIS crash recovery
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-22 03:51:45 +02:00
parent c2101ea8f9
commit ab01c93d49
5 changed files with 22 additions and 3 deletions
@@ -47,6 +47,15 @@ def test_release_and_container_replacement_are_serialized() -> None:
assert "GeoIntel container removal did not complete within 60 seconds" in run_script
def test_release_waits_for_large_postgis_volume_recovery() -> None:
release_script = (ROOT / "deploy" / "unraid" / "deploy-release.sh").read_text(encoding="utf-8")
start_script = (ROOT / "deploy" / "unraid" / "all-in-one-start.sh").read_text(encoding="utf-8")
assert "for attempt in $(seq 1 480)" in release_script
assert "for attempt in $(seq 1 450)" in start_script
assert "PostGIS did not become ready within 15 minutes." in start_script
def test_runtime_configuration_is_validated_before_container_replacement() -> None:
run_script = (ROOT / "deploy" / "unraid" / "run-dockerman-container.sh").read_text(encoding="utf-8")