Add split promotion preflight
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-07-10 13:49:00 +02:00
parent 947ad6784d
commit 3d4bcb1c6e
7 changed files with 157 additions and 6 deletions
@@ -23,6 +23,18 @@ def test_split_background_promotion_workflow_runs_split_then_split_aware_report(
assert "promote model default" not in source.lower()
def test_split_background_promotion_workflow_has_safe_preflight_mode() -> None:
source = (ROOT / "scripts" / "run_split_background_promotion_workflow.sh").read_text(encoding="utf-8")
assert "--preflight-only" in source
assert "PREFLIGHT_ONLY" in source
assert "curl -fsS" in source
assert "OPERATOR_SAMPLE_MANIFEST_PATH is required" in source
assert "pure_empty_negative" in source
assert "sparse_building_context" in source
assert "Split-background promotion preflight passed" in source
def test_readiness_checks_split_background_promotion_workflow_syntax() -> None:
readiness = (ROOT / "scripts" / "run_readiness_check.sh").read_text(encoding="utf-8")