sourcegraph/cmd
Christoph Hegemann e0502149cc
codeintel: returns surroundingContent from search result (#64022)
Closes
https://linear.app/sourcegraph/issue/GRAPH-765/use-surroundingcontent-returned-from-the-search-client

The primary reason for doing this is to avoid sending a bunch of extra
calls for file contents to gitserver, which dominate the profile/trace
after implementing the remaining opts from
https://github.com/sourcegraph/sourcegraph/pull/63971

Also limits the API to only return the line containing the match for now
as discussed with Camden.

We might need to bring back the `lineGetter` for precise usages, but it
should be easy enough to revive at that point /cc @varungandhi-src

## Test plan

Updated unit tests, some manual testing in the API console
2024-07-25 09:50:33 +02:00
..
appliance chore(appliance): Stub out react UI expected URIs and JSON API (#63741) 2024-07-15 14:48:38 -04:00
batcheshelper bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
blobstore chore: Remove unused TTL in object.Storage config (#63947) 2024-07-22 02:58:57 +00:00
bundled-executor bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
cody-gateway cody-gateway: handle missing Google response (#63895) 2024-07-24 17:58:19 +00:00
cody-gateway-config Several fixes around merging modelconfig, and the current Cody Gateway data (#63814) 2024-07-15 17:14:28 +00:00
customer-2315 Special oauth containers (#63880) 2024-07-22 17:31:03 +02:00
customer-4512 Special oauth containers (#63880) 2024-07-22 17:31:03 +02:00
embeddings chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00
enterprise-portal feat/enterpriseportal: ignore context cancellation error in GetCodyGatewayUsage (#64016) 2024-07-24 11:50:21 -07:00
executor chore/deps: upgrade grpc, prometheus/common (#63328) 2024-06-19 09:55:44 -04:00
executor-kubernetes bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
frontend codeintel: returns surroundingContent from search result (#64022) 2024-07-25 09:50:33 +02:00
gitserver Remove old reference to env var that no longer exists (#63656) 2024-07-19 21:53:15 +02:00
loadtest chore(bazel): update ownership tags to increase coverage (#63001) 2024-05-31 14:10:29 +00:00
migrator chore(ci): conditionally stamp genrules (#63204) 2024-06-12 15:04:43 +02:00
msp-example msp/runtime: split contract into JobContract and ServiceContract (#63494) 2024-06-26 19:46:10 +00:00
pings msp/runtime: split contract into JobContract and ServiceContract (#63494) 2024-06-26 19:46:10 +00:00
precise-code-intel-worker chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00
repo-updater repoupdater: Make batches init jobs dependent on batches.IsEnabled (#63939) 2024-07-19 21:53:37 +02:00
searcher Structural search: fix precise lang filtering (#63791) 2024-07-15 09:20:21 +02:00
server feat/bazel: //cmd/{frontend,server} targets that don't include client bundle for backend integration tests (#62877) 2024-05-28 14:32:48 +01:00
sourcegraph support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00
symbols symbols: Make symbols specific code internal (#63736) 2024-07-10 01:26:22 +02:00
syntactic-code-intel-worker chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00
telemetry-gateway chore/telemetrygateway: gracefully handle sams introspectToken cancelation (#63809) 2024-07-15 10:45:00 -07:00
worker Make cody gateway usage worker a periodic routine (#64040) 2024-07-24 16:16:31 +02:00
README.md Reminder to keep architecture diagram in-sync (#36869) 2022-06-08 19:40:36 -07:00

This directory contains Sourcegraph services and binaries.

When a services is added, removed, or when a service's dependencies change, update our architecture diagram.