Skip to content

feat(api-docs): publish source map debug endpoint#116649

Open
cvxluo wants to merge 1 commit into
masterfrom
cvxluo/publish-source-map-debug-endpoint
Open

feat(api-docs): publish source map debug endpoint#116649
cvxluo wants to merge 1 commit into
masterfrom
cvxluo/publish-source-map-debug-endpoint

Conversation

@cvxluo
Copy link
Copy Markdown
Contributor

@cvxluo cvxluo commented Jun 1, 2026

Publish the source map debug endpoint (formerly the blue-thunder-edition variant, the one the frontend actually uses). The old 'blue thunder edition' endpoint is kept as an alias for the frontend. Follow up will migrate to the canonical URL.

@github-actions github-actions Bot added Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components labels Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.59%

Promote the source map debug endpoint (formerly the blue-thunder-edition variant, the one the frontend actually uses) from PRIVATE to PUBLIC with full OpenAPI docs: bump publish_status, add a response example, and register it at the canonical /events/{event_id}/source-map-debug/ URL.


The legacy /source-map-debug-blue-thunder-edition/ URL is kept as an alias so the frontend (which hardcodes it) keeps working, and is excluded from the public schema via EXCLUSION_PATH_PREFIXES to avoid a duplicate path. A follow-up frontend PR will migrate to the canonical URL, after which the alias can be removed.


Co-authored-by: Claude <noreply@anthropic.com>
@cvxluo cvxluo force-pushed the cvxluo/publish-source-map-debug-endpoint branch from 2b0b466 to 218d554 Compare June 1, 2026 23:09
"/api/0/monitors/",
# Issue URLS have an expression of group|issue that resolves to `var`
"/api/0/{var}/{issue_id}/",
# Legacy alias of source-map-debug/; documented only at the canonical path.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this just skips the old endpoint from being documented

@cvxluo cvxluo marked this pull request as ready for review June 1, 2026 23:17
@cvxluo cvxluo requested review from a team as code owners June 1, 2026 23:17
@cvxluo cvxluo requested a review from a team June 1, 2026 23:17
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Backend Test Failures

Failures on f234442 in this run:

tests/sentry/migrations/test_1072_backfill_scm_integration_config.py::BackfillScmIntegrationConfigTest::testlog
Test passed but took too long to run: Duration 123.0434619639999s > 120.0s

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

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants