diff --git a/experiments/perception/worker/observatory_portable/Invoke-M49PortableExecutorCandidateInstall.ps1 b/experiments/perception/worker/observatory_portable/Invoke-M49PortableExecutorCandidateInstall.ps1 index ec3688b..9aa81e4 100644 --- a/experiments/perception/worker/observatory_portable/Invoke-M49PortableExecutorCandidateInstall.ps1 +++ b/experiments/perception/worker/observatory_portable/Invoke-M49PortableExecutorCandidateInstall.ps1 @@ -130,7 +130,7 @@ $manifestPath = Resolve-DFile (Join-Path $sourceRoot "release-manifest.json") "p $manifest = Get-Content -LiteralPath $manifestPath -Raw | ConvertFrom-Json if ( [string]$manifest.candidate_sha256 -cne $CandidateId -or - [string]$manifest.source_state -cne "uncommitted-candidate" -or + [string]$manifest.source_state -cne "committed-snapshot" -or [string]$manifest.state -cne "blocked" -or [string]$manifest.travel_build_image_sha256 -cne $BaseImageId.Substring(7) -or [string]$manifest.profile_sha256 -cne $ProfileSha256 -or @@ -347,7 +347,7 @@ $releaseDocument = [ordered]@{ network = "none" result = "passed" } - blockers = @("committed-source-snapshot-missing") + blockers = @("runtime-registry-promotion-pending") authority = $Authority } $releasePath = Join-Path $installed "executor-release-candidate.json" @@ -376,7 +376,7 @@ $receipt = [ordered]@{ fixture_smoke = "passed" protected_runtime = $protectedIdentities legacy_m49_task_state = if ($null -eq $legacyTaskAfter) { $null } else { [string]$legacyTaskAfter.State } - blockers = @("committed-source-snapshot-missing") + blockers = @("runtime-registry-promotion-pending") authority = $Authority } $receiptPath = Join-Path $installed "worker-installation-receipt.json" @@ -396,6 +396,6 @@ $receiptSha256 = Get-Sha256 $receiptPath compiled_runner_build_seal_sha256 = $buildSealSha256 worker_installation_receipt_sha256 = $receiptSha256 fixture_smoke = "passed" - blocker = "committed-source-snapshot-missing" + blocker = "runtime-registry-promotion-pending" release_root = $releaseRoot } | ConvertTo-Json -Compress diff --git a/tests/test_m49_portable_executor_release.py b/tests/test_m49_portable_executor_release.py index d08ea42..a7cf741 100644 --- a/tests/test_m49_portable_executor_release.py +++ b/tests/test_m49_portable_executor_release.py @@ -822,7 +822,8 @@ def test_executor_release_candidate_is_deterministic_blocked_and_tamper_evident( installer = INSTALLER_PATH.read_text(encoding="utf-8") assert "--pull=false --no-cache --network none" in installer assert "--network none --read-only" in installer - assert "committed-source-snapshot-missing" in installer + assert '[string]$manifest.source_state -cne "committed-snapshot"' in installer + assert "runtime-registry-promotion-pending" in installer assert "MissionCore-M49TgsFullShadow" in installer changed = source_root / "src" / "k1link" / "observatory" / "m49_portable_result.py"