Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Overlap inert release staging and qualification
rcourtmanc661bdab5702
diff --git a/.github/workflows/build-release-candidate.yml b/.github/workflows/build-release-candidate.ymlindex cc4ef8c44b..54beb3bc36 100644--- a/.github/workflows/build-release-candidate.yml+++ b/.github/workflows/build-release-candidate.yml@@ -7,6 +7,11 @@ on:description: 'Version number without the leading v'required: truetype: string+ qualify_containers:+ description: 'Run exact-candidate container and Helm qualification'+ required: false+ default: true+ type: booleanrequire_macos_signing:description: 'Require Developer ID signed and notarized macOS agent binaries'required: false@@ -31,6 +36,11 @@ on:description: 'Version number without the leading v'required: truetype: string+ qualify_containers:+ description: 'Run exact-candidate container and Helm qualification'+ required: false+ default: true+ type: booleanrequire_macos_signing:description: 'Require Developer ID signed and notarized macOS agent binaries'required: false@@ -745,144 +755,13 @@ jobs:overwrite: truequalify-release-containers:- name: Exact-Candidate Container and Helm Smoke+ name: Qualify Exact-Candidate Containersneeds: build- if: ${{ always() && needs.build.result == 'success' }}- runs-on: [self-hosted, Linux, X64, pulse-pve-build]- timeout-minutes: 15- steps:- - name: Checkout repository- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3-- - name: Download exact-candidate container payload- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1- with:- name: ${{ needs.build.outputs.container_artifact_name }}- path: ${{ runner.temp }}/release-container-payload-- - name: Verify exact-candidate container payload- run: |- python3 scripts/release_candidate_manifest.py verify-local \- --release-dir "$RUNNER_TEMP/release-container-payload/payload" \- --manifest "$RUNNER_TEMP/release-container-payload/release-container-payload.json" \- --version "${{ inputs.version }}" \- --source-sha "${GITHUB_SHA}"-- - name: Assemble exact-candidate runtime and agent images- run: |- set -euo pipefail- docker buildx build \- --target runtime_prebuilt \- --platform linux/amd64 \- --build-context "release_payload=${RUNNER_TEMP}/release-container-payload/payload/release" \- --load \- --tag "pulse-helm-smoke:${{ inputs.version }}" \- .- docker buildx build \- --target agent_runtime_prebuilt \- --platform linux/amd64 \- --build-context "release_payload=${RUNNER_TEMP}/release-container-payload/payload/release" \- --load \- --tag "pulse-agent-candidate:${{ inputs.version }}" \- .- docker buildx build \- --file deploy/provider-msp/Dockerfile.control-plane \- --target control_plane_prebuilt \- --platform linux/amd64 \- --build-context "compiled_payload=${RUNNER_TEMP}/release-container-payload/payload/compiled" \- --load \- --tag "pulse-control-plane-candidate:${{ inputs.version }}" \- .-- - name: Verify container binaries match immutable candidate- run: |- set -euo pipefail- expected_server="$(sha256sum "$RUNNER_TEMP/release-container-payload/payload/release/amd64/bin/pulse" | awk '{print $1}')"- actual_server="$(docker run --rm --entrypoint /bin/sh "pulse-helm-smoke:${{ inputs.version }}" -c 'sha256sum /app/pulse' | awk '{print $1}')"- expected_agent="$(sha256sum "$RUNNER_TEMP/release-container-payload/payload/release/amd64/bin/pulse-agent-linux-amd64" | awk '{print $1}')"- actual_agent="$(docker run --rm --entrypoint /bin/sh "pulse-agent-candidate:${{ inputs.version }}" -c 'sha256sum /usr/local/bin/pulse-agent' | awk '{print $1}')"- expected_control_plane="$(sha256sum "$RUNNER_TEMP/release-container-payload/payload/compiled/binaries/pulse-control-plane-linux-amd64" | awk '{print $1}')"- actual_control_plane="$(docker run --rm --entrypoint /bin/sh "pulse-control-plane-candidate:${{ inputs.version }}" -c 'sha256sum /usr/local/bin/pulse-control-plane' | awk '{print $1}')"- test "${actual_server}" = "${expected_server}"- test "${actual_agent}" = "${expected_agent}"- test "${actual_control_plane}" = "${expected_control_plane}"-- - name: Set up Helm- uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0- with:- version: v3.15.2-- - name: Helm smoke test with local release-line image- env:- SMOKE_IMAGE_REPOSITORY: pulse-helm-smoke- SMOKE_IMAGE_TAG: ${{ inputs.version }}- run: |- set -euo pipefail-- cleanup() {- kind delete cluster --name pulse-test >/dev/null 2>&1 || true- }-- diagnose() {- echo "::group::helm status"- helm status pulse || true- echo "::endgroup::"-- echo "::group::kubectl get all"- kubectl get all -A || true- echo "::endgroup::"-- echo "::group::kubectl describe pods"- kubectl describe pods -A || true- echo "::endgroup::"-- echo "::group::pod logs"- pods=$(kubectl get pods -A -o name 2>/dev/null || true)- for pod in $pods; do- echo "### ${pod}"- kubectl logs --all-containers=true --tail=200 "$pod" || true- done- echo "::endgroup::"-- echo "::group::events"- kubectl get events -A --sort-by=.lastTimestamp || kubectl get events -A || true- echo "::endgroup::"-- cleanup- }-- trap 'diagnose' ERR-- curl -fsSL -o "$RUNNER_TEMP/kind" https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64- chmod +x "$RUNNER_TEMP/kind"- export PATH="$RUNNER_TEMP:$PATH"-- cleanup- kind create cluster --name pulse-test --wait 5m- kind load docker-image "${SMOKE_IMAGE_REPOSITORY}:${SMOKE_IMAGE_TAG}" --name pulse-test-- helm install pulse deploy/helm/pulse \- --set persistence.enabled=false \- --set server.secretEnv.create=true \- --set server.secretEnv.data.API_TOKENS=test-token \- --set image.repository="${SMOKE_IMAGE_REPOSITORY}" \- --set image.tag="${SMOKE_IMAGE_TAG}" \- --set image.pullPolicy=Never \- --wait --timeout 5m --debug-- kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=pulse --timeout=180s || (kubectl describe pods -l app.kubernetes.io/name=pulse && exit 1)- kubectl get pods -l app.kubernetes.io/name=pulse-- helm upgrade pulse deploy/helm/pulse \- --set persistence.enabled=false \- --set server.secretEnv.create=true \- --set server.secretEnv.data.API_TOKENS=test-token \- --set image.repository="${SMOKE_IMAGE_REPOSITORY}" \- --set image.tag="${SMOKE_IMAGE_TAG}" \- --set image.pullPolicy=Never \- --wait --timeout 5m --debug-- trap - ERR- cleanup-- echo "✓ Helm smoke test passed"+ if: ${{ always() && inputs.qualify_containers && needs.build.result == 'success' }}+ permissions:+ contents: read+ uses: ./.github/workflows/qualify-release-containers.yml+ with:+ version: ${{ inputs.version }}+ container_artifact: ${{ needs.build.outputs.container_artifact_name }}+ source_sha: ${{ github.sha }}diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.ymlindex 6f609b9115..5b207972fb 100644--- a/.github/workflows/create-release.yml+++ b/.github/workflows/create-release.yml@@ -244,10 +244,25 @@ jobs:secrets: inheritwith:version: ${{ needs.prepare.outputs.version }}+ qualify_containers: falserequire_macos_signing: truerequire_windows_signing: ${{ needs.prepare.outputs.require_windows_signing == 'true' }}windows_signing_backend: signpath+ qualify_release_containers:+ name: Qualify Exact-Candidate Containers+ needs:+ - prepare+ - build_release_candidate+ if: ${{ always() && needs.prepare.result == 'success' && needs.build_release_candidate.result == 'success' && needs.prepare.outputs.historical_asset_backfill_only != 'true' }}+ permissions:+ contents: read+ uses: ./.github/workflows/qualify-release-containers.yml+ with:+ version: ${{ needs.prepare.outputs.version }}+ container_artifact: ${{ needs.build_release_candidate.outputs.container_artifact_name }}+ source_sha: ${{ github.sha }}+# Build the embed bundle independently so backend and smoke lanes can start# without waiting for the full frontend quality suite.frontend_bundle:@@ -643,15 +658,9 @@ jobs:needs:- prepare- build_release_candidate- - frontend_bundle- - frontend_checks- - windows_install_command_smoke- - backend_tests- - integration_tests- - release_smoke- # Run if integration_tests passed OR was skipped (prereleases). The- # release smoke has no skipped escape: it runs for prereleases too.- if: ${{ needs.prepare.outputs.historical_asset_backfill_only != 'true' && always() && needs.build_release_candidate.result == 'success' && needs.frontend_bundle.result == 'success' && needs.frontend_checks.result == 'success' && needs.windows_install_command_smoke.result == 'success' && needs.backend_tests.result == 'success' && needs.release_smoke.result == 'success' && (needs.integration_tests.result == 'success' || needs.integration_tests.result == 'skipped') }}+ # Draft metadata and immutable assets are inert staging. Qualification is+ # joined at release_readiness before any activation boundary can open.+ if: ${{ needs.prepare.outputs.historical_asset_backfill_only != 'true' && always() && needs.prepare.result == 'success' && needs.build_release_candidate.result == 'success' }}runs-on: ubuntu-24.04timeout-minutes: 30permissions:@@ -1078,8 +1087,9 @@ jobs:needs:- prepare- build_release_candidate+ - qualify_release_containers- create_release- if: ${{ always() && needs.prepare.result == 'success' && needs.build_release_candidate.result == 'success' && needs.create_release.result == 'success' && needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true' }}+ if: ${{ always() && needs.prepare.result == 'success' && needs.build_release_candidate.result == 'success' && needs.qualify_release_containers.result == 'success' && needs.create_release.result == 'success' && needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true' }}permissions:contents: readpackages: write@@ -1178,13 +1188,21 @@ jobs:release_readiness:needs:- prepare+ - build_release_candidate+ - qualify_release_containers+ - frontend_bundle+ - frontend_checks+ - windows_install_command_smoke+ - backend_tests+ - integration_tests+ - release_smoke- create_release- publish_docker- validate_release_assets- install_sh_smoke- publish_helm_chart- stage_private_pro_runtime- if: ${{ always() && needs.prepare.result == 'success' && needs.create_release.result == 'success' && needs.publish_docker.result == 'success' && needs.validate_release_assets.result == 'success' && needs.install_sh_smoke.result == 'success' && needs.publish_helm_chart.result == 'success' && ( !startsWith(needs.prepare.outputs.version, '6.') || needs.stage_private_pro_runtime.result == 'success' ) && needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true' }}+ if: ${{ always() && needs.prepare.result == 'success' && needs.build_release_candidate.result == 'success' && needs.qualify_release_containers.result == 'success' && needs.frontend_bundle.result == 'success' && needs.frontend_checks.result == 'success' && needs.windows_install_command_smoke.result == 'success' && needs.backend_tests.result == 'success' && needs.release_smoke.result == 'success' && (needs.integration_tests.result == 'success' || needs.integration_tests.result == 'skipped') && needs.create_release.result == 'success' && needs.publish_docker.result == 'success' && needs.validate_release_assets.result == 'success' && needs.install_sh_smoke.result == 'success' && needs.publish_helm_chart.result == 'success' && ( !startsWith(needs.prepare.outputs.version, '6.') || needs.stage_private_pro_runtime.result == 'success' ) && needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true' }}runs-on: ubuntu-24.04timeout-minutes: 5steps:diff --git a/.github/workflows/qualify-release-containers.yml b/.github/workflows/qualify-release-containers.ymlnew file mode 100644index 0000000000..b927a79dc4--- /dev/null+++ b/.github/workflows/qualify-release-containers.yml@@ -0,0 +1,164 @@+name: Qualify Exact-Candidate Containers++on:+ workflow_call:+ inputs:+ version:+ description: 'Version number without the leading v'+ required: true+ type: string+ container_artifact:+ description: 'Exact-candidate container payload artifact from this run'+ required: true+ type: string+ source_sha:+ description: 'Exact source commit bound to the candidate payload'+ required: true+ type: string++permissions:+ contents: read++jobs:+ qualify:+ name: Exact-Candidate Container and Helm Smoke+ runs-on: [self-hosted, Linux, X64, pulse-pve-build]+ timeout-minutes: 15+ steps:+ - name: Checkout repository+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3+ with:+ ref: ${{ inputs.source_sha }}++ - name: Download exact-candidate container payload+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1+ with:+ name: ${{ inputs.container_artifact }}+ path: ${{ runner.temp }}/release-container-payload++ - name: Verify exact-candidate container payload+ run: |+ python3 scripts/release_candidate_manifest.py verify-local \+ --release-dir "$RUNNER_TEMP/release-container-payload/payload" \+ --manifest "$RUNNER_TEMP/release-container-payload/release-container-payload.json" \+ --version "${{ inputs.version }}" \+ --source-sha "${{ inputs.source_sha }}"++ - name: Assemble exact-candidate runtime and agent images+ run: |+ set -euo pipefail+ docker buildx build \+ --target runtime_prebuilt \+ --platform linux/amd64 \+ --build-context "release_payload=${RUNNER_TEMP}/release-container-payload/payload/release" \+ --load \+ --tag "pulse-helm-smoke:${{ inputs.version }}" \+ .+ docker buildx build \+ --target agent_runtime_prebuilt \+ --platform linux/amd64 \+ --build-context "release_payload=${RUNNER_TEMP}/release-container-payload/payload/release" \+ --load \+ --tag "pulse-agent-candidate:${{ inputs.version }}" \+ .+ docker buildx build \+ --file deploy/provider-msp/Dockerfile.control-plane \+ --target control_plane_prebuilt \+ --platform linux/amd64 \+ --build-context "compiled_payload=${RUNNER_TEMP}/release-container-payload/payload/compiled" \+ --load \+ --tag "pulse-control-plane-candidate:${{ inputs.version }}" \+ .++ - name: Verify container binaries match immutable candidate+ run: |+ set -euo pipefail+ expected_server="$(sha256sum "$RUNNER_TEMP/release-container-payload/payload/release/amd64/bin/pulse" | awk '{print $1}')"+ actual_server="$(docker run --rm --entrypoint /bin/sh "pulse-helm-smoke:${{ inputs.version }}" -c 'sha256sum /app/pulse' | awk '{print $1}')"+ expected_agent="$(sha256sum "$RUNNER_TEMP/release-container-payload/payload/release/amd64/bin/pulse-agent-linux-amd64" | awk '{print $1}')"+ actual_agent="$(docker run --rm --entrypoint /bin/sh "pulse-agent-candidate:${{ inputs.version }}" -c 'sha256sum /usr/local/bin/pulse-agent' | awk '{print $1}')"+ expected_control_plane="$(sha256sum "$RUNNER_TEMP/release-container-payload/payload/compiled/binaries/pulse-control-plane-linux-amd64" | awk '{print $1}')"+ actual_control_plane="$(docker run --rm --entrypoint /bin/sh "pulse-control-plane-candidate:${{ inputs.version }}" -c 'sha256sum /usr/local/bin/pulse-control-plane' | awk '{print $1}')"+ test "${actual_server}" = "${expected_server}"+ test "${actual_agent}" = "${expected_agent}"+ test "${actual_control_plane}" = "${expected_control_plane}"++ - name: Set up Helm+ uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0+ with:+ version: v3.15.2++ - name: Helm smoke test with local release-line image+ env:+ SMOKE_IMAGE_REPOSITORY: pulse-helm-smoke+ SMOKE_IMAGE_TAG: ${{ inputs.version }}+ run: |+ set -euo pipefail++ cleanup() {+ kind delete cluster --name pulse-test >/dev/null 2>&1 || true+ }++ diagnose() {+ echo "::group::helm status"+ helm status pulse || true+ echo "::endgroup::"++ echo "::group::kubectl get all"+ kubectl get all -A || true+ echo "::endgroup::"++ echo "::group::kubectl describe pods"+ kubectl describe pods -A || true+ echo "::endgroup::"++ echo "::group::pod logs"+ pods=$(kubectl get pods -A -o name 2>/dev/null || true)+ for pod in $pods; do+ echo "### ${pod}"+ kubectl logs --all-containers=true --tail=200 "$pod" || true+ done+ echo "::endgroup::"++ echo "::group::events"+ kubectl get events -A --sort-by=.lastTimestamp || kubectl get events -A || true+ echo "::endgroup::"++ cleanup+ }++ trap 'diagnose' ERR++ curl -fsSL -o "$RUNNER_TEMP/kind" https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64+ chmod +x "$RUNNER_TEMP/kind"+ export PATH="$RUNNER_TEMP:$PATH"++ cleanup+ kind create cluster --name pulse-test --wait 5m+ kind load docker-image "${SMOKE_IMAGE_REPOSITORY}:${SMOKE_IMAGE_TAG}" --name pulse-test++ helm install pulse deploy/helm/pulse \+ --set persistence.enabled=false \+ --set server.secretEnv.create=true \+ --set server.secretEnv.data.API_TOKENS=test-token \+ --set image.repository="${SMOKE_IMAGE_REPOSITORY}" \+ --set image.tag="${SMOKE_IMAGE_TAG}" \+ --set image.pullPolicy=Never \+ --wait --timeout 5m --debug++ kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=pulse --timeout=180s || (kubectl describe pods -l app.kubernetes.io/name=pulse && exit 1)+ kubectl get pods -l app.kubernetes.io/name=pulse++ helm upgrade pulse deploy/helm/pulse \+ --set persistence.enabled=false \+ --set server.secretEnv.create=true \+ --set server.secretEnv.data.API_TOKENS=test-token \+ --set image.repository="${SMOKE_IMAGE_REPOSITORY}" \+ --set image.tag="${SMOKE_IMAGE_TAG}" \+ --set image.pullPolicy=Never \+ --wait --timeout 5m --debug++ trap - ERR+ cleanup++ echo "✓ Helm smoke test passed"diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 772404bd1b..2666e11741 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -64,6 +64,7 @@ discarding existing explicit disk exclusions.17. `.github/workflows/promote-private-pro-runtime.yml`18. `.github/workflows/publish-docker.yml`19. `.github/workflows/publish-helm-chart.yml`+20. `.github/workflows/qualify-release-containers.yml`20. `.github/workflows/release-convergence.yml`21. `.github/workflows/release-dry-run.yml`22. `.github/workflows/retry-release-convergence.yml`@@ -555,9 +556,11 @@ upgrade, update, release, or artifact-selection behavior.recompiling source, and compare every embedded executable digest with thecandidate bytesbefore exercising the same local runtime through the Helm install/upgrade- smoke. The reusable build-release-candidate workflow owns this proof so a- standalone candidate dispatch, a release dry run, and a publishing release- all cross the same container boundary before the candidate can succeed.+ smoke. The reusable `qualify-release-containers.yml` workflow owns this+ proof. Standalone candidate dispatches and dry runs invoke it inside the+ candidate workflow; publishing releases invoke it as a sibling of inert+ draft staging so qualification and upload overlap without weakening the+ activation join.This credential-free lane may run against the isolated rootlessDocker daemon owned by the low-priority PVE build identity; it must not gainhost-Docker access, signing keys, registry login, or package-write authority.diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.jsonindex 4430caa727..a793c9d3ca 100644--- a/docs/release-control/v6/internal/subsystems/registry.json+++ b/docs/release-control/v6/internal/subsystems/registry.json@@ -4149,6 +4149,7 @@".github/workflows/promote-private-pro-runtime.yml",".github/workflows/publish-docker.yml",".github/workflows/publish-helm-chart.yml",+ ".github/workflows/qualify-release-containers.yml",".github/workflows/recover-release-activation.yml",".github/workflows/release-convergence.yml",".github/workflows/release-dry-run.yml",@@ -4353,6 +4354,7 @@".github/workflows/promote-private-pro-runtime.yml",".github/workflows/publish-docker.yml",".github/workflows/publish-helm-chart.yml",+ ".github/workflows/qualify-release-containers.yml",".github/workflows/recover-release-activation.yml",".github/workflows/release-convergence.yml",".github/workflows/release-dry-run.yml",diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.goindex 9a628eeee0..b5425f36b7 100644--- a/scripts/installtests/build_release_assets_test.go+++ b/scripts/installtests/build_release_assets_test.go@@ -336,13 +336,13 @@ func TestAgentBuildCacheDoesNotResurrectPulseAgentPackage(t *testing.T) {}}- release, err := os.ReadFile(repoFile(".github", "workflows", "build-release-candidate.yml"))+ release, err := os.ReadFile(repoFile(".github", "workflows", "qualify-release-containers.yml"))if err != nil {- t.Fatalf("read build-release-candidate.yml: %v", err)+ t.Fatalf("read qualify-release-containers.yml: %v", err)}releaseText := string(release)if !strings.Contains(releaseText, `--target agent_runtime_prebuilt`) {- t.Fatal("build-release-candidate.yml must assemble the candidate agent image without targeting an unpublished package")+ t.Fatal("qualify-release-containers.yml must assemble the candidate agent image without targeting an unpublished package")}if strings.Contains(releaseText, "agent-buildcache") {t.Fatal("exact-candidate release qualification must not create a remote agent image cache")@@ -1194,7 +1194,11 @@ func TestReleaseWorkflowsUseSecretSafeAttestedImageBuilds(t *testing.T) {if err != nil {t.Fatalf("read build-release-candidate.yml: %v", err)}- createRelease := string(createReleaseBytes) + "\n" + string(candidateWorkflowBytes)+ qualifierWorkflowBytes, err := os.ReadFile(repoFile(".github", "workflows", "qualify-release-containers.yml"))+ if err != nil {+ t.Fatalf("read qualify-release-containers.yml: %v", err)+ }+ createRelease := string(createReleaseBytes) + "\n" + string(candidateWorkflowBytes) + "\n" + string(qualifierWorkflowBytes)createReleaseRequired := []string{`Exact-Candidate Container and Helm Smoke`,`./scripts/prepare-release-container-context.sh`,@@ -1215,9 +1219,9 @@ func TestReleaseWorkflowsUseSecretSafeAttestedImageBuilds(t *testing.T) {`attestations: write`,`uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4`,}- containerJob := workflowJobBlock(t, string(candidateWorkflowBytes), "qualify-release-containers")- if !strings.Contains(containerJob, "always() && needs.build.result == 'success'") {- t.Fatal("exact-candidate container qualification must not inherit skipped native-signing dependencies")+ containerJob := workflowJobBlock(t, string(qualifierWorkflowBytes), "qualify")+ if !strings.Contains(string(candidateWorkflowBytes), "always() && inputs.qualify_containers && needs.build.result == 'success'") {+ t.Fatal("standalone exact-candidate qualification must not inherit skipped native-signing dependencies")}for _, forbidden := range []string{"PULSE_UPDATE_SIGNING_KEY",@@ -2379,6 +2383,7 @@ func TestReleaseCutGatesCriticalFrontendAndWindowsRuntimeProof(t *testing.T) {windowsJob := workflowJobBlock(t, workflow, "windows_install_command_smoke")smokeJob := workflowJobBlock(t, workflow, "release_smoke")createJob := workflowJobBlock(t, workflow, "create_release")+ readinessJob := workflowJobBlock(t, workflow, "release_readiness")verdictJob := workflowJobBlock(t, workflow, "release_commit_verdict")for _, needle := range []string{@@ -2406,8 +2411,28 @@ func TestReleaseCutGatesCriticalFrontendAndWindowsRuntimeProof(t *testing.T) {t.Fatalf("release render smoke missing %s", needle)}}- if !strings.Contains(createJob, `needs.windows_install_command_smoke.result == 'success'`) {- t.Fatal("release assembly must fail closed on the Windows install-command smoke")+ if !strings.Contains(readinessJob, `needs.windows_install_command_smoke.result == 'success'`) {+ t.Fatal("release readiness must fail closed on the Windows install-command smoke")+ }+ if strings.Contains(createJob, `needs.windows_install_command_smoke.result`) {+ t.Fatal("inert draft staging must overlap independent Windows qualification")+ }+ for _, result := range []string{+ "needs.qualify_release_containers.result == 'success'",+ "needs.frontend_checks.result == 'success'",+ "needs.backend_tests.result == 'success'",+ "needs.release_smoke.result == 'success'",+ } {+ if !strings.Contains(readinessJob, result) {+ t.Fatalf("release readiness missing deferred qualification join: %s", result)+ }+ if strings.Contains(createJob, result) {+ t.Fatalf("inert draft staging must not serialize on deferred qualification: %s", result)+ }+ }+ if !strings.Contains(workflow, "qualify_containers: false") ||+ !strings.Contains(workflow, "uses: ./.github/workflows/qualify-release-containers.yml") {+ t.Fatal("publishing release must qualify the candidate beside inert draft staging")}if !strings.Contains(verdictJob, `require_result "Windows install command smoke" "$WINDOWS_INSTALL_COMMAND_RESULT" success`) {t.Fatal("release activation commit verdict must report the Windows install-command smoke")diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.pyindex 54f455cb53..4a5632e092 100644--- a/scripts/release_control/release_promotion_policy_test.py+++ b/scripts/release_control/release_promotion_policy_test.py@@ -1304,7 +1304,8 @@ class ReleasePromotionPolicyTest(unittest.TestCase):demo_reachability_helper = read(".github/scripts/check-demo-reachability.sh")validation_workflow = read(".github/workflows/validate-release-assets.yml")candidate_workflow = read(".github/workflows/build-release-candidate.yml")- docker_build = workflow_job_block(candidate_workflow, "qualify-release-containers")+ qualifier_workflow = read(".github/workflows/qualify-release-containers.yml")+ docker_build = workflow_job_block(qualifier_workflow, "qualify")release_validator = read("scripts/validate-release.sh")helper = read("scripts/trigger-release.sh")stable_patch_helper = read("scripts/trigger-stable-patch.sh")@@ -1692,6 +1693,7 @@ class ReleasePromotionPolicyTest(unittest.TestCase):preview_deploy = read(".github/workflows/deploy-demo-server.yml")release_workflow = read(".github/workflows/create-release.yml")candidate_workflow = read(".github/workflows/build-release-candidate.yml")+ qualifier_workflow = read(".github/workflows/qualify-release-containers.yml")dry_run_workflow = read(".github/workflows/release-dry-run.yml")helm = read(".github/workflows/publish-helm-chart.yml")helm_pages = read(".github/workflows/helm-pages.yml")@@ -1789,10 +1791,10 @@ class ReleasePromotionPolicyTest(unittest.TestCase):self.assertIn("previous stable tag", artifact_validator)self.assertIn("stable_patch", artifact_validator)self.assertIn("Refusing {purpose}", artifact_validator)- self.assertIn("Assemble exact-candidate runtime and agent images", candidate_workflow)- self.assertIn('kind load docker-image "${SMOKE_IMAGE_REPOSITORY}:${SMOKE_IMAGE_TAG}" --name pulse-test', candidate_workflow)- self.assertIn('--set image.repository="${SMOKE_IMAGE_REPOSITORY}"', candidate_workflow)- self.assertIn('--set image.pullPolicy=Never', candidate_workflow)+ self.assertIn("Assemble exact-candidate runtime and agent images", qualifier_workflow)+ self.assertIn('kind load docker-image "${SMOKE_IMAGE_REPOSITORY}:${SMOKE_IMAGE_TAG}" --name pulse-test', qualifier_workflow)+ self.assertIn('--set image.repository="${SMOKE_IMAGE_REPOSITORY}"', qualifier_workflow)+ self.assertIn('--set image.pullPolicy=Never', qualifier_workflow)self.assertNotIn("needs.docker_build.result", release_workflow)self.assertNotIn("needs.helm_smoke.result", release_workflow)self.assertIn('--github-output "$GITHUB_OUTPUT"', helm_pages)