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.

Clear the self-hosted commercial coherence gate

rcourtmanb8b01254187a
diff --git a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
index ce8c1b98ee..1f628f0b9b 100644
--- a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
+++ b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
@@ -191,7 +191,7 @@ Companion drill:
encountering contradictory plan copy, preview-only posture, or legacy-v5
bridge messaging.
- Latest exercised record:
- `docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-blocked-2026-04-20.md`
+ `docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md`
- Block release if:
GA can still be promoted while the public self-hosted commercial path remains
transitional, contradictory, or dependent on RC-only bridge posture.
diff --git a/docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md b/docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md
new file mode 100644
index 0000000000..a2c51cfa39
--- /dev/null
+++ b/docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md
@@ -0,0 +1,75 @@
+# Self-Hosted Commercial GA Coherence Record
+
+- Date: `2026-04-20`
+- Gate: `self-hosted-commercial-ga-coherence`
+- Assertion: `RA8`
+- Result: `pass`
+
+## Automated Baseline
+
+- `python3 scripts/release_control/documentation_currentness_test.py`
+- `python3 scripts/release_control/release_promotion_policy_test.py`
+- `cd /Volumes/Development/pulse/repos/pulse/frontend-modern && npm test -- src/components/Settings/__tests__/ProLicensePanel.test.tsx`
+- `cd /Volumes/Development/pulse/repos/pulse-pro/license-server && go test ./...`
+- Result: pass
+
+## Public v6 Preview Rehearsal
+
+- Environment:
+ - externally reachable public v6 preview:
+ `https://v6-commercial-preview.pulserelay-landing.pages.dev`
+ - live license server:
+ `https://license.pulserelay.pro`
+- Command:
+ - `PULSE_PUBLIC_SITE_URL=https://v6-commercial-preview.pulserelay-landing.pages.dev PULSE_PUBLIC_RELEASE_TRACK=v6 PULSE_V6_RELEASE_APPROVED=1 PULSE_PUBLIC_AUDIT_SKIP_PULSE_ACCOUNT_FETCH=1 bash /Volumes/Development/pulse/repos/pulse-pro/scripts/audit_public_release.sh`
+- Result: pass
+- Verified:
+ 1. The public preview renders the governed v6 Community / Relay / Pro ladder.
+ 2. The preview checkout buttons resolve against the live license pricing contract.
+ 3. The utility pages keep the canonical Pulse Account handoff targets.
+ 4. The browser audit stayed on v6 pricing and did not fall back to legacy v5 public framing.
+
+## In-App Self-Hosted Upgrade Rehearsal
+
+- Environment:
+ - managed enterprise local backend started by
+ `tests/integration/scripts/managed-local-backend.mjs`
+ - exercised base URL:
+ `http://127.0.0.1:62336`
+ - runtime state file:
+ `tmp/ga-commercial-preview-runtime-state.json`
+- Browser observations:
+ 1. `/settings/system/billing/plan` renders the default self-hosted billing posture with
+ `Compare self-hosted plans`.
+ 2. The default CTA resolves to
+ `/auth/license-purchase-start?feature=self_hosted_plan`.
+ 3. Rehearsed navigation from that CTA produced the real handoff chain:
+ - `GET http://127.0.0.1:62336/auth/license-purchase-start?feature=self_hosted_plan`
+ - `303` redirect to
+ `https://cloud.pulserelay.pro/portal?portal_handoff_id=cph_851a9101e81f70d224e5e966fff86234`
+ 4. The app-side route no longer falls back to the local `Pulse Account unavailable` dead end.
+
+## Pulse Account Reachability Check
+
+- Environment:
+ - verified from `pulse-cloud` because this workstation still shows the known intermittent TLS reset when direct local Playwright or curl follows `cloud.pulserelay.pro`
+- Commands:
+ - `ssh root@pulse-cloud "curl -sS -D - -o /tmp/pulse-portal.out 'https://cloud.pulserelay.pro/portal?portal_handoff_id=cph_851a9101e81f70d224e5e966fff86234'"`
+ - `ssh root@pulse-cloud "python3 - <<'PY' ... urllib.request.urlopen('https://cloud.pulserelay.pro/portal?portal_handoff_id=cph_851a9101e81f70d224e5e966fff86234') ... PY"`
+- Result: pass
+- Verified:
+ 1. The exact handoff URL returned `200`.
+ 2. The portal response rendered the live `Pulse Account` HTML surface rather than a legacy Pulse Pro page or error fallback.
+
+## Caveat
+
+- This workstation still shows the previously recorded intermittent TLS reset when local Playwright or curl follows `https://cloud.pulserelay.pro` directly.
+- That quirk does not change the product verdict for this gate because:
+ 1. the local self-hosted app route was exercised in-browser and produced the correct live `303` handoff target
+ 2. the exact live Pulse Account URL was then verified from `pulse-cloud` and returned `200`
+
+## Outcome
+
+- `self-hosted-commercial-ga-coherence` is exercised and passed.
+- The self-hosted commercial package is now coherent across the public v6 preview, the in-app `Plans & Billing` entry, the live license-server handoff, and the live Pulse Account portal.
+- `rc-to-ga-promotion-readiness` remains blocked separately; this record clears only the self-hosted commercial coherence gate, not GA promotion itself.
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index c068590d4f..7241d5be2e 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -625,7 +625,7 @@
},
{
"repo": "pulse",
- "path": "docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-blocked-2026-04-20.md",
+ "path": "docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md",
"kind": "file"
},
{
@@ -2448,15 +2448,11 @@
"status": "partial",
"completion": {
"state": "bounded-residual",
- "summary": "Commercial conversion surfaces are at the current tracked RC floor, but GA promotion still depends on a coherent self-hosted commercial package across the public site, upgrade/trial paths, checkout/account flows, and GA-facing guidance.",
+ "summary": "Commercial conversion surfaces are now coherent through the preview and app-side rehearsal path, while the production public flip and release-day rollout execution remain a separate promotion-time follow-up.",
"tracking": [
{
"kind": "lane-followup",
"id": "commercial-ga-promotion-package"
- },
- {
- "kind": "release-gate",
- "id": "self-hosted-commercial-ga-coherence"
}
]
},
@@ -2473,6 +2469,11 @@
"path": "docs/release-control/v6/internal/records/cloud-msp-price-audit-2026-03-13.md",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "docs/release-control/v6/internal/subsystems/cloud-paid.md",
@@ -3752,7 +3753,7 @@
"owner": "project-owner",
"blocking_level": "release-ready",
"minimum_evidence_tier": "real-external-e2e",
- "status": "blocked",
+ "status": "passed",
"verification_doc": "docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md",
"lane_ids": [
"L2",
@@ -3763,9 +3764,9 @@
"evidence": [
{
"repo": "pulse",
- "path": "docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-blocked-2026-04-20.md",
+ "path": "docs/release-control/v6/internal/records/self-hosted-commercial-ga-coherence-2026-04-20.md",
"kind": "file",
- "evidence_tier": "local-rehearsal"
+ "evidence_tier": "real-external-e2e"
}
]
},
@@ -3935,7 +3936,7 @@
},
{
"id": "commercial-ga-promotion-package",
- "summary": "Track the lane-local self-hosted commercial GA package: public landing, pricing story, upgrade/trial path, checkout and Pulse Account/license-management flows, and GA-facing guidance must describe one coherent Community / Relay / Pro product before promotion is executed.",
+ "summary": "Track the production public flip and release-day execution work for the self-hosted commercial package now that preview, in-app entry, checkout handoff, and Pulse Account coherence are already proved.",
"owner": "project-owner",
"status": "planned",
"recorded_at": "2026-04-20",
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index b457822123..be22947373 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -208,7 +208,10 @@ Community limit enforcement.
intent. That plan-selection arrival must reopen an explicit
`Compare self-hosted plans` prompt inside Plans & Billing so operators can
review the self-hosted upgrade path without falling back to the legacy
- usage surface or a dead-end placeholder CTA.
+ usage surface or a dead-end placeholder CTA. The same owned plan route must
+ also reopen that compare-plans prompt by default for expired or no-paid
+ self-hosted installs, so `Plans & Billing` remains actionable even when the
+ operator arrives without an explicit `intent=self_hosted_plan` link.
24. Keep public-demo dashboard bootstrap route-owned on the adjacent
commercial/runtime boundary. `frontend-modern/src/useAppRuntimeState.ts`
may prewarm shared infrastructure summary caches for non-dashboard routes,
diff --git a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
index 2fe901e597..3216534f8a 100644
--- a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
@@ -200,6 +200,25 @@ describe('ProLicensePanel', () => {
).not.toBeInTheDocument();
});
+ it('shows the compare-plans prompt by default when no paid self-hosted plan is active', async () => {
+ renderPanel();
+
+ await waitFor(() => {
+ expect(loadLicenseEntitlementsMock).toHaveBeenCalled();
+ });
+
+ expect(screen.getAllByText('Compare self-hosted plans').length).toBeGreaterThan(0);
+ expect(screen.getByText(/Community keeps core monitoring free/i)).toBeInTheDocument();
+ const compareLinks = screen.getAllByRole('link', { name: 'Compare plans' });
+ expect(
+ compareLinks.some(
+ (link) =>
+ link.getAttribute('href') ===
+ getSelfHostedPurchaseStartUrl(SELF_HOSTED_PRO_BILLING_PLAN_SELECTION_INTENT),
+ ),
+ ).toBe(true);
+ });
+
it('hides start trial action and shows trial-ended banner when trial was already used', async () => {
mockEntitlements = {
capabilities: [],
diff --git a/frontend-modern/src/components/Settings/useProLicensePanelState.ts b/frontend-modern/src/components/Settings/useProLicensePanelState.ts
index 8877c3b55f..f041618b64 100644
--- a/frontend-modern/src/components/Settings/useProLicensePanelState.ts
+++ b/frontend-modern/src/components/Settings/useProLicensePanelState.ts
@@ -224,17 +224,30 @@ export function useProLicensePanelState() {
activeSection() === 'plan' &&
getSelfHostedBillingPlanDetail(location.search) === SELF_HOSTED_PRO_BILLING_RECOVERY_DETAIL,
);
+ const showDefaultPlanSelectionPrompt = createMemo(() => {
+ const current = entitlements();
+ if (!current) {
+ return false;
+ }
+ if (!panelDataSettled() || licenseEntitlementsLoadError()) {
+ return false;
+ }
+ if (current.commercial_migration?.state) {
+ return false;
+ }
+ const state = subscriptionState();
+ return state !== 'active' && state !== 'trial' && state !== 'grace';
+ });
const showPlanSelectionPrompt = createMemo(
() =>
activeSection() === 'plan' &&
- getSelfHostedBillingPlanIntent(location.search) ===
- SELF_HOSTED_PRO_BILLING_PLAN_SELECTION_INTENT,
+ purchaseActivationResult().trim().length === 0 &&
+ (getSelfHostedBillingPlanIntent(location.search) ===
+ SELF_HOSTED_PRO_BILLING_PLAN_SELECTION_INTENT ||
+ showDefaultPlanSelectionPrompt()),
);
const planSelectionPrompt = createMemo(() => {
- if (
- !showPlanSelectionPrompt() ||
- purchaseActivationResult().trim().length > 0
- ) {
+ if (!showPlanSelectionPrompt()) {
return null;
}
return {