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
Harden stable release convergence
rcourtman567eca25729b
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.ymlindex fc75508523..b8075a6512 100644--- a/.github/workflows/create-release.yml+++ b/.github/workflows/create-release.yml@@ -76,10 +76,9 @@ permissions:jobs:# Combined version extraction and validation (saves a checkout)prepare:- # Stable releases that will reach SignPath must not have a self-hosted job- # anywhere in the provenance preceding the signing request. Invalid- # exceptions still fail in the promotion resolver below.- runs-on: ${{ (!contains(inputs.version, '-') && !inputs.unsigned_windows_exception) && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-compile"]') }}+ # Stable releases use hosted runners regardless of their Windows-signing+ # decision. Prereleases retain the credential-free PVE acceleration path.+ runs-on: ${{ !contains(inputs.version, '-') && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-compile"]') }}timeout-minutes: 5outputs:version: ${{ steps.extract.outputs.version }}@@ -265,7 +264,7 @@ jobs:frontend_bundle:needs: prepareif: ${{ needs.prepare.outputs.historical_asset_backfill_only != 'true' }}- runs-on: ${{ needs.prepare.outputs.require_windows_signing == 'true' && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-build"]') }}+ runs-on: ${{ !contains(inputs.version, '-') && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-build"]') }}timeout-minutes: 10steps:- name: Checkout repository@@ -360,7 +359,7 @@ jobs:- prepare- frontend_bundleif: ${{ needs.prepare.outputs.historical_asset_backfill_only != 'true' }}- runs-on: ${{ needs.prepare.outputs.require_windows_signing == 'true' && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-tests"]') }}+ runs-on: ${{ !contains(inputs.version, '-') && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","pulse-pve-tests"]') }}timeout-minutes: 20env:FRONTEND_DIST: frontend-modern/distdiff --git a/.github/workflows/release-convergence.yml b/.github/workflows/release-convergence.ymlindex 410eebd041..4e1dd74122 100644--- a/.github/workflows/release-convergence.yml+++ b/.github/workflows/release-convergence.yml@@ -68,6 +68,11 @@ jobs:set -euo pipefailmarker_url="https://github.com/${{ github.repository }}/releases/download/${TAG}/release-activation.json"max_attempts=10500+ completed_propagation_attempts=0+ # Each public read already includes two two-second retries. Twenty+ # outer attempts allow roughly two minutes of post-upload edge+ # propagation without hiding a genuine publication failure.+ max_completed_propagation_attempts=20for attempt in $(seq 1 "${max_attempts}"); dorelease_state="$(gh api "repos/${{ github.repository }}/releases/tags/${TAG}" \@@ -80,14 +85,18 @@ jobs:is_draft="$(awk -F '\t' '{print $4}' <<<"${release_state}")"published_at="$(awk -F '\t' '{print $5}' <<<"${release_state}")"marker="$(mktemp)"+ marker_downloaded=falseif [ "${release_id}" = "${EXPECTED_RELEASE_ID}" ] && \[ "${actual_tag}" = "${TAG}" ] && \[ "${actual_commit}" = "${EXPECTED_COMMIT}" ] && \[ "${is_draft}" = "false" ] && \[ -n "${published_at}" ] && \curl -fsSL --retry 2 --retry-delay 2 --retry-all-errors \- -o "${marker}" "${marker_url}" && \- jq -e \+ -o "${marker}" "${marker_url}"; then+ marker_downloaded=true+ fi+ if [ "${marker_downloaded}" = "true" ]; then+ if ! jq -e \--arg tag "${TAG}" \--arg commit "${EXPECTED_COMMIT}" \--arg release_id "${EXPECTED_RELEASE_ID}" \@@ -95,6 +104,10 @@ jobs:--arg r2_prefix "${EXPECTED_R2_PREFIX}" \'.schema_version == 1 and .tag == $tag and .target_commitish == $commit and .release_id == $release_id and .source_release_run_id == $source_run_id and (.convergence_run_id | test("^[0-9]+$")) and .r2_prefix == $r2_prefix' \"${marker}" >/dev/null; then+ rm -f "${marker}"+ echo "::error::Public activation marker for ${TAG} does not match the expected immutable release identity."+ exit 1+ fiactivation_owner_run_id="$(jq -r '.convergence_run_id' "${marker}")"if [ "${activation_owner_run_id}" != "${EXPECTED_CONVERGENCE_RUN_ID}" ]; thenoriginal_status="$(@@ -129,8 +142,29 @@ jobs:source_conclusion="$(awk -F '\t' '{print $2}' <<<"${source_state}")"source_url="$(awk -F '\t' '{print $3}' <<<"${source_state}")"if [ "${source_status}" = "completed" ]; then- echo "::error::Source release run completed without the exact activation marker: conclusion=${source_conclusion:-none} ${source_url}."- exit 1+ if [ "${source_conclusion}" != "success" ]; then+ echo "::error::Source release run completed without the exact activation marker: conclusion=${source_conclusion:-none} ${source_url}."+ exit 1+ fi+ marker_asset_state="$(+ gh api \+ "repos/${{ github.repository }}/releases/${EXPECTED_RELEASE_ID}/assets?per_page=100" \+ --paginate \+ --jq '.[] | select(.name == "release-activation.json") | .state' \+ 2>/dev/null || true+ )"+ if [ "${marker_asset_state}" != "uploaded" ]; then+ echo "::error::Source release run completed successfully without an uploaded activation marker: ${source_url}."+ exit 1+ fi+ completed_propagation_attempts=$((completed_propagation_attempts + 1))+ if [ "${completed_propagation_attempts}" -gt "${max_completed_propagation_attempts}" ]; then+ echo "::error::Uploaded activation marker for ${TAG} did not become publicly readable after ${max_completed_propagation_attempts} propagation attempts."+ exit 1+ fi+ echo "Activation marker for ${TAG} is uploaded but not publicly readable yet (${completed_propagation_attempts}/${max_completed_propagation_attempts})."+ sleep 2+ continuefiecho "Activation marker for ${TAG} is not committed yet (${attempt}/${max_attempts})."sleep 2diff --git a/docs/release-control/v6/internal/records/v6.3.1-stable-publication-proof-2026-08-23.md b/docs/release-control/v6/internal/records/v6.3.1-stable-publication-proof-2026-08-23.mdnew file mode 100644index 0000000000..d1f075f626--- /dev/null+++ b/docs/release-control/v6/internal/records/v6.3.1-stable-publication-proof-2026-08-23.md@@ -0,0 +1,91 @@+# v6.3.1 Stable Publication Proof++- Release: `v6.3.1`+- Published release: https://github.com/rcourtman/Pulse/releases/tag/v6.3.1+- Published at: `2026-08-23T12:56:13Z`+- GitHub release ID: `375210751`+- Exact source commit: `2f3d2249973293da3ae6783592c68ebd0f5d1280`+- Rollback target: `v6.3.0`+- Exact rollback command: `./scripts/install.sh --version v6.3.0`+- Exact-SHA dry run: https://github.com/rcourtman/Pulse/actions/runs/32637439888 (`success`)+- Release activation run: https://github.com/rcourtman/Pulse/actions/runs/32639641733 (`success`)+- Definitive convergence run: https://github.com/rcourtman/Pulse/actions/runs/32640756239, attempt 2 (`success`)++## Qualification and Activation++1. Release Dry Run `32637439888` passed the exact-SHA compiler, macOS signing+ and notarization, immutable candidate, container/Helm, frontend, backend,+ integration diagnostics, stable-demo verification, browser smoke, and the+ definitive no-publication verdict on+ `2f3d2249973293da3ae6783592c68ebd0f5d1280`.+2. Release run `32639641733` consumed that unchanged commit, passed every+ immutable release gate, published the exact-version Docker and Helm+ artifacts, verified the staged installer and release packet, uploaded the+ public activation marker, and passed `Release Activation Commit Verdict`.+3. The published release is stable (`draft=false`, `prerelease=false`), targets+ the exact source commit, and contains 219 assets after convergence ownership+ evidence, including `release-activation.json`.++## Customer-Surface Convergence++The first convergence attempt failed before acquiring the global promotion+lease. The activation marker was uploaded at `2026-08-23T12:56:19Z`, but its+public download edge returned HTTP 404 through `2026-08-23T12:56:32Z`. The+source release run completed during that propagation window, and the waiter+incorrectly treated completion as proof that the uploaded marker could not+become readable. Docker aliases, Helm Pages, the paid-runtime broker, and the+stable demo were all skipped, so the failed attempt did not mutate any of+those surfaces.++Attempt 2 adopted the immutable marker from the completed original owner and+passed:++- global customer-promotion lease acquisition and release;+- Docker server and control-plane stable-alias promotion;+- public Helm Pages publication and verification;+- private paid-runtime broker promotion and live verification;+- stable-demo update to `6.3.1`, runtime and frontend parity, public health,+ and browser smoke; and+- `Customer Promotion Convergence Verdict`.++Direct registry inspection after convergence confirmed that both+`ghcr.io/rcourtman/pulse:latest` and+`ghcr.io/rcourtman/pulse-control-plane:latest` resolve to the same manifest+digests as their respective `v6.3.1` tags.++## Workflow Corrections++Stable release runner selection is now channel-based across the public and+private Pro build paths. Stable preparation, frontend bundling, backend tests,+public exact-SHA compilation, container/Helm qualification, and private Pro+compilation use GitHub-hosted runners even when a version-bound Windows-signing+exception applies. Explicit prereleases retain credential-free PVE+acceleration.++The convergence waiter now distinguishes an absent activation marker from an+uploaded marker awaiting public edge propagation. A completed unsuccessful+source run or a successful source run without an uploaded marker still fails+promptly. An uploaded exact-name marker receives a bounded public-propagation+grace, while a readable marker with the wrong immutable identity fails+immediately.++## Windows Exception++Windows Unified Agent and MCP artifacts for `v6.3.1` are not+Authenticode-signed and may display an Unknown Publisher warning. This is the+version-bound owner exception recorded in+`v6.3.1-unsigned-windows-owner-approval-2026-08-23.md`; exact-SHA builds,+SHA-256 checksums, detached signatures, immutable-manifest validation, and+published-digest verification remained mandatory and passed. Stable `v6.3.2`+and later require Authenticode unless another explicit version-bound exception+is recorded.++## Outcome++`v6.3.1` is published, independently qualified, and converged on every governed+customer surface. No new GitHub issue was filed after publication during this+verification pass. Production telemetry through `2026-08-23 13:14:12 UTC`+reported 37 active `v6.3.1` installs (30 Docker and 7 binary), 36 target-version+heartbeat rows, and no rollback or forward-transition install. No install had+yet produced a later same-version heartbeat, so this is initial rollout evidence+rather than soak or update-outcome evidence.diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.jsonindex 35ac0a9560..96a53f6262 100644--- a/docs/release-control/v6/internal/status.json+++ b/docs/release-control/v6/internal/status.json@@ -5139,7 +5139,7 @@"status": "target-met","completion": {"state": "complete",- "summary": "Self-hosted release confidence reached its target and was re-proved for v6.3.0 with exact-SHA dry-run, stable activation, published-asset integrity, installer, demo, container, Helm, and private paid-runtime convergence proof.",+ "summary": "Self-hosted release confidence reached its target and was re-proved for v6.3.1 with exact-SHA dry-run, stable activation, published-asset integrity, installer, demo, container, Helm, private paid-runtime convergence, and bounded recovery from GitHub activation-marker propagation.","tracking": []},"blockers": [],@@ -5191,6 +5191,12 @@"kind": "file","evidence_tier": "real-external-e2e"},+ {+ "repo": "pulse",+ "path": "docs/release-control/v6/internal/records/v6.3.1-stable-publication-proof-2026-08-23.md",+ "kind": "file",+ "evidence_tier": "real-external-e2e"+ },{"repo": "pulse","path": "docs/release-control/v6/internal/subsystems/deployment-installability.md",diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 9485275961..a389f731b2 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -522,19 +522,24 @@ upgrade, update, release, or artifact-selection behavior.integration-environment preparation as independent lanes after producingthe frontend embed bundle. Its receipt must distinguish elapsed wall timefrom the sum of overlapping phase times.- The canonical public release workflow must run its credential-free prepare+ The canonical public prerelease workflow may run its credential-free preparejob on the PVE compilation identity so hosted-runner allocation cannot hold- the entire dependency graph. Preparation must release that identity before- exact-SHA compilation becomes eligible. Preparation must use a complete- exact-SHA checkout: leaving sparse-worktree state in the persistent runner- can make the following compilation checkout appear complete while required- root files remain absent. Dedicated, credential-free PVE runner identities- must also own the frontend embed bundle and backend race gate.+ the entire dependency graph. Stable releases must use GitHub-hosted runners+ for preparation, the frontend embed bundle, and the backend race gate+ regardless of whether Windows signing is required or a version-bound+ unsigned-Windows exception applies. Runner selection is a release-channel+ reliability decision and must not be coupled to signing policy. Prerelease+ preparation must release the PVE identity before exact-SHA compilation+ becomes eligible and must use a complete exact-SHA checkout: leaving+ sparse-worktree state in the persistent runner can make the following+ compilation checkout appear complete while required root files remain+ absent.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.- Cross-platform release compilation may run concurrently on a separate,- low-priority PVE identity using only public embedding keys. It must produce+ 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 produceone exact-version, exact-source-SHA manifest covering the complete frontendand binary payload. That manifest may cover canonical relative paths in thepayload tree but must reject absolute, traversing, or noncanonical names.@@ -548,9 +553,12 @@ upgrade, update, release, or artifact-selection behavior.useful test or compilation process has already completed.Private Pro compilation must additionally bind the exact Pulse andpulse-enterprise commits in a manifest-covered identity record. Its PVE job- must compile only the public Unified Agent matrix actually embedded in Pro- archives plus the Pro server matrix. The public frontend build is a required- source-checkout prerequisite because every Pro server embeds that exact-SHA+ 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+ actually embedded in Pro archives plus the Pro server matrix. The public+ frontend build is a required source-checkout prerequisite because every Pro+ server embeds that exact-SHAbundle, so it must overlap the public-agent matrix but must not enter thetransferred payload. Rebuilding the unused public MCP, server, orcontrol-plane payload is not part of this boundary. The@@ -688,9 +696,13 @@ upgrade, update, release, or artifact-selection behavior.and applicable private packet are staged, so its credential-free activationwaiter can absorb hosted-runner startup while the readiness join finishes.That early run remains inert until it verifies the exact public activation- marker; if the exact source release run terminates without that marker, the- waiter must fail promptly without acquiring the promotion lease or mutating- a customer surface.+ marker. If the exact source release run terminates without an uploaded+ marker, the waiter must fail promptly without acquiring the promotion lease+ or mutating a customer surface. If GitHub's release API proves the exact+ marker asset is already uploaded but the public download edge still returns+ a transient 404, the waiter must allow a separate bounded propagation grace+ before failing. A publicly readable marker with the wrong immutable identity+ fails immediately rather than consuming that grace.The rehearsal diagnostic spec is opt-in by design, so both the hostedrehearsal and its worker profile must set `PULSE_E2E_DIAGNOSTIC=1`; invokingthat spec while leaving it skipped is not browser proof.@@ -1625,11 +1637,14 @@ 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. Stable signed candidates-therefore route release preparation, the parallel frontend bundle, and backend-qualification through GitHub-hosted runners until the signing request is on-record. All stable candidates route exact-SHA compilation through the hosted-lane: rehearsals `32631653966` and `32635525554` lost different matrix compiler+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 compilerprocesses on the PVE runner without compiler diagnostics after substantialprogress, while the same targets build independently. Prereleases retain thecredential-free PVE compilation path for speed. Stable container and Helm@@ -1695,6 +1710,17 @@ owner recorded that separate `v6.3.1` exception after exact-SHA rehearsalthe Authenticode requirement: public Unknown Publisher disclosure and theexact-SHA, checksum, detached-signature, immutable-manifest, andpublished-digest controls remain mandatory.+Exact-SHA dry run `32637439888` and release run `32639641733` subsequently+passed on `2f3d2249973293da3ae6783592c68ebd0f5d1280`. Convergence run+`32640756239` initially failed without acquiring the promotion lease because+GitHub's public asset edge returned HTTP 404 for the already-uploaded activation+marker after the source run completed. Attempt 2 adopted that immutable marker+and passed Docker aliases, Helm Pages, paid-runtime broker promotion, stable+demo update and browser proof, the definitive convergence verdict, and lease+release. The waiter now treats a successful source run with an API-visible+uploaded marker as bounded propagation rather than an absent commit, while a+failed source run, a successful run with no uploaded marker, or a readable+marker with the wrong immutable identity still fails closed.The preceding stable `v6.3.0` cut set the repo-root `VERSION`,repo-root `docker-compose.yml` image default, `scripts/install-docker.sh`diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.goindex 76c1860798..a59ef09e1f 100644--- a/scripts/installtests/build_release_assets_test.go+++ b/scripts/installtests/build_release_assets_test.go@@ -1337,8 +1337,7 @@ func TestReleaseCandidateRequiresPlatformNativeAgentSigning(t *testing.T) {assertFileContainsAll(t, repoFile(".github", "workflows", "create-release.yml"),`require_macos_signing: true`,`require_windows_signing: ${{ needs.prepare.outputs.require_windows_signing == 'true' }}`,- `(!contains(inputs.version, '-') && !inputs.unsigned_windows_exception) && 'ubuntu-24.04'`,- `needs.prepare.outputs.require_windows_signing == 'true' && 'ubuntu-24.04'`,+ `!contains(inputs.version, '-') && 'ubuntu-24.04'`,`unsigned_windows_exception:`,`unsigned_windows_reason:`,`windows_signing_backend: signpath`,@@ -2355,12 +2354,12 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {candidateBuildJob := workflowJobBlock(t, candidateWorkflow, "build")for _, needle := range []string{- `(!contains(inputs.version, '-') && !inputs.unsigned_windows_exception)`,+ `!contains(inputs.version, '-') && 'ubuntu-24.04'`,`'ubuntu-24.04'`,`pulse-pve-compile`,} {if !strings.Contains(prepareJob, needle) {- t.Fatalf("release preparation missing SignPath-aware runner selection: %s", needle)+ t.Fatalf("release preparation missing stable-hosted runner selection: %s", needle)}}if strings.Contains(prepareJob, "sparse-checkout") {@@ -2384,11 +2383,14 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {"frontend bundle": frontendBundleJob,"backend tests": backendJob,} {- if !strings.Contains(job, `needs.prepare.outputs.require_windows_signing == 'true' && 'ubuntu-24.04'`) {- t.Fatalf("%s must stay GitHub-hosted while a SignPath request is pending", label)+ if !strings.Contains(job, `!contains(inputs.version, '-') && 'ubuntu-24.04'`) {+ t.Fatalf("%s must stay GitHub-hosted for every stable release", label)}if !strings.Contains(job, "pulse-pve-") {- t.Fatalf("%s must retain PVE acceleration when Windows signing is not required", label)+ t.Fatalf("%s must retain PVE acceleration for prereleases", label)+ }+ if strings.Contains(job, "require_windows_signing") || strings.Contains(job, "unsigned_windows_exception") {+ t.Fatalf("%s runner selection must not depend on the Windows-signing decision", label)}}if !strings.Contains(compileJob, "cache: false") || strings.Contains(compileJob, "cache: 'npm'") {@@ -2522,7 +2524,9 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {t.Fatal("early convergence dispatch must remain disabled for inert release modes")}if !strings.Contains(convergenceWorkflow, `gh run view "${EXPECTED_SOURCE_RUN_ID}"`) ||- !strings.Contains(convergenceWorkflow, "completed without the exact activation marker") {+ !strings.Contains(convergenceWorkflow, "completed without the exact activation marker") ||+ !strings.Contains(convergenceWorkflow, `select(.name == "release-activation.json") | .state`) ||+ !strings.Contains(convergenceWorkflow, "uploaded but not publicly readable yet") {t.Fatal("prewarmed convergence must terminate when its source run ends without activation")}if !strings.Contains(activationJob, "- dispatch_release_convergence") {diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.pyindex 225e854d6c..bc0d4a4e5a 100644--- a/scripts/release_control/release_promotion_policy_test.py+++ b/scripts/release_control/release_promotion_policy_test.py@@ -711,6 +711,12 @@ class ReleasePromotionPolicyTest(unittest.TestCase):self.assertIn('gh run view "${EXPECTED_SOURCE_RUN_ID}"', await_commit)self.assertIn('source_status}" = "completed"', await_commit)self.assertIn("completed without the exact activation marker", await_commit)+ self.assertIn('source_conclusion}" != "success"', await_commit)+ self.assertIn('select(.name == "release-activation.json") | .state', await_commit)+ self.assertIn('marker_asset_state}" != "uploaded"', await_commit)+ self.assertIn("max_completed_propagation_attempts=20", await_commit)+ self.assertIn("uploaded but not publicly readable yet", await_commit)+ self.assertIn("does not match the expected immutable release identity", await_commit)self.assertIn("EXPECTED_CONVERGENCE_RUN_ID: ${{ github.run_id }}", await_commit)self.assertIn('original_status}" != "completed"', await_commit)self.assertIn("successor adoption is not yet allowed", await_commit)