Skip to content

fix(cli): Link Seer credit errors to the auto-reload modal - #2452

Open
srest2021 wants to merge 5 commits into
mainfrom
srest2021/cli-seer-auto-reload-modal-link
Open

srest2021 wants to merge 5 commits into
mainfrom
srest2021/cli-seer-auto-reload-modal-link

Conversation

@srest2021

@srest2021 srest2021 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Depends on getsentry/sentry#131613

Relates to CW-3144

When Seer stops because the org is out of credits or hit its daily spend limit, the CLI linked to /settings/billing/overview/?product=seer. That opens the billing page but not the auto-reload modal. The errors now link to /settings/billing/overview/#open-seer-auto-reload-modal, which opens it.

The "upgrade your plan" link for orgs without Seer (no_budget) still points at ?product=seer.

Out of credits

Before:

Error: Your organization is out of Seer credits.

Someone with billing access can adjust Seer spend and auto-reload in Sentry:
  https://<org-slug>.sentry.io/settings/billing/overview/?product=seer

After:

Error: Your organization is out of Seer credits.

Someone with billing access can adjust Seer spend and auto-reload in Sentry:
  https://<org-slug>.sentry.io/settings/billing/overview/#open-seer-auto-reload-modal

Daily spend limit

Before:

Error: Your organization has reached its daily Seer spend limit.

Someone with billing access can raise the limit in Sentry, or you can try again tomorrow:
  https://<org-slug>.sentry.io/settings/billing/overview/?product=seer

After:

Error: Your organization has reached its daily Seer spend limit.

Someone with billing access can raise the limit in Sentry, or you can try again tomorrow:
  https://<org-slug>.sentry.io/settings/billing/overview/#open-seer-auto-reload-modal:daily_cap_exceeded

The out-of-credits and daily-limit errors linked to the billing overview
with ?product=seer, which doesn't open the auto-reload modal. They now link
to #open-seer-auto-reload-modal, adding the denial reason for the daily
limit so the modal can explain what stopped Seer.
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cli Ready Ready Preview Nov 20, 2026 11:21pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 20, 2026 11:21pm UTC

Request Review

@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

CW-3144

Billing and the auto-reload modal only exist on SaaS, so self-hosted orgs
get the billing advice without a link.
Credit checks only deny orgs with token-billed Seer, which self-hosted
doesn't have, so the check never applied.
@vercel
vercel Bot temporarily deployed to Preview – sentry-local November 20, 2026 23:21 Inactive
@srest2021
srest2021 marked this pull request as ready for review November 20, 2026 23:24
@srest2021
srest2021 requested a review from jaydgoss November 20, 2026 23:24
@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 20, 2026

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli — aa71df2a Deployed Nov 20, 2026 by vercel[bot]
Preview – sentry-local — aa71df2a Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant