Skip to content

Bump API schema to {"messag#18603

Merged
sentry-api-schema-updater[bot] merged 1 commit into
masterfrom
bot/bump-api-schema-to-{"messag
Jun 30, 2026

Hidden character warning

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

Bump API schema to {"messag#18603
sentry-api-schema-updater[bot] merged 1 commit into
masterfrom
bot/bump-api-schema-to-{"messag

Conversation

@sentry-api-schema-updater

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
develop-docs Error Error Jun 30, 2026 5:38pm
sentry-docs Error Error Jun 30, 2026 5:38pm

Request Review

@sentry-api-schema-updater sentry-api-schema-updater Bot merged commit 1723891 into master Jun 30, 2026
11 of 15 checks passed
@sentry-api-schema-updater sentry-api-schema-updater Bot deleted the bot/bump-api-schema-to-{"messag branch June 30, 2026 17:37

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 755c8b0. Configure here.

// 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 = '01eb1d48b3098c303024e0ace87c93d8ff7a42c5';
const SENTRY_API_SCHEMA_SHA = '{"message":"API rate limit exceeded for 68.220.58.248. (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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Rate limit JSON as schema SHA

High Severity

SENTRY_API_SCHEMA_SHA was set to a GitHub REST rate-limit error JSON body instead of a commit hash. Non-local builds use it in the raw GitHub URL for openapi-derefed.json, so the fetch target is invalid and OpenAPI resolution fails. The embedded apostrophe in here's also terminates the single-quoted literal and can prevent the file from parsing.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 755c8b0. Configure here.

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.

0 participants