Skip to content

Conversation

@hubertdeng123
Copy link
Member

@hubertdeng123 hubertdeng123 commented May 29, 2025

todo:

  • remove config/clickhouse

Now that devservices toggle is in, we should be safe to remove this code

https://linear.app/getsentry/issue/DI-560/completely-remove-code-related-to-sentry-devservices

@hubertdeng123 hubertdeng123 requested review from a team as code owners May 29, 2025 20:59
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 29, 2025


@contextlib.contextmanager
def get_docker_client() -> Generator[docker.DockerClient]:
Copy link
Member

Choose a reason for hiding this comment

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

there's a few imports you'll have to address too

[email protected] ~/d/sentry master $ rg -S 'devservices import'                                                                                      0
bin/split-silo-database
8:from sentry.runner.commands.devservices import get_docker_client

src/sentry/testutils/pytest/relay.py
14:from sentry.runner.commands.devservices import get_docker_client

src/sentry/runner/commands/devserver.py
12:from sentry.runner.commands.devservices import get_docker_client

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, I noticed thought this might be a bit easier to do

Copy link
Member Author

Choose a reason for hiding this comment

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

going to punt this until next week or so for now

@hubertdeng123 hubertdeng123 marked this pull request as draft May 29, 2025 21:40
except docker.errors.DockerException:
if DARWIN:
if USE_COLIMA:
click.echo("Attempting to start colima...")
Copy link
Member

Choose a reason for hiding this comment

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

the expectation before was that devservices would automatically try and start colima if it couldn't connect to a docker daemon

now it's this (and you can't even use --help):

[email protected] ~/d/sentry master $ .venv/bin/devservices up                                                                                      127
Unable to connect to the docker daemon. Is the docker daemon running?
[email protected] ~/d/sentry master $ .venv/bin/devservices --help                                                                                    1
Unable to connect to the docker daemon. Is the docker daemon running?

before we remove all this (long awaited!) can we at least get devservices to do this on macos?

Copy link
Member

Choose a reason for hiding this comment

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

Fair point

Copy link
Member Author

Choose a reason for hiding this comment

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

This is now done: getsentry/devservices#293

Gotta run the release tho

@getsantry
Copy link
Contributor

getsantry bot commented Jun 20, 2025

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@joshuarli
Copy link
Member

superseded #100552

@joshuarli joshuarli closed this Sep 29, 2025
@joshuarli joshuarli deleted the hubertdeng123/remove-old-sentry-devservices branch September 29, 2025 21:34
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components Stale WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants