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.

Retire trial-expired purchase handoff

rcourtmanc4b6c7080843
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 13cdf42fd2..65c7d6d42b 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -511,6 +511,9 @@ accessible from self-hosted environments.
Retired trial-acquisition intents such as `trial_expired` must not be owned
pricing handoff destinations; no ordinary self-hosted runtime path should emit
them as an upgrade reason or plan-page CTA.
+Legacy browser arrivals carrying that stale feature may land on the neutral
+Plans & Activation surface, but must not preserve `trial_expired` into a Pulse
+Account purchase-start handoff or trial-shaped checkout feature.
The monitored-system app-shell warning CTA now follows that same commercial
boundary by rendering only in hosted mode. Ordinary self-hosted installs must
not see finite monitored-system pressure in the global app shell; when hosted
diff --git a/frontend-modern/src/utils/__tests__/pricingHandoff.test.ts b/frontend-modern/src/utils/__tests__/pricingHandoff.test.ts
index ece4f4bafc..6c7b7334a2 100644
--- a/frontend-modern/src/utils/__tests__/pricingHandoff.test.ts
+++ b/frontend-modern/src/utils/__tests__/pricingHandoff.test.ts
@@ -48,8 +48,9 @@ describe('pricingHandoff', () => {
it('does not keep retired trial-expired as an owned in-product billing intent', () => {
expect(getPricingRouteDestination('?feature=trial_expired')).toBe(
- getSelfHostedPurchaseStartUrl('trial_expired', new URLSearchParams('feature=trial_expired')),
+ SELF_HOSTED_PRO_BILLING_PLAN_HREF,
);
+ expect(getUpgradeFallbackDestination('trial_expired')).toBe(SELF_HOSTED_PRO_BILLING_PLAN_HREF);
});
it('routes unknown feature upgrades to Pulse Account purchase start', () => {
diff --git a/frontend-modern/src/utils/pricingHandoff.ts b/frontend-modern/src/utils/pricingHandoff.ts
index ad736e580c..c07c906f4f 100644
--- a/frontend-modern/src/utils/pricingHandoff.ts
+++ b/frontend-modern/src/utils/pricingHandoff.ts
@@ -52,6 +52,7 @@ export const SELF_HOSTED_PRO_BILLING_PLAN_SELECTION_HREF = `${SELF_HOSTED_PRO_BI
const IN_PRODUCT_PRICING_DESTINATIONS: Record<string, string> = {
self_hosted_plan: SELF_HOSTED_PRO_BILLING_PLAN_SELECTION_HREF,
max_monitored_systems: SELF_HOSTED_PRO_BILLING_USAGE_COUNTING_RULES_HREF,
+ trial_expired: SELF_HOSTED_PRO_BILLING_PLAN_HREF,
cloud: '/cloud',
// Pro-feature keys: route to billing plan page instead of the Pulse Account
// purchase-start handoff, which fails for local instances without PublicURL.