Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Own release artifact promotion surfaces under installability

rcourtmanbd230d9c722e
diff --git a/.github/workflows/helm-pages.yml b/.github/workflows/helm-pages.yml
index bfabd80494..b27461597c 100644
--- a/.github/workflows/helm-pages.yml
+++ b/.github/workflows/helm-pages.yml
@@ -87,8 +87,36 @@ jobs:
fi
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
+ echo "release_tag=v${VERSION}" >> "$GITHUB_OUTPUT"
echo "Chart version: $VERSION"
+ - name: Validate release line policy
+ env:
+ VERSION: ${{ steps.version.outputs.version }}
+ RELEASE_TAG: ${{ steps.version.outputs.release_tag }}
+ run: |
+ set -euo pipefail
+
+ REQUIRED_BRANCH="$(python3 scripts/release_control/control_plane.py --branch-for-version "${VERSION}")"
+
+ if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then
+ git fetch --prune --unshallow origin
+ fi
+ git fetch --prune origin "${REQUIRED_BRANCH}" --tags
+
+ if ! git rev-parse -q --verify "refs/tags/${RELEASE_TAG}" >/dev/null; then
+ echo "::error::Tag ${RELEASE_TAG} does not exist. Helm pages release must map to a real Git tag."
+ exit 1
+ fi
+
+ TAG_COMMIT="$(git rev-list -n1 "refs/tags/${RELEASE_TAG}")"
+ if ! git merge-base --is-ancestor "$TAG_COMMIT" "origin/${REQUIRED_BRANCH}"; then
+ echo "::error::Tag ${RELEASE_TAG} is not reachable from origin/${REQUIRED_BRANCH}. Refusing cross-line Helm pages release."
+ exit 1
+ fi
+
+ echo "[OK] ${RELEASE_TAG} validated against release line ${REQUIRED_BRANCH}"
+
- name: Update Chart.yaml version
run: |
VERSION="${{ steps.version.outputs.version }}"
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index e5df6e37d1..16581fadce 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -25,32 +25,37 @@ server-side update execution surfaces.
3. `frontend-modern/src/api/updates.ts`
4. `.github/workflows/create-release.yml`
5. `.github/workflows/deploy-demo-server.yml`
-6. `.github/workflows/publish-docker.yml`
+6. `.github/workflows/helm-pages.yml`
7. `.github/workflows/promote-floating-tags.yml`
-8. `.github/workflows/release-dry-run.yml`
-9. `package.json`
-10. `frontend-modern/package.json`
-11. `scripts/build-release.sh`
-12. `scripts/clean-mock-alerts.sh`
-13. `scripts/com.pulse.hot-dev.plist.template`
-14. `scripts/dev-check.sh`
-15. `scripts/dev-launchd-setup.sh`
-16. `scripts/dev-launchd-wrapper.sh`
-17. `scripts/hot-dev-bg.sh`
-18. `scripts/hot-dev.sh`
-19. `scripts/install-container-agent.sh`
-20. `scripts/install.ps1`
-21. `scripts/install.sh`
-22. `scripts/pulse-auto-update.sh`
-23. `scripts/release_control/resolve_release_promotion.py`
-24. `scripts/release_ldflags.sh`
-25. `scripts/toggle-mock.sh`
-26. `tests/integration/playwright.config.ts`
-27. `tests/integration/QUICK_START.md`
-28. `tests/integration/README.md`
-29. `tests/integration/scripts/managed-dev-runtime.mjs`
-30. `tests/integration/tests/helpers.ts`
-31. `tests/integration/tests/runtime-defaults.ts`
+8. `.github/workflows/publish-docker.yml`
+9. `.github/workflows/publish-helm-chart.yml`
+10. `.github/workflows/release-dry-run.yml`
+11. `.github/workflows/update-demo-server.yml`
+12. `package.json`
+13. `frontend-modern/package.json`
+14. `scripts/build-release.sh`
+15. `scripts/clean-mock-alerts.sh`
+16. `scripts/com.pulse.hot-dev.plist.template`
+17. `scripts/dev-check.sh`
+18. `scripts/dev-launchd-setup.sh`
+19. `scripts/dev-launchd-wrapper.sh`
+20. `scripts/hot-dev-bg.sh`
+21. `scripts/hot-dev.sh`
+22. `scripts/install-container-agent.sh`
+23. `scripts/install.ps1`
+24. `scripts/install.sh`
+25. `scripts/pulse-auto-update.sh`
+26. `scripts/release_control/resolve_release_promotion.py`
+27. `scripts/release_ldflags.sh`
+28. `scripts/trigger-release-dry-run.sh`
+29. `scripts/trigger-release.sh`
+30. `scripts/toggle-mock.sh`
+31. `tests/integration/playwright.config.ts`
+32. `tests/integration/QUICK_START.md`
+33. `tests/integration/README.md`
+34. `tests/integration/scripts/managed-dev-runtime.mjs`
+35. `tests/integration/tests/helpers.ts`
+36. `tests/integration/tests/runtime-defaults.ts`
## Shared Boundaries
@@ -62,11 +67,11 @@ server-side update execution surfaces.
## Extension Points
1. Add or change deployment-type detection, update planning, or apply behavior through `internal/updates/`
-2. Add or change release-build metadata injection, release artifact assembly, or governed promotion metadata resolution through `scripts/build-release.sh`, `scripts/release_ldflags.sh`, `scripts/release_control/resolve_release_promotion.py`, `Dockerfile`, and the governed release workflows `.github/workflows/create-release.yml`, `.github/workflows/deploy-demo-server.yml`, `.github/workflows/publish-docker.yml`, `.github/workflows/promote-floating-tags.yml`, and `.github/workflows/release-dry-run.yml`
+2. Add or change release-build metadata injection, release artifact assembly, or governed promotion metadata resolution through `scripts/build-release.sh`, `scripts/release_ldflags.sh`, `scripts/release_control/resolve_release_promotion.py`, `Dockerfile`, the operator dispatch helpers `scripts/trigger-release.sh` and `scripts/trigger-release-dry-run.sh`, and the governed release workflows `.github/workflows/create-release.yml`, `.github/workflows/deploy-demo-server.yml`, `.github/workflows/helm-pages.yml`, `.github/workflows/publish-docker.yml`, `.github/workflows/publish-helm-chart.yml`, `.github/workflows/promote-floating-tags.yml`, `.github/workflows/release-dry-run.yml`, and `.github/workflows/update-demo-server.yml`
3. Add or change shell installer, Windows installer, container-agent installer, or auto-update script behavior through `scripts/install.sh`, `scripts/install.ps1`, `scripts/install-container-agent.sh`, and `scripts/pulse-auto-update.sh`
4. Add or change server update transport through `internal/api/updates.go` and `frontend-modern/src/api/updates.ts`
5. Add or change local dev-runtime orchestration, managed ownership, browser-runtime proof wiring, frontend/backend coherence diagnostics, canonical developer entry wrappers, or dev-runtime helper control surfaces through `scripts/hot-dev.sh`, `scripts/hot-dev-bg.sh`, `Makefile`, `package.json`, `frontend-modern/package.json`, `scripts/dev-check.sh`, `scripts/toggle-mock.sh`, `scripts/clean-mock-alerts.sh`, `scripts/dev-launchd-setup.sh`, `scripts/dev-launchd-wrapper.sh`, `scripts/com.pulse.hot-dev.plist.template`, `tests/integration/scripts/managed-dev-runtime.mjs`, `tests/integration/playwright.config.ts`, `tests/integration/tests/helpers.ts`, `tests/integration/tests/runtime-defaults.ts`, `tests/integration/README.md`, and `tests/integration/QUICK_START.md`
-6. Add or change governed release-promotion workflow inputs, operator-facing promotion metadata, prerelease lineage enforcement, or stable-promotion rehearsal summaries through `.github/workflows/create-release.yml`, `.github/workflows/publish-docker.yml`, `.github/workflows/promote-floating-tags.yml`, and `.github/workflows/release-dry-run.yml`
+6. Add or change governed release-promotion workflow inputs, operator-facing promotion metadata, artifact publication lineage enforcement, or stable-promotion rehearsal summaries through `.github/workflows/create-release.yml`, `.github/workflows/helm-pages.yml`, `.github/workflows/publish-docker.yml`, `.github/workflows/publish-helm-chart.yml`, `.github/workflows/promote-floating-tags.yml`, `.github/workflows/release-dry-run.yml`, `.github/workflows/update-demo-server.yml`, `scripts/trigger-release.sh`, and `scripts/trigger-release-dry-run.sh`
## Forbidden Paths
@@ -113,6 +118,13 @@ for stable-versus-prerelease metadata validation shared by `.github/workflows/re
and `.github/workflows/create-release.yml`. Promotion rollback targets, promoted
prerelease lineage, soak checks, and GA/v5 notice metadata may not drift between those
two workflows through duplicated inline shell validation.
+That same promotion-governance boundary also owns the release-dispatch helpers
+and artifact follow-on workflows that consume those same decisions. Demo
+deployment, Docker publication, Helm chart publication, Helm Pages release, and
+the manual `trigger-release*.sh` entrypoints must all derive their governed
+release line from control-plane metadata before they touch public artifacts or
+deployment targets, rather than treating tag names or workflow triggers as
+enough proof on their own.
Those same governed release workflows also own the operator-facing wording for
that promotion metadata. Human-visible workflow inputs, summaries, and error
messages must describe the path as a prerelease or preview flow rather than
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index d533f6967c..aecd4e78c6 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -2136,9 +2136,12 @@
"owned_files": [
".github/workflows/create-release.yml",
".github/workflows/deploy-demo-server.yml",
+ ".github/workflows/helm-pages.yml",
".github/workflows/promote-floating-tags.yml",
".github/workflows/publish-docker.yml",
+ ".github/workflows/publish-helm-chart.yml",
".github/workflows/release-dry-run.yml",
+ ".github/workflows/update-demo-server.yml",
"Dockerfile",
"frontend-modern/package.json",
"frontend-modern/src/api/updates.ts",
@@ -2160,6 +2163,8 @@
"scripts/release_control/resolve_release_promotion.py",
"scripts/release_ldflags.sh",
"scripts/toggle-mock.sh",
+ "scripts/trigger-release-dry-run.sh",
+ "scripts/trigger-release.sh",
"tests/integration/playwright.config.ts",
"tests/integration/QUICK_START.md",
"tests/integration/README.md",
@@ -2203,14 +2208,19 @@
},
{
"id": "release-promotion-metadata-runtime",
- "label": "release promotion metadata proof",
+ "label": "release promotion and artifact dispatch proof",
"match_prefixes": [],
"match_files": [
".github/workflows/create-release.yml",
+ ".github/workflows/helm-pages.yml",
".github/workflows/promote-floating-tags.yml",
".github/workflows/publish-docker.yml",
+ ".github/workflows/publish-helm-chart.yml",
".github/workflows/release-dry-run.yml",
- "scripts/release_control/resolve_release_promotion.py"
+ ".github/workflows/update-demo-server.yml",
+ "scripts/release_control/resolve_release_promotion.py",
+ "scripts/trigger-release-dry-run.sh",
+ "scripts/trigger-release.sh"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
diff --git a/scripts/release_control/dev_runtime_governance_test.py b/scripts/release_control/dev_runtime_governance_test.py
index 373f413e0a..fb4a9bd534 100644
--- a/scripts/release_control/dev_runtime_governance_test.py
+++ b/scripts/release_control/dev_runtime_governance_test.py
@@ -105,6 +105,43 @@ class DevRuntimeGovernanceTest(unittest.TestCase):
match["verification_requirement"]["exact_files"],
)
+ def test_lookup_maps_release_artifact_follow_on_surfaces_to_installability(self) -> None:
+ result = lookup_paths(
+ [
+ ".github/workflows/helm-pages.yml",
+ ".github/workflows/publish-helm-chart.yml",
+ ".github/workflows/update-demo-server.yml",
+ "scripts/trigger-release-dry-run.sh",
+ "scripts/trigger-release.sh",
+ ]
+ )
+ self.assertEqual(result["unowned_runtime_files"], [])
+ self.assertEqual(
+ {entry["subsystem"] for entry in result["impacted_subsystems"]},
+ {"deployment-installability"},
+ )
+
+ for file_entry in result["files"]:
+ self.assertEqual(file_entry["classification"], "runtime")
+ self.assertEqual(
+ {match["subsystem"] for match in file_entry["matches"]},
+ {"deployment-installability"},
+ )
+ match = file_entry["matches"][0]
+ self.assertEqual(
+ match["contract"],
+ "docs/release-control/v6/internal/subsystems/deployment-installability.md",
+ )
+ self.assertEqual(match["lane_context"]["lane_id"], "L1")
+ self.assertEqual(
+ match["verification_requirement"]["id"],
+ "release-promotion-metadata-runtime",
+ )
+ self.assertIn(
+ "scripts/release_control/release_promotion_policy_test.py",
+ match["verification_requirement"]["exact_files"],
+ )
+
if __name__ == "__main__":
unittest.main()
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index a37012bfd1..937c45b713 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -202,13 +202,16 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
promote = read(".github/workflows/promote-floating-tags.yml")
demo = read(".github/workflows/update-demo-server.yml")
helm = read(".github/workflows/publish-helm-chart.yml")
+ helm_pages = read(".github/workflows/helm-pages.yml")
runbook = read("docs/releases/V6_PRERELEASE_RUNBOOK.md")
self.assertIn("control_plane.py --branch-for-version", publish)
self.assertIn("control_plane.py --branch-for-version", promote)
self.assertIn("control_plane.py --branch-for-version", demo)
self.assertIn("control_plane.py --branch-for-version", helm)
+ self.assertIn("control_plane.py --branch-for-version", helm_pages)
self.assertIn("does not descend from any matching prerelease tag", publish)
self.assertIn("does not descend from any matching prerelease tag", promote)
+ self.assertIn("Refusing cross-line Helm pages release", helm_pages)
self.assertIn("both stable and prerelease releases dispatch", runbook)
self.assertIn("Release `6.0.0` from `pulse/v6-release`", runbook)
self.assertIn(promotion_metadata_envelope(), normalize_ws(runbook))