sourcegraph/dev/linters
Quinn Slack 91bc23d8e1
support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435)
This makes it easier to run Sourcegraph in local dev by compiling a few
key services (frontend, searcher, repo-updater, gitserver, and worker)
into a single Go binary and running that.

Compared to `sg start` (which compiles and runs ~10 services), it's
faster to start up (by ~10% or a few seconds), takes a lot less memory
and CPU when running, has less log noise, and rebuilds faster. It is
slower to recompile for changes just to `frontend` because it needs to
link in more code on each recompile, but it's faster for most other Go
changes that require recompilation of multiple services.

This is only intended for local dev as a convenience. There may be
different behavior in this mode that could result in problems when your
code runs in the normal deployment. Usually our e2e tests should catch
this, but to be safe, you should run in the usual mode if you are making
sensitive cross-service changes.

Partially reverts "svcmain: Simplify service setup (#61903)" (commit
9541032292).


## Test plan

Existing tests cover any regressions to existing behavior. This new
behavior is for local dev only.
2024-06-24 21:12:47 +00:00
..
bodyclose bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
dbconn support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00
depguard chore: Centralize languages package as source-of-truth (#63292) 2024-06-18 13:10:24 +00:00
forbidigo bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
gocheckcompilerdirectives bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
gocritic bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
ineffassign bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
logging bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
nolint bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
nolocalhost bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
staticcheck bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
tracinglibraries bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
unparam bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
unused bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
go.mod chore(security): update dependencies (#63197) 2024-06-11 16:14:24 +01:00
go.sum chore(security): update dependencies (#63197) 2024-06-11 16:14:24 +01:00