Skip to content

feat(status): probe Statuspage summary directly instead of host heuristic - #1510

Draft
jared-outpost[bot] wants to merge 2 commits into
mainfrom
issue-1509-status-cname-probe
Draft

feat(status): probe Statuspage summary directly instead of host heuristic#1510
jared-outpost[bot] wants to merge 2 commits into
mainfrom
issue-1509-status-cname-probe

Conversation

@jared-outpost

@jared-outpost jared-outpost Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

follow-up to #1494 addressing BYK's request in #1494 (comment) to stop inferring Statuspage instances from the host name.

what changed

fetchSentryStatus no longer guesses from the hostname whether a URL is a Statuspage instance. instead it probes the target directly:

  • request <url>/api/v2/summary.json
  • if the response is 2xx JSON carrying a status.indicator, treat it as a real Statuspage summary and use it
  • otherwise (non-2xx, non-JSON, missing summary shape, or a network error) fall back to the self-hosted /_health/?full=1 probe

no more host.includes("status") / .statuspage.io inference, so arbitrary self-hosted or regional deployments classify correctly.

testing

  • vitest run test/lib/api/status-page test/commands/status — 11 tests pass (probe-first success on default and arbitrary hosts, 404/non-JSON/non-Statuspage fallbacks, health-probe major/network-error paths)
  • tsc --noEmit clean
  • biome check clean on changed files

Closes #1509

…stic

Replace the loose domain-name heuristic (host.includes("status"),
endsWith(".statuspage.io")) with a direct probe: request
/api/v2/summary.json and use it only when the response is a valid
Statuspage summary, otherwise fall back to the self-hosted
/_health/?full=1 probe. This eliminates host mis-classification and makes
`sentry status` reliable for arbitrary self-hosted or regional
deployments.

Fixes #1509
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cli Ready Ready Preview Aug 30, 2026 5:28am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(status): replace domain heuristic with CNAME or direct Statuspage probe

0 participants