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
Lock MSP Starter self-serve checkout
rcourtmane450c6a4da39
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.jsonindex 4e04ef6389..4003222e71 100644--- a/docs/release-control/v6/internal/status.json+++ b/docs/release-control/v6/internal/status.json@@ -7418,6 +7418,21 @@"L8","L13"]+ },+ {+ "id": "msp-buying-motion-lock",+ "summary": "MSP public buying motion is split: Starter is the self-serve checkout path for small providers, while Growth, Scale, and Enterprise stay request-based for assisted onboarding, reporting, support, deployment-shape, and terms review.",+ "kind": "pricing",+ "decided_at": "2026-06-01",+ "subsystem_ids": [+ "cloud-paid"+ ],+ "lane_ids": [+ "L2",+ "L3",+ "L4",+ "L17"+ ]}]}diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex 5c7924a20c..ffdd172a03 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -232,14 +232,17 @@ or other self-hosted uncapped continuity plans.through `internal/cloudcp/config.go` and`internal/cloudcp/public_cloud_signup_handlers.go`Public MSP self-serve signup is the operator-account front door for the same- boundary and lives in `internal/cloudcp/public_msp_signup_handlers.go`. Its- per-tier price configuration (`CP_MSP_STARTER_PRICE_ID`,- `CP_MSP_GROWTH_PRICE_ID`, `CP_MSP_SCALE_PRICE_ID`) is validated in- `internal/cloudcp/config.go` against the canonical `msp_starter`,- `msp_growth`, and `msp_scale` plan versions, and the MSP signup routes stay- gated behind the same `PublicCloudSignupEnabled` flag as the individual- cloud signup front door. Checkout metadata produced by the MSP front door- must mark `account_kind=msp`, `signup_source=public_msp_signup`, and+ boundary and lives in `internal/cloudcp/public_msp_signup_handlers.go`.+ Starter is the only public self-serve MSP checkout tier; Growth, Scale, and+ Enterprise remain request-based even when their Stripe prices are configured+ for assisted/operator-controlled workflows. MSP price configuration+ (`CP_MSP_STARTER_PRICE_ID`, `CP_MSP_GROWTH_PRICE_ID`,+ `CP_MSP_SCALE_PRICE_ID`) is still validated in `internal/cloudcp/config.go`+ against the canonical `msp_starter`, `msp_growth`, and `msp_scale` plan+ versions, and the MSP signup routes stay gated behind the same+ `PublicCloudSignupEnabled` flag as the individual cloud signup front door.+ Checkout metadata produced by the MSP front door must mark+ `account_kind=msp`, `signup_source=public_msp_signup`, and`checkout_billing_mode=immediate` so provisioning seeds an operatorworkspace as an immediately active paid account rather than an individualtrial tenant. Individual public Cloud signup may keep using the hosted trial@@ -705,18 +708,19 @@ individual cloud signup page. `internal/cloudcp/public_msp_signup_handlers.go`serves `/cloud/msp/signup`, `/cloud/msp/signup/complete`, and`/api/public/msp/signup`, all gated behind the same `PublicCloudSignupEnabled`flag as `/cloud/signup`, so the MSP front door stays dark until an operator-explicitly enables public signup. Each MSP tier (starter, growth, scale) is-served only when its Stripe price is configured (`CP_MSP_STARTER_PRICE_ID`,-`CP_MSP_GROWTH_PRICE_ID`, `CP_MSP_SCALE_PRICE_ID`); the signup page renders an-explicit "not open for self-serve signup yet" notice when no MSP tier price is-configured rather than offering an unbacked checkout. Checkout sessions started-from this front door carry `account_kind=msp`, `signup_source=public_msp_signup`,-and `checkout_billing_mode=immediate` metadata and do not set Stripe-`trial_period_days`; MSP self-serve checkout is paid-first, while manual pilots-or discounts belong in operator-controlled Stripe/customer support workflows-rather than the public front door. The provisioner reads that billing-mode-metadata so the initial Stripe account mapping is stored as active instead of-trial before subscription webhooks catch up.+explicitly enables public signup. MSP Starter is the only tier served through+public self-serve checkout, and it is offered only when+`CP_MSP_STARTER_PRICE_ID` is configured. Growth, Scale, Enterprise, manual+pilots, and discounts belong in request-based or operator-controlled+Stripe/customer-support workflows rather than the public front door. The signup+page renders an explicit "Starter self-serve signup is not open yet" notice when+the Starter price is not configured rather than offering an unbacked checkout.+Checkout sessions started from this front door carry `account_kind=msp`,+`signup_source=public_msp_signup`, and `checkout_billing_mode=immediate`+metadata and do not set Stripe `trial_period_days`; MSP self-serve checkout is+paid-first. The provisioner reads that billing-mode metadata so the initial+Stripe account mapping is stored as active instead of trial before subscription+webhooks catch up.Cloud paid readiness is materially behind architecture work. The main concern iscontract coherence between pricing, entitlements, and runtime enforcement.diff --git a/internal/cloudcp/public_msp_signup_handlers.go b/internal/cloudcp/public_msp_signup_handlers.goindex a0ad85c147..852a083882 100644--- a/internal/cloudcp/public_msp_signup_handlers.go+++ b/internal/cloudcp/public_msp_signup_handlers.go@@ -61,9 +61,7 @@ func expectedPlanVersionForMSPTier(tier mspTier) string {}// priceIDForMSPTier returns the configured Stripe price ID for the given MSP-// tier. Returns ("", false) if the tier's price ID is not configured. An MSP-// tier with no configured price ID is treated as not offered, which is how the-// front door stays inert until Richard sets the price IDs in CP env.+// tier. Returns ("", false) if the tier's price ID is not configured.func (h *PublicCloudSignupHandlers) priceIDForMSPTier(tier mspTier) (string, bool) {if h.cfg == nil {return "", false@@ -83,20 +81,20 @@ func (h *PublicCloudSignupHandlers) priceIDForMSPTier(tier mspTier) (string, boo}}-func (h *PublicCloudSignupHandlers) hasMSPTier(tier mspTier) bool {- _, ok := h.priceIDForMSPTier(tier)- return ok+func isSelfServeMSPTier(tier mspTier) bool {+ return tier == mspTierStarter}-// defaultMSPTier returns the lowest configured MSP tier, preferring-// starter → growth → scale. The bool is false when no MSP tier is configured.-func (h *PublicCloudSignupHandlers) defaultMSPTier() (mspTier, bool) {- for _, t := range []mspTier{mspTierStarter, mspTierGrowth, mspTierScale} {- if h.hasMSPTier(t) {- return t, true- }+func (h *PublicCloudSignupHandlers) selfServeMSPPriceIDForTier(tier mspTier) (string, bool) {+ if !isSelfServeMSPTier(tier) {+ return "", false}- return "", false+ return h.priceIDForMSPTier(tier)+}++func (h *PublicCloudSignupHandlers) hasMSPTier(tier mspTier) bool {+ _, ok := h.priceIDForMSPTier(tier)+ return ok}func validatePublicMSPSignupPriceID(tier mspTier, priceID string) error {@@ -115,7 +113,7 @@ var publicMSPSignupPageTemplate = template.Must(template.New("public-msp-signup-<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">- <title>Start Pulse Cloud for MSPs</title>+ <title>Start Pulse MSP Starter</title><style nonce="{{.Nonce}}">:root { color-scheme: light; }body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: linear-gradient(140deg, #f8fafc, #e2e8f0); color: #0f172a; }@@ -140,26 +138,18 @@ var publicMSPSignupPageTemplate = template.Must(template.New("public-msp-signup-<body><div class="wrap"><div class="card">- <h1>Start Pulse Cloud for MSPs</h1>- <p>Run Pulse for multiple clients from one hosted operator account. Each client gets an isolated workspace; you manage them all from the MSP portal. Stripe checkout starts the selected monthly subscription and provisions your operator account after payment succeeds.</p>+ <h1>Start Pulse MSP Starter</h1>+ <p>Run Pulse for multiple clients from one hosted operator account. Each client gets an isolated workspace; you manage them all from the MSP portal. Starter is the self-serve checkout path for small providers. Growth and Scale are request-based so onboarding, reporting, and support expectations can be sized with you.</p>{{if .ErrorMessage}}<div class="error">{{.ErrorMessage}}</div>{{end}}{{if .Cancelled}}<div class="note">Checkout was cancelled. You can start again below.</div>{{end}}{{if .Available}}<form method="POST" action="{{.FormAction}}">- {{/* Tier labels show monthly pricing and client-workspace caps for- orientation. Stripe checkout displays the actual price from the- configured price ID. */}}- {{if .ShowTierChoice}}- <label>Plan</label>+ <input type="hidden" name="tier" value="{{.Tier}}"><div class="tier-group">- {{if .HasStarter}}<label class="tier-option"><input type="radio" name="tier" value="starter" {{if eq .Tier "starter"}}checked{{end}}> <strong>Starter</strong> — up to 10 client workspaces, $149/mo</label>{{end}}- {{if .HasGrowth}}<label class="tier-option"><input type="radio" name="tier" value="growth" {{if eq .Tier "growth"}}checked{{end}}> <strong>Growth</strong> — up to 25 client workspaces, $249/mo</label>{{end}}- {{if .HasScale}}<label class="tier-option"><input type="radio" name="tier" value="scale" {{if eq .Tier "scale"}}checked{{end}}> <strong>Scale</strong> — up to 50 client workspaces, $399/mo</label>{{end}}+ <div class="tier-option"><strong>Starter</strong> — up to 10 client workspaces, $149/mo</div>+ <div class="tier-option"><strong>Growth / Scale</strong> — request access for 25+ client workspaces, custom onboarding, or assisted rollout.</div></div>- {{else}}- <input type="hidden" name="tier" value="{{.Tier}}">- {{end}}<label for="email">Work Email</label><input id="email" name="email" type="email" value="{{.Email}}" autocomplete="email" required>@@ -170,14 +160,14 @@ var publicMSPSignupPageTemplate = template.Must(template.New("public-msp-signup-<button class="cta" type="submit">Continue To Secure Checkout</button></form>- <p class="fine">After checkout, we will email a Pulse Account sign-in link so you can open your MSP portal.</p>+ <p class="fine">After checkout, we will email a Pulse Account sign-in link so you can open your MSP portal. For Growth or Scale, email [email protected] and include your expected client workspace count.</p><ol>- <li>Stripe securely starts your MSP subscription.</li>- <li>Pulse Cloud provisions your MSP operator account after checkout completes.</li>+ <li>Stripe securely starts your MSP Starter subscription.</li>+ <li>Pulse provisions your MSP operator account after checkout completes.</li><li>The email link opens Pulse Account, where you add client workspaces and continue setup.</li></ol>{{else}}- <div class="note">Pulse Cloud for MSPs is not open for self-serve signup yet. Email [email protected] and we will get you set up.</div>+ <div class="note">Pulse MSP Starter self-serve signup is not open yet. Email [email protected] and we will get you set up.</div>{{end}}</div></div>@@ -190,7 +180,7 @@ var publicMSPSignupCompleteTemplate = template.Must(template.New("public-msp-sig<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">- <title>Pulse Cloud for MSPs Checkout Complete</title>+ <title>Pulse MSP Starter Checkout Complete</title><style nonce="{{.Nonce}}">:root { color-scheme: light; }body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f8fafc; color: #0f172a; }@@ -204,7 +194,7 @@ var publicMSPSignupCompleteTemplate = template.Must(template.New("public-msp-sig<div class="wrap"><div class="card"><h1>Checkout complete</h1>- <p>Your Pulse Cloud for MSPs checkout completed. Pulse Cloud is provisioning your MSP operator account.</p>+ <p>Your Pulse MSP Starter checkout completed. Pulse is provisioning your MSP operator account.</p><p>Watch your inbox for a Pulse Account sign-in link. That link lands in Pulse Account, where you can open the MSP portal, add client workspaces, and continue setup.</p></div></div>@@ -213,42 +203,24 @@ var publicMSPSignupCompleteTemplate = template.Must(template.New("public-msp-sig`))type publicMSPSignupPageData struct {- Email string- OrgName string- Tier string // selected tier slug ("starter", "growth", "scale")- FormAction string- ErrorMessage string- Cancelled bool- Nonce string- Available bool // true if at least one MSP tier price is configured- ShowTierChoice bool // true if more than one MSP tier is configured- HasStarter bool- HasGrowth bool- HasScale bool+ Email string+ OrgName string+ Tier string // selected tier slug ("starter", "growth", "scale")+ FormAction string+ ErrorMessage string+ Cancelled bool+ Nonce string+ Available bool // true if MSP Starter self-serve checkout is configured}-// newMSPSignupPageData seeds page data from the currently configured MSP tiers-// so every render (initial and error) reflects the same availability state.+// newMSPSignupPageData seeds page data from the current public MSP buying+// motion: Starter is self-serve; larger plans are assisted.func (h *PublicCloudSignupHandlers) newMSPSignupPageData() publicMSPSignupPageData {- hasStarter := h.hasMSPTier(mspTierStarter)- hasGrowth := h.hasMSPTier(mspTierGrowth)- hasScale := h.hasMSPTier(mspTierScale)- count := 0- for _, present := range []bool{hasStarter, hasGrowth, hasScale} {- if present {- count++- }- }+ _, starterConfigured := h.selfServeMSPPriceIDForTier(mspTierStarter)data := publicMSPSignupPageData{- FormAction: canonicalPublicMSPSignupPath,- HasStarter: hasStarter,- HasGrowth: hasGrowth,- HasScale: hasScale,- Available: count > 0,- ShowTierChoice: count > 1,- }- if def, ok := h.defaultMSPTier(); ok {- data.Tier = string(def)+ FormAction: canonicalPublicMSPSignupPath,+ Available: starterConfigured,+ Tier: string(mspTierStarter),}return data}@@ -269,9 +241,6 @@ func (h *PublicCloudSignupHandlers) HandleMSPSignupPage(w http.ResponseWriter, rdata.Email = strings.TrimSpace(r.URL.Query().Get("email"))data.OrgName = strings.TrimSpace(r.URL.Query().Get("org_name"))data.Cancelled = strings.EqualFold(strings.TrimSpace(r.URL.Query().Get("cancelled")), "1")- if tier, ok := parseMSPTier(strings.TrimSpace(r.URL.Query().Get("tier"))); ok && h.hasMSPTier(tier) {- data.Tier = string(tier)- }h.renderMSPSignupPage(w, r, http.StatusOK, data)case http.MethodPost:if err := r.ParseForm(); err != nil {@@ -286,9 +255,6 @@ func (h *PublicCloudSignupHandlers) HandleMSPSignupPage(w http.ResponseWriter, rdata := h.newMSPSignupPageData()data.Email = emaildata.OrgName = orgName- if t, ok := parseMSPTier(tierStr); ok && h.hasMSPTier(t) {- data.Tier = string(t)- }data.ErrorMessage = msgh.renderMSPSignupPage(w, r, status, data)}@@ -306,8 +272,12 @@ func (h *PublicCloudSignupHandlers) HandleMSPSignupPage(w http.ResponseWriter, rrenderErr(http.StatusBadRequest, "Company name must be 3-64 characters and cannot contain slashes.")return}- if _, avail := h.priceIDForMSPTier(tier); !avail {- renderErr(http.StatusBadRequest, "The selected plan tier is not currently available.")+ if !isSelfServeMSPTier(tier) {+ renderErr(http.StatusBadRequest, "MSP Growth and Scale are request-based. Email [email protected] with your client workspace count.")+ return+ }+ if _, avail := h.selfServeMSPPriceIDForTier(tier); !avail {+ renderErr(http.StatusBadRequest, "MSP Starter self-serve checkout is not currently available.")return}@@ -340,13 +310,13 @@ func (h *PublicCloudSignupHandlers) HandleMSPPublicSignup(w http.ResponseWriter,h.servePublicSignupCheckout(w, r,"Invalid plan tier. Must be one of: starter, growth, scale","public msp signup API checkout creation failed",- "Checkout session created. Continue in Stripe to start your Pulse Cloud for MSPs subscription and provision your operator account.",+ "Checkout session created. Continue in Stripe to start your Pulse MSP Starter subscription and provision your operator account.",func(tierRaw string) (bool, bool, func(email, orgName string) (string, error)) {tier, ok := parseMSPTier(tierRaw)if !ok {return false, false, nil}- _, available := h.priceIDForMSPTier(tier)+ _, available := h.selfServeMSPPriceIDForTier(tier)return true, available, func(email, orgName string) (string, error) {return h.createMSPCheckout(email, orgName, tier)}@@ -358,9 +328,9 @@ func (h *PublicCloudSignupHandlers) createMSPCheckout(email, orgName string, tieif h.cfg == nil {return "", fmt.Errorf("control plane config is missing")}- priceID, ok := h.priceIDForMSPTier(tier)+ priceID, ok := h.selfServeMSPPriceIDForTier(tier)if !ok || priceID == "" {- return "", fmt.Errorf("price id not configured for msp tier %q", tier)+ return "", fmt.Errorf("self-serve checkout is not configured for msp tier %q", tier)}if err := validatePublicMSPSignupPriceID(tier, priceID); err != nil {return "", errdiff --git a/internal/cloudcp/public_msp_signup_handlers_test.go b/internal/cloudcp/public_msp_signup_handlers_test.goindex e9a23cf45d..82791897f8 100644--- a/internal/cloudcp/public_msp_signup_handlers_test.go+++ b/internal/cloudcp/public_msp_signup_handlers_test.go@@ -86,7 +86,7 @@ func TestMSPSignupPageRendersUnavailableWhenNoTierConfigured(t *testing.T) {if strings.Contains(body, "<form") {t.Fatal("expected no signup form when no MSP tier is configured")}- if !strings.Contains(body, "not open for self-serve signup yet") {+ if !strings.Contains(body, "Starter self-serve signup is not open yet") {t.Fatalf("expected unavailable notice, got %q", body)}}@@ -107,7 +107,7 @@ func TestMSPSignupPageRendersFormWhenTierConfigured(t *testing.T) {if !strings.Contains(body, "<form") {t.Fatal("expected signup form when an MSP tier is configured")}- if !strings.Contains(body, "Start Pulse Cloud for MSPs") {+ if !strings.Contains(body, "Start Pulse MSP Starter") {t.Fatal("expected MSP paid signup heading")}if strings.Contains(strings.ToLower(body), "trial") {@@ -116,7 +116,7 @@ func TestMSPSignupPageRendersFormWhenTierConfigured(t *testing.T) {if !strings.Contains(body, `action="/cloud/msp/signup"`) {t.Fatal("expected form to post to the canonical MSP signup path")}- // Single tier configured → hidden input, no radios.+ // Single tier configured: hidden input, no radios.if strings.Contains(body, `type="radio"`) {t.Fatal("expected no tier radios when only one MSP tier is configured")}@@ -125,7 +125,7 @@ func TestMSPSignupPageRendersFormWhenTierConfigured(t *testing.T) {}}-func TestMSPSignupPageShowsTierRadiosWhenMultipleConfigured(t *testing.T) {+func TestMSPSignupPageKeepsStarterSelfServeWhenMultipleTiersConfigured(t *testing.T) {h := NewPublicCloudSignupHandlers(&CPConfig{CloudMSPStarterPriceID: testMSPStarterPriceID,CloudMSPGrowthPriceID: testMSPGrowthPriceID,@@ -137,13 +137,14 @@ func TestMSPSignupPageShowsTierRadiosWhenMultipleConfigured(t *testing.T) {h.HandleMSPSignupPage(rec, req)body := rec.Body.String()- for _, v := range []string{`value="starter"`, `value="growth"`, `value="scale"`} {- if !strings.Contains(body, v) {- t.Fatalf("expected radio option %s", v)- }+ if strings.Contains(body, `type="radio"`) {+ t.Fatal("expected no tier radios because only MSP Starter is self-serve")+ }+ if !strings.Contains(body, `type="hidden" name="tier" value="starter"`) {+ t.Fatal("expected hidden starter tier input")}- if !strings.Contains(body, `value="growth" checked`) {- t.Fatal("expected requested growth tier to be pre-checked")+ if !strings.Contains(body, "Growth / Scale") || !strings.Contains(body, "request access") {+ t.Fatal("expected assisted Growth/Scale copy")}}@@ -211,8 +212,6 @@ func TestMSPSignupPostTierSelectionPicksPrice(t *testing.T) {}{{"", testMSPStarterPriceID},{"starter", testMSPStarterPriceID},- {"growth", testMSPGrowthPriceID},- {"scale", testMSPScalePriceID},}for _, tt := range tests {t.Run("tier="+tt.tier, func(t *testing.T) {@@ -240,15 +239,16 @@ func TestMSPSignupPostTierSelectionPicksPrice(t *testing.T) {}}-func TestMSPSignupPostUnconfiguredTierReturns400(t *testing.T) {+func TestMSPSignupPostAssistedTierReturns400EvenWhenConfigured(t *testing.T) {h := NewPublicCloudSignupHandlers(&CPConfig{BaseURL: "https://cloud.example.com",StripeAPIKey: "sk_test_123",CloudMSPStarterPriceID: testMSPStarterPriceID,- // growth/scale intentionally unconfigured+ CloudMSPGrowthPriceID: testMSPGrowthPriceID,+ CloudMSPScalePriceID: testMSPScalePriceID,}, nil, nil, nil)- form := url.Values{"email": {"[email protected]"}, "org_name": {"Quesys MSP"}, "tier": {"scale"}}+ form := url.Values{"email": {"[email protected]"}, "org_name": {"Quesys MSP"}, "tier": {"growth"}}req := httptest.NewRequest(http.MethodPost, "/cloud/msp/signup", strings.NewReader(form.Encode()))req.Header.Set("Content-Type", "application/x-www-form-urlencoded")rec := httptest.NewRecorder()@@ -257,14 +257,34 @@ func TestMSPSignupPostUnconfiguredTierReturns400(t *testing.T) {if rec.Code != http.StatusBadRequest {t.Fatalf("status=%d, want %d body=%q", rec.Code, http.StatusBadRequest, rec.Body.String())}- if !strings.Contains(rec.Body.String(), "not currently available") {+ if !strings.Contains(rec.Body.String(), "request-based") {+ t.Fatalf("expected assisted-tier message, got %q", rec.Body.String())+ }+}++func TestMSPSignupPostUnconfiguredStarterReturns400(t *testing.T) {+ h := NewPublicCloudSignupHandlers(&CPConfig{+ BaseURL: "https://cloud.example.com",+ StripeAPIKey: "sk_test_123",+ }, nil, nil, nil)++ form := url.Values{"email": {"[email protected]"}, "org_name": {"Quesys MSP"}, "tier": {"starter"}}+ req := httptest.NewRequest(http.MethodPost, "/cloud/msp/signup", strings.NewReader(form.Encode()))+ req.Header.Set("Content-Type", "application/x-www-form-urlencoded")+ rec := httptest.NewRecorder()+ h.HandleMSPSignupPage(rec, req)++ if rec.Code != http.StatusBadRequest {+ t.Fatalf("status=%d, want %d body=%q", rec.Code, http.StatusBadRequest, rec.Body.String())+ }+ if !strings.Contains(rec.Body.String(), "Starter self-serve checkout is not currently available") {t.Fatalf("expected tier-unavailable message, got %q", rec.Body.String())}}func TestMSPSignupRejectsCloudPriceMisconfiguration(t *testing.T) {// MSP starter price slot misconfigured with a cloud_starter price ID.- // Must fail closed before calling Stripe — the MSP path only accepts+ // Must fail closed before calling Stripe: the MSP path only accepts// msp_* plan versions.h := NewPublicCloudSignupHandlers(&CPConfig{BaseURL: "https://cloud.example.com",@@ -310,7 +330,7 @@ func TestMSPSignupAPICreatesCheckout(t *testing.T) {return &stripe.CheckoutSession{URL: "https://checkout.stripe.com/c/pay/cs_api"}, nil}- req := httptest.NewRequest(http.MethodPost, "/api/public/msp/signup", strings.NewReader(`{"email":"[email protected]","org_name":"Quesys MSP","tier":"growth"}`))+ req := httptest.NewRequest(http.MethodPost, "/api/public/msp/signup", strings.NewReader(`{"email":"[email protected]","org_name":"Quesys MSP","tier":"starter"}`))req.Header.Set("Content-Type", "application/json")rec := httptest.NewRecorder()h.HandleMSPPublicSignup(rec, req)@@ -327,8 +347,8 @@ func TestMSPSignupAPICreatesCheckout(t *testing.T) {if got := captured.Metadata[checkoutBillingModeMetadataKey]; got != checkoutBillingModeImmediate {t.Fatalf("checkout_billing_mode=%q, want %q", got, checkoutBillingModeImmediate)}- if priceID != testMSPGrowthPriceID {- t.Fatalf("price_id=%q, want %q", priceID, testMSPGrowthPriceID)+ if priceID != testMSPStarterPriceID {+ t.Fatalf("price_id=%q, want %q", priceID, testMSPStarterPriceID)}var payload map[string]anyif err := json.NewDecoder(rec.Body).Decode(&payload); err != nil {@@ -339,11 +359,12 @@ func TestMSPSignupAPICreatesCheckout(t *testing.T) {}}-func TestMSPSignupAPIUnconfiguredTierReturns400(t *testing.T) {+func TestMSPSignupAPIAssistedTierReturns400(t *testing.T) {h := NewPublicCloudSignupHandlers(&CPConfig{BaseURL: "https://cloud.example.com",StripeAPIKey: "sk_test_123",CloudMSPStarterPriceID: testMSPStarterPriceID,+ CloudMSPScalePriceID: testMSPScalePriceID,}, nil, nil, nil)req := httptest.NewRequest(http.MethodPost, "/api/public/msp/signup", strings.NewReader(`{"email":"[email protected]","org_name":"Quesys MSP","tier":"scale"}`))@@ -401,7 +422,7 @@ func TestMSPSignupCancelURLPreservesTier(t *testing.T) {return &stripe.CheckoutSession{URL: "https://checkout.stripe.com/test"}, nil}- form := url.Values{"email": {"[email protected]"}, "org_name": {"Quesys MSP"}, "tier": {"growth"}}+ form := url.Values{"email": {"[email protected]"}, "org_name": {"Quesys MSP"}, "tier": {"starter"}}req := httptest.NewRequest(http.MethodPost, "/cloud/msp/signup", strings.NewReader(form.Encode()))req.Header.Set("Content-Type", "application/x-www-form-urlencoded")rec := httptest.NewRecorder()@@ -414,8 +435,8 @@ func TestMSPSignupCancelURLPreservesTier(t *testing.T) {if err != nil {t.Fatalf("parse cancel URL: %v", err)}- if got := parsed.Query().Get("tier"); got != "growth" {- t.Fatalf("cancel URL tier=%q, want %q (URL: %s)", got, "growth", cancelURL)+ if got := parsed.Query().Get("tier"); got != "starter" {+ t.Fatalf("cancel URL tier=%q, want %q (URL: %s)", got, "starter", cancelURL)}if !strings.HasPrefix(parsed.Path, "/cloud/msp/signup") {t.Fatalf("cancel URL path=%q, want MSP signup path", parsed.Path)diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.pyindex 132f5c6ed2..c322c003ed 100644--- a/scripts/release_control/subsystem_lookup_test.py+++ b/scripts/release_control/subsystem_lookup_test.py@@ -3799,6 +3799,7 @@ class SubsystemLookupTest(unittest.TestCase):"cloud-msp-price-id-propagation","cloud-msp-stripe-prices","legacy-grandfathering-eligibility-cutoff",+ "msp-buying-motion-lock","self-hosted-plans-surface-entitlement-first","self-hosted-paid-surface-classification","self-hosted-core-monitoring-free",