fix(perception): close integrated shadow packaging

This commit is contained in:
DCCONSTRUCTIONS
2026-08-27 11:39:48 +03:00
parent 7720594790
commit f153d671d3
3 changed files with 9 additions and 2 deletions
@@ -381,8 +381,13 @@ try {
}
$graphExit = [int](Get-Container $graphName).State.ExitCode
$tgsExit = [int](Get-Container $tgsName).State.ExitCode
(& docker logs $graphName 2>&1) | Set-Content -LiteralPath (Join-Path $runOutput "graph.log") -Encoding utf8
(& docker logs $tgsName 2>&1) | Set-Content -LiteralPath (Join-Path $runOutput "tgs.log") -Encoding utf8
$previousErrorAction = $ErrorActionPreference
$ErrorActionPreference = "Continue"
$graphLogs = & docker logs $graphName 2>&1
$tgsLogs = & docker logs $tgsName 2>&1
$ErrorActionPreference = $previousErrorAction
$graphLogs | Set-Content -LiteralPath (Join-Path $runOutput "graph.log") -Encoding utf8
$tgsLogs | Set-Content -LiteralPath (Join-Path $runOutput "tgs.log") -Encoding utf8
if ($graphExit -ne 0) { throw "M49 integrated graph failed with exit code $graphExit" }
if ($tgsExit -ne 0) { throw "M49 integrated TGS failed with exit code $tgsExit" }
@@ -23,6 +23,7 @@ SOURCES = (
Path("experiments/perception/run_m48s_reference_graph_shadow_worker.py"),
Path("experiments/perception/worker/rf_detr_large_native_kb4_config.pbtxt"),
Path("experiments/perception/worker/m49_t3_travel/prepare_tgs_fail_closed_inputs.py"),
Path("experiments/perception/worker/m49_t3_travel/build_tgs_fail_closed_evidence.py"),
Path("experiments/perception/worker/m49_t3_travel/prepare_tgs_full_shadow_inputs.py"),
Path("experiments/perception/worker/m49_t3_travel/run_tgs_full_shadow.cpp"),
Path("experiments/perception/worker/m49_t3_travel/build_tgs_full_shadow_binary.sh"),
@@ -204,5 +204,6 @@ def test_worker_artifact_is_deterministic_and_excludes_gauss(monkeypatch, tmp_pa
assert release_stream is not None
release = json.loads(release_stream.read())
assert not any("gauss" in name.lower() or "playcanvas" in name.lower() for name in names)
assert "payload/build_tgs_fail_closed_evidence.py" in names
assert release["scope"]["gauss_or_playcanvas_action"] == "none"
assert all(value is False for value in release["authority"].values())