sourcegraph/dev/check
Keegan Carruthers-Smith 57a2330d98
searcher: remove unused dependency on dbconn pkg (#61463)
In a recent incident it was bought up that hot fixing searcher had a
risk since it speaks to the DB. I investigated and noticed it doesn't
actually connect, but does have dbconn as an unused transitive dep.

This commit refactors out the bit of logic used by searcher into a pure
package. To do so I did a few renames, but functionally there is no
change in logic other than the searcher binary shedding some heavy
dependencies.

Additionally I updated the go-dbconn-import check to ensure searcher
isn't accidently using the database again.

Test Plan: CI
2024-03-28 17:11:41 +02:00
..
all.sh Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
bash-syntax.sh Expand Buildkite section on error (#19025) 2021-03-10 13:06:47 +01:00
broken-urls.bash Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
build.sh ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
docsite_redirects.sh all: /bin/bash -> /usr/bin/env bash (#23673) 2021-08-06 12:02:43 +02:00
go-dbconn-import.sh searcher: remove unused dependency on dbconn pkg (#61463) 2024-03-28 17:11:41 +02:00
gofmt.sh build: Merge sg-syntax into scip-syntax (#59890) 2024-01-26 18:18:22 +08:00
no-localhost-guard.sh bazel: add no-localhost-guard lint to nogo (#59144) 2023-12-21 16:30:33 +00:00
pnpm-deduplicate.sh ci: improve pnpm dedupe CI check (#52741) 2023-06-01 06:02:20 +00:00
shellcheck.sh highlighter: Rename scip-treesitter-cli -> scip-syntax (#60077) 2024-02-05 13:15:09 +01:00
shfmt.sh lsif typed syntax highlighter v0.1 (#30016) 2022-02-23 11:44:17 -05:00
submodule.sh ci: Add lint check for submodules. (#33579) 2022-04-07 09:26:57 -07:00
template-inlines.sh Jg experiment whitescreen (#34835) 2022-06-08 12:19:45 -07:00