fix(ci): restore release gates and contract baseline (fixes #4)
Managed validation / full (pull_request) Canceled after 0s
GeoIntel release gates / Compile, test, contracts and builds (pull_request) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (pull_request) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (pull_request) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Failing after 22s
GeoIntel release gates / Compile, test, contracts and builds (push) Waiting to run
GeoIntel release gates / GIS image, SBOM and container scan (push) Failing after 45s

This commit is contained in:
NuklearRabbit
2026-08-29 02:00:23 +02:00
parent d39f703abf
commit edb762219c
38 changed files with 133 additions and 96 deletions
@@ -8,7 +8,7 @@ ROOT = Path(__file__).resolve().parents[2]
def test_app_uses_shared_orchestration_hooks() -> None:
app = (ROOT / "frontend" / "src" / "App.tsx").read_text(encoding="utf-8")
app = (ROOT / "frontend" / "src" / "WorkbenchApp.tsx").read_text(encoding="utf-8")
assert "useProjectWorkspace" in app
assert "useDemoWorkflow" in app
@@ -31,7 +31,7 @@ def test_app_uses_shared_orchestration_hooks() -> None:
def test_app_entrypoint_has_clean_encoding_and_react_imports() -> None:
app_path = ROOT / "frontend" / "src" / "App.tsx"
app_path = ROOT / "frontend" / "src" / "WorkbenchApp.tsx"
app_bytes = app_path.read_bytes()
app = app_path.read_text(encoding="utf-8")
@@ -61,21 +61,21 @@ def test_demo_workflow_hook_owns_demo_api_and_cross_module_selection() -> None:
def test_workbench_bootstrap_hook_owns_entrypoint_effects() -> None:
app = (ROOT / "frontend" / "src" / "App.tsx").read_text(encoding="utf-8")
app = read_feature("shell")
hook = read_feature("shell")
assert "loadProjects().catch(() => null)" not in app
assert "loadDetectionResults().catch(() => null)" not in app
assert "loadSegmentationResults().catch(() => null)" not in app
assert "loadProjects().catch(() => null)" in hook
assert "loadCapabilities().catch(() => null)" in hook
assert "loadDetectionModels().catch(() => null)" in hook
assert "loadSegmentationModels().catch(() => null)" in hook
assert "loadProjects().catch(meld('werkruimtes'))" in hook
assert "loadCapabilities().catch(meld('bronkoppelingen'))" in hook
assert "loadDetectionModels().catch(meld('detectiemodellen'))" in hook
assert "loadSegmentationModels().catch(meld('segmentatiemodellen'))" in hook
assert "resetProjectData()" in hook
assert "resetDatasetForProject()" in hook
assert "loadProjectData(selectedProjectId).catch(() => null)" in hook
assert "loadDetectionResults().catch(() => null)" in hook
assert "loadSegmentationResults().catch(() => null)" in hook
assert "loadProjectData(selectedProjectId).catch(meld('gebieden en bronnen'))" in hook
assert "loadDetectionResults().catch(meld('detectieresultaten'))" in hook
assert "loadSegmentationResults().catch(meld('segmentatieresultaten'))" in hook
def test_project_workspace_hook_owns_project_area_dataset_loading() -> None: