Skip to content

ref(releases): Remove experimental release threshold endpoints - #132067

Open
sentry-junior[bot] wants to merge 1 commit into
masterfrom
athenamoghaddam/iswf-3793-deprecate-release-threshold-status
Open

sentry-junior[bot] wants to merge 1 commit into
masterfrom
athenamoghaddam/iswf-3793-deprecate-release-threshold-status

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Release thresholds have no UI. Their last real caller was the getsentry canary deploy check, which getsentry/getsentry#22979 removed. This PR removes the parts that can go now and deprecates the one endpoint that has to stay until the next @sentry/api major release.

Removed

  • ReleaseThresholdIndexEndpoint, ReleaseThresholdEndpoint, and ReleaseThresholdDetailsEndpoint (all EXPERIMENTAL, so none of them are in the public spec or @sentry/api), along with their URLs and tests
  • The unused /release-thresholds/ React page route. The frontend has no route for it.
  • The pagination allowlist entry, and the constants and as_str_choices helpers that only those endpoints used
  • Generated knownSentryApiUrls entries

Deprecated

  • ReleaseThresholdStatusIndexEndpoint (listOrganizationReleaseThresholdStatuses) is PUBLIC_EXPERIMENTAL and is exported by @sentry/api 2.16.0. Removing an export waits for a major release, so this PR adds deprecated=True instead. The client then tags it @deprecated. The endpoint, the ReleaseThreshold model, and the health-check helpers stay for now.

#131982 removes the rest, including the model migration, once the major is ready.

Refs ISWF-3793

via @sentaur-athena.

--

View Session [Sentry]

Remove the experimental release threshold create, list, update, and delete endpoints, which have no callers and no UI, and the unused /release-thresholds/ page route. Mark the public status endpoint deprecated. It is exported by @sentry/api, so removing it waits for that package's next major release.

Refs ISWF-3793

Co-Authored-By: Athena Moghaddam <132939361+sentaur-athena@users.noreply.github.com>
@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

ISWF-3793

@github-actions github-actions Bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Nov 20, 2026

This branch was successfully deployed

1 active deployment
Preview — b5301165 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

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.

1 participant