Skip to content

feat(status): gate status pages behind the statusPages org flag - #1972

Open
Makisuo wants to merge 8 commits into
status-pages/9-builderfrom
status-pages/10-flag
Open

Makisuo wants to merge 8 commits into
status-pages/9-builderfrom
status-pages/10-flag

fix(status-pages): a draft's address is not a link, a failed add clos…

3a56bcc
Select commit
Loading
Failed to load commit list.
Maple Review Bot / Maple / review succeeded Oct 31, 2026 in 58s

Confidence 10/10 · No issues found

🟢 Confidence 10/10 · safe to merge. Follow-up hunks are small and pinned by scene/tool tests; the only contract change, a required pageDraft, is set by all four incident tools.
no findings · tests covered · risk medium

Follow-up to the status-pages rollout: the MCP incident tools now say when the page is a draft, a failed bulk component add closes its panel with an error toast, and a draft page's address renders as text with no Open link. Safe to merge.

  • StatusPageIncidentMutationOutput gains a required pageDraft, and renderIncident warns the incident stays private
  • The editor drops addFailure: a failed add closes the add panel and toasts, so a retry cannot duplicate
  • view-live suppresses the public link and Open button for a draft page

Before merge

  • Manual · Set "statuspages": true in the Preview org's Clerk public metadata on the development instance before testing a preview of this stack

Production impact

Production traffic of the changed files (last 7 days)
File Calls/day Busiest operations
apps/api/src/routes/v2/status-pages.http.ts 10 preview 10/day, 26.4% err
packages/domain/src/http/v2/status-pages.ts 10 preview 10/day, 26.4% err
What was checked
  • StatusPagePublisher skips a draft, so a draft's address really does not resolve (StatusPagePublisher.ts:106)
  • All four incident tools build pageDraft from the resolved page (status-pages.ts:527,582,623,670)
  • MCP audit actions match the REST routes' names (status-pages.http.ts:610,681)

3a56bcc · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.