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
Use trusted PC for release compilation
rcourtman32d7b229962b
diff --git a/.github/workflows/build-release-candidate.yml b/.github/workflows/build-release-candidate.ymlindex 2731dcc939..1725ebb703 100644--- a/.github/workflows/build-release-candidate.yml+++ b/.github/workflows/build-release-candidate.yml@@ -76,12 +76,17 @@ permissions:jobs:compile-release-payload:name: Compile Exact-SHA Release Payload- # Stable exact-SHA candidates favor the reproducible hosted lane. The PVE- # matrix remains fast for prereleases, but two stable rehearsals lost- # different compiler processes under runner resource pressure. Hosted- # provenance is also mandatory when a stable candidate reaches SignPath.- runs-on: ${{ !contains(inputs.version, '-') && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-compile"]') }}- timeout-minutes: 20+ # This credential-free worker is the trusted high-capacity compiler for+ # every channel. Its output is immutable after upload and is consumed by+ # artifact id and digest; hosted jobs verify and package it without a+ # second compilation. It is not in the dependency chain leading to the+ # separately hosted SignPath request.+ runs-on: ${{ fromJSON('["self-hosted","Linux","X64","pulse-pve-compile"]') }}+ timeout-minutes: 30+ outputs:+ artifact_id: ${{ steps.upload_compiled.outputs.artifact-id }}+ artifact_digest: ${{ steps.upload_compiled.outputs.artifact-digest }}+ artifact_name: release-compiled-${{ github.sha }}-${{ inputs.version }}steps:- name: Checkout repositoryuses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3@@ -105,13 +110,35 @@ jobs:with:node-version: '20'+ - name: Verify compiler capacity+ shell: bash+ run: |+ set -euo pipefail+ available_memory_kib="$(awk '$1 == "MemAvailable:" {print $2}' /proc/meminfo)"+ minimum_memory_kib="$((6 * 1024 * 1024))"+ available_disk_bytes="$(df --output=avail -B1 "$RUNNER_TEMP" | tail -n 1 | tr -d ' ')"+ minimum_disk_bytes="$((10 * 1024 * 1024 * 1024))"+ if (( available_memory_kib < minimum_memory_kib )); then+ echo "::error::Release compiler has less than 6 GiB available memory."+ exit 1+ fi+ if (( available_disk_bytes < minimum_disk_bytes )); then+ echo "::error::Release compiler has less than 10 GiB free under RUNNER_TEMP."+ exit 1+ fi+ echo "Release compiler capacity: $((available_memory_kib / 1024)) MiB memory, $((available_disk_bytes / 1024 / 1024 / 1024)) GiB disk."+- name: Compile credential-free release payloadenv:PULSE_LICENSE_PUBLIC_KEY: ${{ secrets.PULSE_LICENSE_PUBLIC_KEY }}PULSE_UPDATE_SIGNING_PUBLIC_KEY: ${{ vars.PULSE_UPDATE_SIGNING_PUBLIC_KEY }}+ # Two bounded workers avoid the compiler-process loss seen when four+ # Go links competed with the frontend build on the same VM.+ PULSE_RELEASE_BUILD_JOBS: "2"run: ./scripts/build-release-binaries.sh "${{ inputs.version }}" "$RUNNER_TEMP/release-compiled"- name: Upload exact-SHA compiled payload+ id: upload_compileduses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: release-compiled-${{ github.sha }}-${{ inputs.version }}@@ -574,6 +601,9 @@ jobs:if: ${{ always() && needs.compile-release-payload.result == 'success' && (!inputs.require_macos_signing || needs.sign-macos-agent.result == 'success') && (!inputs.require_windows_signing || needs.collect-windows-signing.result == 'success') }}runs-on: ubuntu-24.04timeout-minutes: 60+ permissions:+ actions: read+ contents: readoutputs:artifact_name: ${{ steps.identity.outputs.artifact_name }}manifest_artifact_name: ${{ steps.identity.outputs.manifest_artifact_name }}@@ -614,7 +644,7 @@ jobs:- name: Install release prerequisitesrun: |sudo apt-get update- sudo apt-get install -y zip+ sudo apt-get install -y zip unzip- name: Set up Helmuses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0@@ -635,19 +665,56 @@ jobs:tar -xzf "${TMP_DIR}/${SYFT_ARCHIVE}" -C "${TMP_DIR}" syftinstall -m 0755 "${TMP_DIR}/syft" /usr/local/bin/syft- - name: Download exact-SHA compiled payload- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0- with:- name: release-compiled-${{ github.sha }}-${{ inputs.version }}- path: release-compiled+ - name: Verify and download exact compiled artifact+ env:+ GH_TOKEN: ${{ github.token }}+ EXPECTED_ARTIFACT_ID: ${{ needs.compile-release-payload.outputs.artifact_id }}+ EXPECTED_ARTIFACT_DIGEST: ${{ needs.compile-release-payload.outputs.artifact_digest }}+ EXPECTED_ARTIFACT_NAME: ${{ needs.compile-release-payload.outputs.artifact_name }}+ run: |+ set -euo pipefail+ [[ "${EXPECTED_ARTIFACT_ID}" =~ ^[0-9]+$ ]]+ [[ "${EXPECTED_ARTIFACT_DIGEST}" =~ ^[0-9a-f]{64}$ ]]+ artifact_json="$RUNNER_TEMP/release-compiled-artifact.json"+ artifact_zip="$RUNNER_TEMP/release-compiled-artifact.zip"+ gh api "repos/${GITHUB_REPOSITORY}/actions/artifacts/${EXPECTED_ARTIFACT_ID}" > "${artifact_json}"+ jq -e \+ --argjson artifact_id "${EXPECTED_ARTIFACT_ID}" \+ --arg artifact_name "${EXPECTED_ARTIFACT_NAME}" \+ --arg artifact_digest "sha256:${EXPECTED_ARTIFACT_DIGEST}" \+ --argjson run_id "${GITHUB_RUN_ID}" \+ --arg source_sha "${GITHUB_SHA}" \+ '.id == $artifact_id and .name == $artifact_name and .expired == false and .size_in_bytes > 0 and .digest == $artifact_digest and .workflow_run.id == $run_id and .workflow_run.head_sha == $source_sha' \+ "${artifact_json}" >/dev/null+ gh api "repos/${GITHUB_REPOSITORY}/actions/artifacts/${EXPECTED_ARTIFACT_ID}/zip" > "${artifact_zip}"+ printf '%s %s\n' "${EXPECTED_ARTIFACT_DIGEST}" "${artifact_zip}" | sha256sum --check --+ mkdir -p release-compiled+ unzip -q "${artifact_zip}" -d release-compiled- name: Verify exact-SHA compiled payload+ env:+ EXPECTED_ARTIFACT_ID: ${{ needs.compile-release-payload.outputs.artifact_id }}+ EXPECTED_ARTIFACT_DIGEST: ${{ needs.compile-release-payload.outputs.artifact_digest }}+ EXPECTED_ARTIFACT_NAME: ${{ needs.compile-release-payload.outputs.artifact_name }}run: |+ set -euo pipefailpython3 scripts/release_candidate_manifest.py verify-local \--release-dir release-compiled/payload \--manifest release-compiled/manifest/release-compiled.json \--version "${{ inputs.version }}" \--source-sha "${GITHUB_SHA}"+ mkdir -p release-candidate-manifest+ payload_manifest_sha256="$(sha256sum release-compiled/manifest/release-compiled.json | awk '{print $1}')"+ jq -n \+ --argjson artifact_id "${EXPECTED_ARTIFACT_ID}" \+ --arg artifact_name "${EXPECTED_ARTIFACT_NAME}" \+ --arg artifact_sha256 "${EXPECTED_ARTIFACT_DIGEST}" \+ --arg payload_manifest_sha256 "${payload_manifest_sha256}" \+ --argjson workflow_run_id "${GITHUB_RUN_ID}" \+ --arg version "${{ inputs.version }}" \+ --arg source_sha "${GITHUB_SHA}" \+ '{schema_version: 1, trust_boundary: "trusted-self-hosted-compiler", verified_on: "github-hosted", artifact_id: $artifact_id, artifact_name: $artifact_name, artifact_sha256: $artifact_sha256, payload_manifest_sha256: $payload_manifest_sha256, workflow_run_id: $workflow_run_id, version: $version, source_sha: $source_sha}' \+ > release-candidate-manifest/compiled-payload-verification.json- name: Download signed macOS binariesif: ${{ inputs.require_macos_signing }}diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.jsonindex 96a53f6262..eff0567336 100644--- a/docs/release-control/v6/internal/status.json+++ b/docs/release-control/v6/internal/status.json@@ -10636,6 +10636,18 @@"L1"]},+ {+ "id": "trusted-pc-single-build-artifact-handoff",+ "summary": "The project owner designated the dedicated PVE PC runners as trusted, credential-free compilers for public and private release payloads across RC, stable, and patch channels. Each payload is built once, uploaded as an immutable GitHub Actions artifact, and consumed without recompilation only after a GitHub-hosted job verifies the exact artifact id, server-recorded archive SHA-256, workflow run, head SHA, version/source inner manifest, and complete file digests. Signing and publication credentials remain hosted-only, and the SignPath request dependency chain remains entirely GitHub-hosted.",+ "kind": "release-policy",+ "decided_at": "2026-08-23",+ "subsystem_ids": [+ "deployment-installability"+ ],+ "lane_ids": [+ "L1"+ ]+ },{"id": "v6-3-1-unsigned-windows-owner-exception","summary": "On 2026-08-23 the release owner explicitly authorized unsigned Windows Unified Agent artifacts for stable v6.3.1 after exact-SHA rehearsal 32634435531 proved the SignPath production certificate remained CSR PENDING and the release-signing policy was invalid. This version-bound exception changes only the Authenticode requirement: the exact release SHA, immutable candidate manifest, SHA-256 checksums, detached signatures, published-digest verification, and public Unknown Publisher disclosure remain mandatory. Stable v6.3.2 and later restore mandatory Authenticode unless another explicit version-bound decision is recorded.",diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex a389f731b2..6bb87df774 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -537,25 +537,32 @@ upgrade, update, release, or artifact-selection behavior.Signing, package publication, and release mutation authority must remain onhosted jobs. The bundle job must be independent from frontend quality sobackend and browser-smoke lanes can start as soon as the bundle is available.- Prerelease cross-platform compilation may run concurrently on a separate,- low-priority PVE identity using only public embedding keys. Stable- cross-platform compilation must remain GitHub-hosted. Both paths must produce- one exact-version, exact-source-SHA manifest covering the complete frontend- and binary payload. That manifest may cover canonical relative paths in the- payload tree but must reject absolute, traversing, or noncanonical names.- The hosted candidate job must verify that manifest+ Cross-platform compilation for every release channel runs once on the+ dedicated, credential-free PVE compiler identity using only public embedding+ keys. The compiler must produce one exact-version, exact-source-SHA manifest+ covering the complete frontend and binary payload. That manifest may cover+ canonical relative paths in the payload tree but must reject absolute,+ traversing, or noncanonical names. The upload step must expose GitHub's+ immutable artifact id and archive SHA-256 digest. The hosted candidate job+ must retrieve that exact id, fail closed unless GitHub's artifact API binds+ its name, digest, workflow-run id, and head SHA to the current release run,+ verify the downloaded archive digest itself, and then verify the inner+ payload manifestbefore applying required native binaries, packaging, update-signing, SBOM- generation, validation, or upload. Private signing material and publication- credentials must never enter the PVE compilation job.+ generation, validation, or upload. It must record that verification beside+ the final candidate manifest and must not rebuild the verified payload.+ Private signing material and publication credentials must never enter the+ PVE compilation job.PVE jobs must consume their runner users' persistent local Go and npm cachesdirectly; disposable-runner Actions cache restore/save phases must remaindisabled because archiving those same caches adds network work after theuseful test or compilation process has already completed.Private Pro compilation must additionally bind the exact Pulse and- pulse-enterprise commits in a manifest-covered identity record. Its PVE job- is a prerelease acceleration path only; stable Pro compilation must use a- GitHub-hosted runner under the same release-channel rule as the public- candidate. Either runner must compile only the public Unified Agent matrix+ pulse-enterprise commits in a manifest-covered identity record. It runs once+ on the dedicated credential-free PVE enterprise compiler for every channel,+ then crosses the same immutable GitHub artifact-id, archive-digest, run-id,+ head-SHA, and inner-manifest verification boundary before any hosted private+ signing or publication step. The compiler must build only the public Unified Agent matrixactually embedded in Pro archives plus the Pro server matrix. The publicfrontend build is a required source-checkout prerequisite because every Proserver embeds that exact-SHA@@ -1637,17 +1644,19 @@ Every caller of the reusable release-candidate builder must delegateexact uploaded artifact through the GitHub Actions API, and GitHub validatesthat nested permission even when a prerelease skips Authenticode signing.SignPath Foundation also requires every job leading up to an open-source-signing request to execute on GitHub-hosted runners. All stable candidates,-including a version with an approved unsigned-Windows exception, therefore-route release preparation, the parallel frontend bundle, backend-qualification, and exact-SHA compilation through GitHub-hosted runners. The-stable runner boundary is release-channel-based rather than signing-policy--based, so an external signing outage cannot silently return a GA or patch cut-to persistent PVE capacity. Rehearsals `32631653966` and `32635525554` lost-different matrix compiler-processes on the PVE runner without compiler diagnostics after substantial-progress, while the same targets build independently. Prereleases retain the-credential-free PVE compilation path for speed. Stable container and Helm+signing request to execute on GitHub-hosted runners. Stable release+preparation, the parallel frontend bundle, backend qualification, signing+configuration, and the Windows build/submission dependency chain therefore+remain GitHub-hosted regardless of an unsigned-Windows exception. The+credential-free PVE compiler is an independent sibling and never supplies the+artifact submitted to SignPath; only the hosted final assembler joins its+separately verified output after native signing. Rehearsals `32631653966` and+`32635525554` lost different matrix compiler processes on the PVE runner under+four-way compiler and frontend pressure. The single-build compiler now admits+only a worker with explicit memory/disk headroom, limits the matrix to two+concurrent workers, uploads one immutable GitHub artifact, and lets the hosted+assembler verify the API identity, archive SHA-256, exact source/version inner+manifest, and complete payload without recompiling it. Stable container and Helmqualification also runs hosted after rehearsal `32636149901` exhausted thepersistent PVE build runner's disk while assembling the first candidate image;the candidate payload had already verified successfully. Prerelease containerdiff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.goindex a59ef09e1f..6d765a7403 100644--- a/scripts/installtests/build_release_assets_test.go+++ b/scripts/installtests/build_release_assets_test.go@@ -2367,8 +2367,10 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {}for _, needle := range []string{- `!contains(inputs.version, '-') && 'ubuntu-24.04'`,- "pulse-pve-compile",+ `fromJSON('["self-hosted","Linux","X64","pulse-pve-compile"]')`,+ `artifact_id: ${{ steps.upload_compiled.outputs.artifact-id }}`,+ `artifact_digest: ${{ steps.upload_compiled.outputs.artifact-digest }}`,+ `PULSE_RELEASE_BUILD_JOBS: "2"`,`./scripts/build-release-binaries.sh "${{ inputs.version }}"`,`release-compiled-${{ github.sha }}-${{ inputs.version }}`,} {@@ -2413,7 +2415,15 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {}for _, needle := range []string{`needs.compile-release-payload.result == 'success'`,+ `actions: read`,+ `EXPECTED_ARTIFACT_ID: ${{ needs.compile-release-payload.outputs.artifact_id }}`,+ `EXPECTED_ARTIFACT_DIGEST: ${{ needs.compile-release-payload.outputs.artifact_digest }}`,+ `actions/artifacts/${EXPECTED_ARTIFACT_ID}`,+ `.workflow_run.head_sha == $source_sha`,+ `sha256sum --check --`,`scripts/release_candidate_manifest.py verify-local`,+ `compiled-payload-verification.json`,+ `trusted-self-hosted-compiler`,`PULSE_RELEASE_COMPILED_PAYLOAD_DIR`,} {if !strings.Contains(candidateBuildJob, needle) {diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.pyindex bc0d4a4e5a..93857f0dc1 100644--- a/scripts/release_control/release_promotion_policy_test.py+++ b/scripts/release_control/release_promotion_policy_test.py@@ -1456,6 +1456,31 @@ class ReleasePromotionPolicyTest(unittest.TestCase):self.assertNotIn("pulse_update_signing_key=${{ secrets.PULSE_UPDATE_SIGNING_KEY }}", docker_build)self.assertIn("Validate installer signing key pins", candidate_workflow)self.assertIn("timeout-minutes: 60", candidate_workflow)+ self.assertIn(+ 'runs-on: ${{ fromJSON(\'["self-hosted","Linux","X64","pulse-pve-compile"]\') }}',+ candidate_workflow,+ )+ self.assertIn(+ "artifact_id: ${{ steps.upload_compiled.outputs.artifact-id }}",+ candidate_workflow,+ )+ self.assertIn(+ "artifact_digest: ${{ steps.upload_compiled.outputs.artifact-digest }}",+ candidate_workflow,+ )+ self.assertIn("PULSE_RELEASE_BUILD_JOBS: \"2\"", candidate_workflow)+ self.assertIn(+ "EXPECTED_ARTIFACT_ID: ${{ needs.compile-release-payload.outputs.artifact_id }}",+ candidate_workflow,+ )+ self.assertIn(+ "EXPECTED_ARTIFACT_DIGEST: ${{ needs.compile-release-payload.outputs.artifact_digest }}",+ candidate_workflow,+ )+ self.assertIn(".workflow_run.head_sha == $source_sha", candidate_workflow)+ self.assertIn("sha256sum --check --", candidate_workflow)+ self.assertIn("compiled-payload-verification.json", candidate_workflow)+ self.assertIn("trusted-self-hosted-compiler", candidate_workflow)self.assertIn("Verify Native Signing Configuration", candidate_workflow)self.assertEqual(candidate_workflow.count("needs: signing-configuration"), 2)self.assertIn("require_windows_signing: ${{ needs.prepare.outputs.require_windows_signing == 'true' }}", content)