Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

servicecatalog: remove searcher dep on database#64247

Merged
keegancsmith merged 1 commit into
mainfrom
k/follow-up
Aug 5, 2024
Merged

servicecatalog: remove searcher dep on database#64247
keegancsmith merged 1 commit into
mainfrom
k/follow-up

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

Searcher doesn't speak to the database nor has it for a long time. See https://github.com/sourcegraph/sourcegraph/pull/61463

Test Plan: The following command is empty

go run ./dev/depgraph/ summary internal/database | grep 'cmd/searcher'

Searcher doesn't speak to the database nor has it for a long time.

Test Plan: The following command is empty

  go run ./dev/depgraph/ summary internal/database | grep 'cmd/searcher'
@keegancsmith keegancsmith requested review from a team and bobheadxi August 2, 2024 13:31
@cla-bot cla-bot Bot added the cla-signed label Aug 2, 2024
@github-actions github-actions Bot added team/product-platform team/search-platform Issues owned by the search platform team labels Aug 2, 2024
@keegancsmith

Copy link
Copy Markdown
Member Author

FYI here are the services which speak to the DB:

❯ go run ./dev/depgraph/ summary internal/database | grep -o '> cmd/[^/]*$'
> cmd/embeddings
> cmd/enterprise-portal
> cmd/frontend
> cmd/gitserver
> cmd/migrator
> cmd/pings
> cmd/precise-code-intel-worker
> cmd/repo-updater
> cmd/sourcegraph
> cmd/symbols
> cmd/syntactic-code-intel-worker
> cmd/worker

I was also surprised at how many services are listed for redis. But this is a side-effect of us having a outbound HTTP request logger which connects to redis.

@bobheadxi bobheadxi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks!

@michaellzc maybe we could generate this list via the depgraph commands documented 🤔

@keegancsmith keegancsmith merged commit e332124 into main Aug 5, 2024
@keegancsmith keegancsmith deleted the k/follow-up branch August 5, 2024 07:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/search-platform Issues owned by the search platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants