Skip to content

feat(devservices): use distroless image in devservices#7909

Merged
oioki merged 7 commits intomasterfrom
devservices/snuba-nightly
Apr 29, 2026
Merged

feat(devservices): use distroless image in devservices#7909
oioki merged 7 commits intomasterfrom
devservices/snuba-nightly

Conversation

@oioki
Copy link
Copy Markdown
Member

@oioki oioki commented Apr 28, 2026

This PR will switch the snuba container in sentry devservices to the "distroless" version.

$ docker ps -f "name=snuba-snuba-1"
CONTAINER ID   IMAGE                                        COMMAND                  CREATED          STATUS                    PORTS                                NAMES
e487314c8b09   ghcr.io/getsentry/snuba:nightly-distroless   "python3 /usr/src/sn…"   17 minutes ago   Up 17 minutes (healthy)   127.0.0.1:1218-1219->1218-1219/tcp   snuba-snuba-1

This was previously smoke tested in #7829 on my machine. New events are being ingested and retrieved on sentry devserver.

Also removing honcho package, replacing it with native subprocess library, to avoid spawning the missing shell (more detailed explanation in https://github.com/getsentry/sentry-analytics/pull/26)

@oioki oioki requested a review from a team as a code owner April 28, 2026 12:26
Comment thread snuba/cli/devserver.py Outdated
Comment thread snuba/cli/devserver.py
Comment thread snuba/cli/devserver.py Outdated
Comment thread snuba/cli/devserver.py Outdated
Comment thread snuba/cli/devserver.py Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

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.

Reviewed by Cursor Bugbot for commit d4b0a7f. Configure here.

Comment thread snuba/cli/devserver.py Outdated
@oioki oioki merged commit d3cacde into master Apr 29, 2026
48 of 49 checks passed
@oioki oioki deleted the devservices/snuba-nightly branch April 29, 2026 11:35
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.

2 participants