Skip to content

ci(api): Stop mirroring the spec to sentry-api-schema - #131177

Merged
BYK merged 1 commit into
masterfrom
ci/drop-sentry-api-schema-mirror
Nov 14, 2026
Merged

BYK merged 1 commit into
masterfrom
ci/drop-sentry-api-schema-mirror

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

@sentry/api now releases from static/packages/api (#130472, first release [email protected]), and getsentry/sentry-api-schema no longer publishes (getsentry/sentry-api-schema#156). Nothing reads the spec copy this workflow pushes there anymore.

  • openapi.yml: remove the sentry-api-schema checkout, the copy step, the git-auto-commit-action push, and the SENTRY_API_SCHEMA_UPDATER app token that only that push used. bump-sentry-docs.yml still uses those credentials for the sentry-docs dispatch. The api-spec and api-schemas artifact uploads are unchanged.
  • release-api-package drops !cancelled() and its comment. Both existed only so a failed mirror push didn't block the release.
  • openapi-diff.sh (used by the openapi-diff workflow and make diff-api-docs): the baseline drops its last fallback, sentry-api-schema main. It now reads the merge-base's api-schemas artifact, falling back to the newest api@ release.

via @BYK.

--

View Session [Sentry]

@sentry/api now releases from static/packages/api, so openapi.yml no longer
pushes the spec files to getsentry/sentry-api-schema. That drops the app
token, the second checkout and the auto-commit step. The api-spec and
api-schemas artifacts stay.

openapi-diff.sh's baseline drops its last fallback, sentry-api-schema main,
and now reads the merge-base artifact or the newest api@ release.

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested review from a team as code owners November 14, 2026 19:20
@sentry-junior
sentry-junior Bot requested a review from BYK November 14, 2026 19:20
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 14, 2026
@BYK
BYK merged commit fe43ef0 into master Nov 14, 2026
72 checks passed
@BYK
BYK deleted the ci/drop-sentry-api-schema-mirror branch November 14, 2026 19:37
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant