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
Repair release activation recovery contracts
rcourtman1ef8797d2874
diff --git a/.github/workflows/recover-release-activation.yml b/.github/workflows/recover-release-activation.ymlindex 2242aeb5c3..c194ba7b9d 100644--- a/.github/workflows/recover-release-activation.yml+++ b/.github/workflows/recover-release-activation.yml@@ -74,23 +74,14 @@ jobs:gh api --paginate --slurp \"repos/${GITHUB_REPOSITORY}/actions/runs/${SOURCE_RELEASE_RUN_ID}/jobs?per_page=100" \| jq '[.[].jobs[]]' > "${source_jobs}"+ # release_readiness is the canonical DAG join for every immutable+ # gate. Do not duplicate reusable-workflow display names here: those+ # names are presentation details and can change while the join stays+ # authoritative. The surrounding all-jobs verdict below still+ # rejects every failure outside the activation boundary.for required_job in \prepare \- "Windows PowerShell 5.1 Install Command Smoke" \- docker_build \- helm_smoke \- frontend_checks \- "Build Immutable Release Candidate / Verify Native Signing Configuration" \- "Build Immutable Release Candidate / Sign and Notarize macOS Agent" \- "Build Immutable Release Candidate / Build and Validate Release Candidate" \- backend_tests \- release_smoke \create_release \- stage_private_pro_runtime \- "validate_release_assets / validate" \- "publish_docker / publish" \- "publish_helm_chart / Package and Push Helm Chart" \- "install_sh_smoke / smoke" \release_readiness \dispatch_release_convergence; dojq -e --arg name "${required_job}" \diff --git a/.github/workflows/release-convergence.yml b/.github/workflows/release-convergence.ymlindex 3a99a8e8bc..09f402953e 100644--- a/.github/workflows/release-convergence.yml+++ b/.github/workflows/release-convergence.yml@@ -282,6 +282,7 @@ jobs:# already won admission for the rollback-prone customer surfaces.if: ${{ needs.acquire_customer_promotion_lease.result == 'success' }}permissions:+ actions: readcontents: writeuses: ./.github/workflows/helm-pages.ymlsecrets: inheritdiff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 387051be98..1d71cc7c2d 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -1183,7 +1183,10 @@ upgrade, update, release, or artifact-selection behavior.A failed activation after immutable readiness has passed may use theactivation-only recovery workflow. Recovery must accept only a completedfailed `create-release.yml` run whose failures are confined to activation,- require every immutable gate to be successful, revalidate GitHub's stored+ require the successful `release_readiness` DAG join as the canonical proof+ that every immutable gate succeeded, and reject every failure outside the+ activation boundary. Recovery must not duplicate reusable-workflow display+ names as a parallel gate catalog. It must revalidate GitHub's storedasset digests against that source run's unexpired candidate manifest, andrequire the same draft release ID, tag, target commit, and absent activationmarker. It then dispatches a fresh durable convergence owner and repeats the@@ -1192,6 +1195,12 @@ upgrade, update, release, or artifact-selection behavior.name and display title are coherently indexed, both normal and recoveredactivation use a bounded metadata-propagation wait before rejecting theconvergence owner; a terminal owner still fails immediately.+ Every convergence job that calls a reusable workflow must explicitly grant+ all permissions requested by that callee. In particular, Helm Pages+ convergence requires both `actions: read` to retrieve the exact source-run+ chart and `contents: write` to update the versioned Pages index; omitting a+ required caller permission is a workflow startup failure, not retriable+ customer-surface debt.One immutable-readiness join must cover the staged release packet, stagedinstall smoke, exact public Docker images, exact Helm OCI chart, and (forv6) the exact Pro image and signed packet. After that join, activation mustdiff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.pyindex c600ed369f..e7d1fdf51c 100644--- a/scripts/release_control/release_promotion_policy_test.py+++ b/scripts/release_control/release_promotion_policy_test.py@@ -439,6 +439,9 @@ class ReleasePromotionPolicyTest(unittest.TestCase):self.assertIn('.path == ".github/workflows/create-release.yml"', job)self.assertIn("release_readiness", job)self.assertIn("dispatch_release_convergence", job)+ self.assertIn("release_readiness is the canonical DAG join", job)+ self.assertNotIn("docker_build", job)+ self.assertNotIn("helm_smoke", job)self.assertIn("failure outside the recoverable activation boundary", job)self.assertIn("release-candidate-manifest-${source_sha}-${version}", job)self.assertIn("scripts/release_candidate_manifest.py verify-release", job)@@ -452,6 +455,11 @@ class ReleasePromotionPolicyTest(unittest.TestCase):self.assertNotIn("build-release-candidate.yml", recovery)self.assertNotIn("scripts/build-release.sh", recovery)+ convergence = read(".github/workflows/release-convergence.yml")+ helm_pages_caller = workflow_job_block(convergence, "publish_helm_pages")+ self.assertIn("actions: read", helm_pages_caller)+ self.assertIn("contents: write", helm_pages_caller)+marker_upload = job.index('gh release upload "${TAG}"')committed = job.index("committed=true", marker_upload)readback = job.index("curl -fsSL --retry 12", committed)