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
Upgrade State and Entitlement Preservation Record
- Date:
2026-03-13 - Gate:
upgrade-state-and-entitlement-preservation - Assertions:
RA3RA6
- Evidence tier:
real-external-e2e
Automated Proof Baseline
go test ./internal/api -run 'TestHandleActivateLicense_ExchangesLegacyJWTInStrictV6|TestHandleActivateLicense_ClearsCommercialMigrationStateOnNativeActivation|TestHandleActivateLicense_ActivationKeyClearsStaleLegacyPersistence|TestGetTenantComponents_AutoExchangesPersistedLegacyJWT|TestGetTenantComponents_SkipsExchange_WhenActivationStateExists|TestGetTenantComponents_PersistsCommercialMigrationState_WhenAutoExchangeFails|TestRequireLicenseFeature_HostedEntitlementsBlockMissingFeature|TestRequireLicenseFeature_HostedEntitlementsAllowGrantedFeature|TestLicenseGatedEmptyResponse_HostedEntitlementsReturnEmptyArrayWhenLocked|TestHandleGetUpdatePlan|TestHandleGetUpdatePlan_InvalidChannel|TestHandleGetUpdatePlan_PrepareError|TestHandleGetUpdatePlan_ManualFallback' -count=1go test ./pkg/licensing/... -count=1go test ./tests/migration -run 'TestV5PaidLicenseUpgrade_CommercialMigrationFailureMatrix|TestV5PaidLicenseUpgrade_RealLicenseServerExchange|TestV5DataDir_CSRFLegacyMapFormat|TestV5DataDir_CSRFTokenFileContinuity|TestV5DataDir_SessionLegacyMapFormat|TestV5DataDir_SessionTokenContinuity|TestV5DowngradeSafety|TestV5FullUpgradeScenario' -count=1cd tests/integration && PULSE_BASE_URL=http://127.0.0.1:17655 PULSE_E2E_USERNAME=admin PULSE_E2E_PASSWORD=adminadminadmin PULSE_E2E_SKIP_DOCKER=1 PULSE_E2E_SKIP_PLAYWRIGHT_INSTALL=1 npm test -- tests/11-first-session.spec.ts --project=chromium- Result: pass
Real External Exchange Proof
TestV5PaidLicenseUpgrade_RealLicenseServerExchange now replaces the old strict-mode exchange stub as the closure-strengthening proof for paid upgrade continuity.
It exercises the real sibling external dependency in pulse-pro instead of an in-process fake:
- Builds and starts the real
pulse-pro/license-serverbinary with a generated Ed25519 signing key and v5 grandfathered plan definitions. - Seeds the license-server data directory with a legacy v5 license record for each supported grandfathered shape:
v5_lifetime_grandfatheredv5_pro_monthly_grandfatheredv5_pro_annual_grandfathered
- Generates a genuinely signed legacy v5 JWT using the same private key the real license server uses for verification.
- Persists that legacy JWT into the local Pulse data directory as the pre-upgrade paid state.
- Starts the v6 license handling path against the real
POST /v1/licenses/exchangeendpoint. - Confirms the upgrade result for each case:
- paid state auto-exchanges on startup without repeated license entry
- a new canonical v6
lic_...activation is persisted - the activation state points back to the real license-server base URL
- grandfathered
plan_versioncontinuity is preserved max_monitored_systemscontinuity is preserved- the original legacy JWT remains on disk for downgrade safety
Managed Runtime Continuity Still Covered
The 2026-03-12 upgrade rehearsal remains relevant supporting evidence for the parts this new proof does not replace:
- local state continuity across the v5 -> v6 binary swap
- first-session continuity
- session / CSRF continuity
- non-paid and paid surface stability after upgrade
That record is now supporting evidence, not the sole closure basis.
Outcome
- Upgrade continuity is now backed by both:
- real external exchange against the real
pulse-pro/license-server - managed-runtime first-session and local-state continuity evidence
- real external exchange against the real
- The gate no longer depends on a local exchange stub to claim closure confidence.
- This is sufficient to treat
upgrade-state-and-entitlement-preservationas genuinely meeting itsreal-external-e2eevidence threshold.