sourcegraph/cmd/cody-gateway
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
..
internal fix(cody-gateway): getAPIURL before transformBody (#63406) 2024-06-20 16:12:16 -07:00
qa Cody Gateway: Add support for Google non-streaming endpoint (#63166) 2024-06-11 10:54:27 -07:00
shared Cody Gateway: New Claude 3.5 Sonnet model (#63395) 2024-06-20 09:46:33 -07:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
CODENOTIFY chore: update CODENOTIFY for Joe (#56647) 2023-09-14 16:09:33 +00:00
image_test.yaml Move cody-gateway out of enterprise (#54802) 2023-07-12 00:36:45 +02:00
main.go support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00