Repository navigation
ref: Call Sentry server binary as sentry-server - #4600
Draft
sentry-junior[bot] wants to merge 1 commit into
Draft
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: David Cramer <david@sentry.io>
This was referenced Oct 28, 2026
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rollout:
sentry→sentry-server,getsentry→getsentry-serverWhy: the new Sentry CLI ships a binary named
sentry, which the server's console script shadows. Same rollout across all PRs below; keep this section in sync.Phase 1: add new names and keep the old names as deprecated aliases (merge first)
sentry-server, keeps thesentryalias, moves in-repo callersPhase 2: move callers to the new names (after phase 1)
getsentry-server(keepsgetsentryalias) and moves callers. NeedsRequireson the sentry PR for CI; image builds needsentry-versionbumped past the phase 1 mergesentry-serverships in thenightlyimagesentry/getsentryPhase 3: remove the aliases (only after prod manifests and self-hosted are confirmed off the old names)
sentryalias and clean up stale.venv/bin/sentry(TBD)getsentryalias (TBD)command: ["sentry"]) before the sentry alias is removedThe new Sentry CLI (getsentry/cli) installs a binary named
sentry, which the server's console script shadows. getsentry/sentry is adding asentry-serverconsole script and keepingsentryas a deprecated alias in the image for a transition period. This switches the places self-hosted calls the server binary directly (bypassing the image entrypoint, which auto-prepends the binary for bare subcommands) over tosentry-server:sentry-cleanupcron (gosu sentry sentry-server cleanup; the firstsentryis still the OS user)docker compose exec web sentry …callsgenerate-secret-keyhint in the example configs (now also shows thedocker compose run --rm web …form)sentry-admin.shhelp rewriting, soUsage: sentry-server …becomesUsage: ./sentry-admin.sh …instead of./sentry-admin.sh-server; oldUsage: sentry …output still worksCompose-wrapped commands (
docker compose run --rm web upgrade,run web,run consumer,./sentry-admin.sh …) go through the entrypoint and are unaffected. Applies to both fresh installs and upgrades; existing generatedsentry/config.yml/sentry/sentry.conf.pyare untouched (comment-only change in the examples). Theexternal-kafkaoptional patches still apply.Merge order: after the getsentry/sentry PR adding
sentry-server(getsentry/sentry#129100) has shipped in the nightly image..envpinsSENTRY_IMAGE=ghcr.io/getsentry/sentry:nightly, so integration tests on this PR are expected to fail until then.Suggested changelog note (CHANGELOG is generated by Craft, so not edited here):
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
via @joshuarli.
--
View Junior Session [Sentry]