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.

Stage private release assets during qualification

rcourtmanc6bf50b45533
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 3546dc4b87..02ffb1c6fe 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -1381,14 +1381,14 @@ jobs:
- name: Confirm immutable release readiness
run: echo "All exact-version release paths are ready for customer activation."
- # Stage the exact private Pro image and signed R2 packet as soon as the draft
- # release/tag exist. This slow build runs in parallel with public artifact
- # validation, but does not update the live paid-runtime broker manifest.
+ # Stage the exact private Pro image and signed R2 packet from the anticipated
+ # tag and immutable public SHA as soon as preparation succeeds. These assets
+ # remain inert until public readiness and activation allow the separate
+ # convergence workflow to update the live paid-runtime broker manifest.
stage_private_pro_runtime:
needs:
- prepare
- - create_release
- if: ${{ always() && needs.prepare.result == 'success' && needs.create_release.result == 'success' && needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true' && startsWith(needs.prepare.outputs.version, '6.') }}
+ if: ${{ always() && needs.prepare.result == 'success' && needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true' && startsWith(needs.prepare.outputs.version, '6.') }}
runs-on: ubuntu-24.04
timeout-minutes: 120
outputs:
@@ -1476,6 +1476,7 @@ jobs:
build_dispatch="$(
jq -n \
--arg pulse_ref "${TAG}" \
+ --arg pulse_checkout_ref "${GITHUB_SHA}" \
--arg version "${VERSION}" \
--arg r2_prefix "${r2_prefix}" \
--arg allow_stable_ga_publish "${allow_ga_publish}" \
@@ -1484,6 +1485,7 @@ jobs:
return_run_details: true,
inputs: {
pulse_ref: $pulse_ref,
+ pulse_checkout_ref: $pulse_checkout_ref,
version: $version,
upload_actions_artifact: "false",
upload_to_r2: "true",
@@ -1491,7 +1493,8 @@ jobs:
docker_image: "license.pulserelay.pro/pulse-pro",
r2_prefix: $r2_prefix,
reuse_existing_packet: "true",
- allow_stable_ga_publish: $allow_stable_ga_publish
+ allow_stable_ga_publish: $allow_stable_ga_publish,
+ allow_pre_activation_staging: "true"
}
}' | \
gh api \
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 5bc8854142..1a5b580fce 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -546,6 +546,12 @@ upgrade, update, release, or artifact-selection behavior.
worker count. The verified dual-SHA Pro path must stage its five archives
directly from the precompiled public-agent and Pro-server payloads; it must
not build, sign, and then discard a complete public release packet first.
+ The public orchestrator may stage the exact private packet and private image
+ concurrently with public qualification when it binds the anticipated tag to
+ the immutable public commit, uses a run-scoped R2 prefix, and keeps the live
+ paid-runtime broker unchanged. Public readiness must still verify the final
+ tag and every public artifact before convergence may activate that inert
+ private staging packet for customers.
The backend runner must compile the race-enabled `internal/api` test binary
once, enumerate every top-level test from that exact binary, and generate a
deterministic manifest proving a complete, disjoint partition. Each
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 167f4dab5d..b591ca99ae 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -2142,8 +2142,19 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {
if strings.Contains(validationJob, "- publish_docker") {
t.Fatal("release asset digest validation must run in parallel with Docker publication")
}
- if !strings.Contains(privateStageJob, "- create_release") || strings.Contains(privateStageJob, "- validate_release_assets") {
- t.Fatal("private Pro staging must start after draft creation without waiting for asset validation")
+ if !strings.Contains(privateStageJob, "- prepare") ||
+ strings.Contains(privateStageJob, "- create_release") ||
+ strings.Contains(privateStageJob, "- validate_release_assets") {
+ t.Fatal("inert private Pro staging must start after preparation without waiting for public qualification or draft creation")
+ }
+ for _, needle := range []string{
+ `--arg pulse_checkout_ref "${GITHUB_SHA}"`,
+ `pulse_checkout_ref: $pulse_checkout_ref`,
+ `allow_pre_activation_staging: "true"`,
+ } {
+ if !strings.Contains(privateStageJob, needle) {
+ t.Fatalf("private Pro pre-activation staging missing exact-SHA contract: %s", needle)
+ }
}
for _, dependency := range []string{
"- create_release",