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.
Pulse v6 Commercial Cancellation/Reactivation E2E Test Plan
Status: ACTIVE drill asset (companion for the passed release gate commercial-cancellation-reactivation; a test plan, not a demand signal). Last reviewed 2026-09-01.
Use this plan for the trust-critical commercial boundary between:
- grandfathered v5 recurring subscription continuity while the subscription is still active
- paid-state revocation once cancellation or lapse is complete
- current-public-v6 re-entry after a canceled customer returns
This is a companion drill for L2, L3, L11, and L12.
It does not replace repo-local tests. It exists because checkout, billing
portal actions, Stripe webhook state, v6 entitlement evaluation, and customer
UI can all pass in isolation while the real cancellation/reactivation journey
still drifts.
Owning release gate: commercial-cancellation-reactivation.
Governing Policy
The locked v6 pricing rule is:
- Active recurring Pulse Pro v5 subscribers keep their legacy recurring price while subscription continuity is maintained.
- Cancellation or lapse is the explicit boundary for that grandfathering.
- Once cancellation is complete, any later return must enter on current public v6 pricing.
- The prior grandfathered recurring price must not resume automatically after that break in continuity.
Scope
In scope:
- Self-hosted recurring Pulse Pro v5 monthly and annual grandfathered plans.
- Stripe customer-portal cancellation and resume behavior.
- Stripe webhook propagation into Pulse v6 billing-state persistence.
- Pulse v6 entitlement and settings-surface behavior after cancellation state changes.
- Public checkout re-entry after completed cancellation.
Out of scope:
- Lifetime licenses.
- MSP or hosted cloud plan conversion.
- Manual business-exception pricing overrides.
Runtime Surfaces
pulse:
internal/api/payments_webhook_handlers.gointernal/api/stripe_webhook_handlers_test.gopkg/licensing/...frontend-modern/src/components/Settings/ProLicensePanel.tsxtests/migration/v5_full_upgrade_test.go
pulse-pro:
license-server/v6_checkout.go- public checkout entrypoint
/v1/checkout/session - Stripe customer portal /
https://pulserelay.pro/manage - Stripe recurring price configuration and webhook delivery
Automated Proof Bundle
Canonical wrapper:
python3 scripts/release_control/commercial_cancellation_reactivation_proof.py
That wrapper currently runs:
pulse
go test ./internal/api -run 'TestStripeWebhook_SubscriptionDeleted_RevokesCapabilities' -count=1go test ./tests/migration -run 'TestV5FullUpgradeScenario/PersistedV5RecurringLicenseAutoExchanges' -count=1cd frontend-modern && npm test -- src/utils/__tests__/licensePresentation.test.ts src/components/Settings/__tests__/ProLicensePanel.test.tsx
pulse-pro/license-server
go test . -run 'TestHandleCheckoutSessionCreate(_RejectsGrandfatheredPlanKey)?$' -count=1
If any of those fail, stop. The manual drill should not be used to compensate for a broken automated floor.
Environment And Fixtures
Use a staging-like environment with:
- Stripe test mode or an equivalent non-production billing environment.
- Working customer portal access.
- Pulse v6 runtime connected to the same billing/webhook environment.
- Checkout surface configured with current public v6 price IDs only.
- Legacy recurring v5 price IDs still present for renewal compatibility.
Seed at least these fixtures outside git:
customer_a_monthly: migrated active v5 monthly recurring subscriber onv5_pro_monthly_grandfatheredcustomer_b_annual: migrated active v5 annual recurring subscriber onv5_pro_annual_grandfatheredreturner_email: a churned customer identity with no active recurring subscription at test start
Record outside git:
- Stripe customer IDs
- subscription IDs
- exact Stripe price IDs
- Pulse license IDs and activation IDs where applicable
- environment URL and execution date
Scenario Matrix
| ID | Scenario | Primary fixture | Pass focus |
|---|---|---|---|
CCR-1 |
Active grandfathered continuity baseline | customer_a_monthly |
Legacy price and v5 plan identity are still intact while active |
CCR-2 |
Cancel at period end without immediate drift | customer_a_monthly |
Cancellation intent does not rewrite pricing or entitlements early |
CCR-3 |
Resume before lapse | customer_a_monthly |
Same active subscription keeps the same legacy price |
CCR-4 |
Completed cancellation | customer_a_monthly |
Paid access is revoked and historical v5 plan identity remains visible as history, not access |
CCR-5 |
Post-cancel repurchase | customer_a_monthly or returner_email |
Re-entry uses current public v6 pricing, not a revived legacy rate |
CCR-6 |
Annual parity spot check | customer_b_annual |
Annual grandfathered path follows the same continuity and re-entry rules |
CCR-7 |
Direct legacy checkout rejection | synthetic request | Public checkout rejects grandfathered/v5 plan keys before Stripe session creation |
Execution Steps
CCR-1 Active Grandfathered Continuity Baseline
- Start with an already-migrated active v5 monthly subscriber.
- Confirm Stripe shows the legacy recurring price ID, not a v6 retail price ID.
- Open Pulse v6 settings and capture the Pro license panel.
- Call
GET /api/license/entitlements.
Pass when:
plan_versionisv5_pro_monthly_grandfathered.- Entitlements are active.
- The settings panel shows the grandfathered continuity notice.
- No checkout or upsell surface claims the customer has already moved to a v6 retail recurring price.
CCR-2 Cancel At Period End Without Immediate Drift
- Use the customer portal to schedule cancellation at period end.
- Confirm Stripe marks the subscription for cancellation without replacing the legacy recurring price.
- Refresh Pulse entitlements and the settings surface before the current period ends.
Pass when:
- The same subscription still carries the legacy recurring price ID.
- The customer remains entitled until the billing period actually ends.
- The UI still communicates continuity while the subscription is active.
- No new v6 subscription object is created just because cancellation was scheduled.
CCR-3 Resume Before Lapse
- Before the current period ends, undo the scheduled cancellation from the portal or equivalent Stripe action.
- Refresh billing state in Pulse.
Pass when:
- The original subscription remains the billing object of record.
- The legacy recurring price ID is unchanged.
plan_versionremains the same grandfathered v5 recurring key.- There is no forced checkout or new-subscription re-entry path.
CCR-4 Completed Cancellation
- Let the scheduled cancellation complete naturally or drive the equivalent Stripe test-clock/webhook path.
- Confirm the cancellation webhook is delivered successfully.
- Refresh Pulse entitlements and the Pro license settings surface.
Pass when:
- Paid capabilities are revoked after cancellation is complete.
- Billing state no longer grants active paid access.
- Historical plan identity still shows the prior grandfathered plan version for continuity/audit purposes where expected.
- The recurring-price continuity notice is no longer shown for a canceled or expired state.
CCR-5 Post-Cancel Repurchase
- Starting from a fully canceled/lapsed state, use the public checkout flow as the same returning customer.
- Complete a new purchase through the public v6 checkout path.
- Capture the resulting Stripe subscription and Pulse license/entitlement state.
Pass when:
- The new subscription uses a current public v6 price ID.
- The new purchase does not reuse the legacy recurring price ID.
- The resulting Pulse plan/license state resolves to a v6 plan, not
v5_pro_*_grandfathered. - The settings surface does not show a grandfathered v5 continuity notice on the new subscription.
CCR-6 Annual Parity Spot Check
Run CCR-1, CCR-4, and CCR-5 on the annual grandfathered fixture.
Pass when:
- Annual grandfathering preserves continuity while active.
- Annual cancellation revokes paid access after completion.
- Annual return flow still re-enters on current public v6 pricing.
CCR-7 Direct Legacy Checkout Rejection
- Submit a direct request to
pulse-pro/license-servercheckout creation with a legacy/grandfatheredplan_key. - Confirm the request is rejected before any Stripe checkout session is created.
Pass when:
- The endpoint returns a client error.
- The error states the plan is not a v6 checkout plan.
- No Stripe checkout session is created.
Evidence To Capture
Capture all of the following outside git or in a dated release-control record:
- Stripe subscription snapshots before cancellation, after scheduling cancellation, after completion, and after repurchase
GET /api/license/entitlementspayloads for the same checkpoints- Pro license settings screenshots for active, scheduled-cancel, canceled, and repurchased states
- The old and new subscription IDs plus their price IDs
- The resulting Pulse plan key /
plan_versionat each checkpoint - Checkout-response payload or request log proving public re-entry used a v6 plan
- Any webhook event IDs used to advance the cancellation state
Failure Rules
Block release or rollout if any of these are observed:
- An active grandfathered subscriber is silently rewritten to a v6 retail recurring plan without an actual cancel-and-rebuy boundary.
- A canceled subscriber can repurchase onto a legacy recurring price through public checkout.
- Cancellation intent causes early entitlement revocation before the paid period actually ends.
- Completed cancellation leaves paid capabilities active.
- Resume-before-lapse creates a new subscription or loses the legacy recurring price unexpectedly.
- Monthly and annual grandfathered paths do not behave the same way on the continuity boundary.
Recording Results
When this drill is executed for a candidate prerelease or release:
- Write a dated record under
docs/release-control/v6/records/. - Start from
docs/release-control/v6/COMMERCIAL_CANCELLATION_REACTIVATION_RECORD_TEMPLATE.md. - Link that record from the relevant release ticket.
- If the exercise materially changes confidence for a release gate, update the matching
status.json.release_gates[*]entry in the same slice.