Skip to content

Bump API schema to {"messag#16415

Closed
getsantry[bot] wants to merge 1 commit intomasterfrom
bot/bump-api-schema-to-{"messag

Hidden character warning

The head ref may contain hidden characters: "bot/bump-api-schema-to-{"messag"
Closed

Bump API schema to {"messag#16415
getsantry[bot] wants to merge 1 commit intomasterfrom
bot/bump-api-schema-to-{"messag

Conversation

@getsantry
Copy link
Contributor

@getsantry getsantry bot commented Feb 17, 2026

No description provided.

@getsantry getsantry bot enabled auto-merge (squash) February 17, 2026 18:20
@vercel
Copy link

vercel bot commented Feb 17, 2026

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

Project Deployment Actions Updated (UTC)
develop-docs Error Error Feb 17, 2026 6:20pm
sentry-docs Error Error Feb 17, 2026 6:20pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
const SENTRY_API_SCHEMA_SHA = 'f95ef75e679e62ad64769a16d4bfcdb3cbe5c6e8';
const SENTRY_API_SCHEMA_SHA = '{"message":"API rate limit exceeded for 52.176.35.115. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Schema SHA replaced with rate-limit payload

High Severity

SENTRY_API_SCHEMA_SHA now contains a GitHub rate-limit error JSON instead of a commit SHA. resolveOpenAPI uses it in the raw GitHub URL, so the schema fetch targets an invalid ref and response.json() fails on non-JSON error content. This breaks API schema loading in non-local environments.

Additional Locations (1)

Fix in Cursor Fix in Web

@aldy505
Copy link
Collaborator

aldy505 commented Feb 18, 2026

borked

@aldy505 aldy505 closed this Feb 18, 2026
auto-merge was automatically disabled February 18, 2026 03:42

Pull request was closed

@aldy505 aldy505 deleted the bot/bump-api-schema-to-{"messag branch February 18, 2026 03:42
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.

1 participant