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
Serialize stable demo operations
pulse-triage[bot]f12c4007ab30
diff --git a/.github/workflows/README.md b/.github/workflows/README.mdindex 81a8b751e6..3b347eb5d7 100644--- a/.github/workflows/README.md+++ b/.github/workflows/README.md@@ -155,16 +155,17 @@ Optional environment variables:### How It Works1. **Trigger**: Runs from the lease-owning Release Convergence workflow after an exact activation marker is committed-2. **Target selection**: Stable tags deploy to `demo-stable`; prerelease tags are skipped because the public v6 preview target is retired after GA-3. **Service identity**: Stable runs default to the `pulse` service identity-4. **Governance check**: Validates the selected tag is reachable from the governed release branch for that version-5. **Latest check**: Refuses to update the public demo unless the published tag is the latest stable release-6. **Network attach**: Joins Tailscale before any SSH step so governed demo targets can stay on private hostnames or Tailscale IPs-7. **Update**: SSHs to the selected demo host and runs the tag-matched root installer from that exact git tag-8. **Host identity check**: Verifies the SSH target reports the governed expected hostname before running installer or deploy steps-9. **Verify**: Checks that the new version is running, mock mode is active, and the public demo HTML serves the same frontend entry asset as the target service-10. **Browser smoke**: Uses the governed Playwright helper to prove the public demo still renders the login shell in a real browser-11. **Cleanup**: Removes SSH key from runner+2. **Target serialization**: Enters the bounded FIFO queue for the shared `stable-demo-runtime` concurrency lock also used by emergency recovery; GitHub environment admission alone does not serialize work on the host, and the default single-pending concurrency mode would discard superseded pending operations+3. **Target selection**: Stable tags deploy to `demo-stable`; prerelease tags are skipped because the public v6 preview target is retired after GA+4. **Service identity**: Stable runs default to the `pulse` service identity+5. **Governance check**: Validates the selected tag is reachable from the governed release branch for that version+6. **Latest check**: Refuses to update the public demo unless the published tag is the latest stable release+7. **Network attach**: Joins Tailscale before any SSH step so governed demo targets can stay on private hostnames or Tailscale IPs+8. **Update**: SSHs to the selected demo host and runs the tag-matched root installer from that exact git tag+9. **Host identity check**: Verifies the SSH target reports the governed expected hostname before running installer or deploy steps+10. **Verify**: Checks that the new version is running, mock mode is active, and the public demo HTML serves the same frontend entry asset as the target service+11. **Browser smoke**: Uses the governed Playwright helper to prove the public demo still renders the login shell in a real browser+12. **Cleanup**: Removes SSH key from runner### Testingdiff --git a/.github/workflows/recover-demo-server.yml b/.github/workflows/recover-demo-server.ymlindex d3c052f6ad..e53bcfff47 100644--- a/.github/workflows/recover-demo-server.yml+++ b/.github/workflows/recover-demo-server.yml@@ -7,7 +7,9 @@ permissions:contents: readconcurrency:- group: stable-demo-runtime-recovery+ # This is the same physical target lock used by update-demo-server.yml.+ group: stable-demo-runtime+ queue: maxcancel-in-progress: falsejobs:diff --git a/.github/workflows/update-demo-server.yml b/.github/workflows/update-demo-server.ymlindex 8f564710e5..ec5739ac36 100644--- a/.github/workflows/update-demo-server.yml+++ b/.github/workflows/update-demo-server.yml@@ -41,6 +41,15 @@ on:permissions:contents: read+# GitHub environments gate secret access and deployment admission, but do not+# serialize jobs. Share one resource lock with the recovery workflow so two+# release convergences, a verification run, and emergency recovery can never+# operate on the single stable demo host concurrently.+concurrency:+ group: stable-demo-runtime+ queue: max+ cancel-in-progress: false+jobs:resolve:runs-on: ubuntu-24.04diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.goindex ff8d3d64c7..1abfb93ada 100644--- a/scripts/installtests/build_release_assets_test.go+++ b/scripts/installtests/build_release_assets_test.go@@ -2285,6 +2285,39 @@ func TestUpdateDemoWorkflowUsesGovernedNetworkPath(t *testing.T) {}}+func TestDemoMutationAndRecoverySharePhysicalTargetLock(t *testing.T) {+ updateBytes, err := os.ReadFile(repoFile(".github", "workflows", "update-demo-server.yml"))+ if err != nil {+ t.Fatalf("read update-demo-server workflow: %v", err)+ }+ recoveryBytes, err := os.ReadFile(repoFile(".github", "workflows", "recover-demo-server.yml"))+ if err != nil {+ t.Fatalf("read recover-demo-server workflow: %v", err)+ }++ for name, workflow := range map[string]string{+ "update": string(updateBytes),+ "recovery": string(recoveryBytes),+ } {+ for _, required := range []string{+ "concurrency:\n",+ "group: stable-demo-runtime",+ "queue: max",+ "cancel-in-progress: false",+ } {+ if !strings.Contains(workflow, required) {+ t.Fatalf("%s demo workflow must share the non-cancelling physical-target lock: missing %q", name, required)+ }+ }+ }+ if !strings.Contains(string(updateBytes), "environment: ${{ needs.resolve.outputs.environment_name }}") {+ t.Fatal("update demo workflow must apply the shared lock to its resolved environment target")+ }+ if !strings.Contains(string(recoveryBytes), "environment: demo-stable") {+ t.Fatal("demo recovery workflow must apply the shared lock to the stable target")+ }+}+func TestDemoSshSetupHelperHandlesIpLiteralTargets(t *testing.T) {helperBytes, err := os.ReadFile(repoFile(".github", "scripts", "setup-demo-ssh.sh"))if err != nil {