sourcegraph/internal
Stefan Hengl 0eaa40528e
search jobs: refactor SearchQuery interface (#59468)
Relates to #59329 

This is mostly a refactor to prepare for a JSON writer that replaces our CSV writer.

The high-level plan is to switch the internal (object storage) AND the external (download) format from CSV to JSON.

Test plan:
- CI
- Note: I had to update `SearcherFake`, hence some of the test data changed. It only affects a few tests and the character of the tests remains the same.
2024-01-11 14:46:23 +01:00
..
accesstoken pre-commit: add pre-commit directives to token tests (#59423) 2024-01-09 19:05:39 +01:00
actor actor: always preserve anonymousUID, even on authenticated actors (#58942) 2023-12-13 00:10:39 +00:00
adminanalytics logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
api grpc: frontend: configuration: support automatic retries (GetConfig is idempotent) (#59136) 2023-12-22 15:15:33 -08:00
audit logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
auth Logging previous values during setting changes (#59340) 2024-01-09 23:11:46 +00:00
authbearer telemetrygateway: add exporter and service (#56699) 2023-09-20 05:20:15 +00:00
authz bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
batches Consolidate GitBlame client method and improve performance (#59209) 2024-01-08 17:45:06 +01:00
binary bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
bytesize github star/size exclusion: incorporate feedback from code review (#58398) 2023-11-17 10:21:24 +01:00
byteutils ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
cloneurls Separate database package mocks to dbmocks package (#55778) 2023-08-14 10:48:45 +02:00
cloud Backend: remove EnterpriseDB (#54699) 2023-07-06 20:03:31 -06:00
cmd Chore: clean up RepositoryResolver (#59402) 2024-01-09 09:03:05 -07:00
codeintel Chore: clean up RepositoryResolver, part II (#59405) 2024-01-09 17:17:06 +00:00
codemonitors Search: respect the search.contextLines setting in the backend (#58943) 2023-12-15 16:32:25 -07:00
cody Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
codycontext Update unified cody context to only use search when embeddings are disabled (#59360) 2024-01-05 21:28:14 +00:00
codygateway Enable logging Fireworks requests for Self-Serve users (#58556) 2023-11-27 09:15:30 +01:00
collections Cleanup: use new go 1.21 features (#58617) 2023-11-28 13:49:38 -07:00
comby Chore: remove some uses of log15 (#57519) 2023-10-10 16:27:52 -06:00
completions Cody: Fix error propagation and handle empty prompt (#59119) 2023-12-21 11:41:32 +00:00
compute logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
conf search: disable structural search by default (#57584) 2024-01-09 10:11:11 +01:00
cookie
ctags_config site-config: Make symbols not required in syntaxHighlighting (#57276) 2023-10-16 19:53:19 -04:00
database otel: Log at most 128 characters for generic pq Arrays (#59501) 2024-01-11 02:32:02 +01:00
debugserver logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
deviceid
diskcache bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
diskusage source: display alert when gitserver disk usage exceeds 90% (#56562) 2023-09-15 01:39:07 +01:00
download
embeddings Embeddings: avoid constantly rerunning job if it failed (#58980) 2023-12-15 11:42:50 -08:00
encryption encryption: Standardize envelope encryption (#56711) 2023-10-02 23:01:04 +02:00
endpoint logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
env bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
errcode dotcom: don't lazy add repos with size >= 1GB && stars < 100 (#58553) 2023-12-05 16:30:32 +00:00
eventlogger Backend: remove unused LogEvent (#55464) 2023-08-02 19:30:44 +00:00
executor Chore: construct logger inside dbtest.NewDB (#57549) 2023-10-11 20:41:11 -05:00
extsvc bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
featureflag Chore: clean up dead code (#58280) 2023-11-14 14:29:03 -07:00
fileutil Add additional logging for rename failures (#58458) 2023-11-21 14:55:00 +01:00
github_apps Chore: remove empty BUILD.bazel files (#58250) 2023-11-10 11:36:11 -07:00
gitserver gitserver: Fixup date parsing in RefDescriptions (#59183) 2024-01-08 21:47:16 +01:00
goroutine lib/managedservicesplatform: init MSP runtime, add lib/background from internal/goroutine (#57651) 2023-10-28 03:08:12 +00:00
gosyntect syntax-highlighter: Delete Theme and CSS fields (#58368) 2023-11-17 08:33:48 -05:00
gqltestutil aspect workflows: add initial aspect workflow yaml (#56569) 2023-11-24 11:52:17 +02:00
gqlutil ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
grpc grpc: retry: add test that exectures parallel requests (#59490) 2024-01-10 16:44:53 -05:00
hashutil
highlight Enables tree-sitter based locals references for Go (#59517) 2024-01-11 13:26:25 +00:00
honey bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
hostname
httpcli add localDevDenyList for denylists (#58771) 2023-12-05 12:43:40 +00:00
httpserver bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
httptestutil Remove GitHub proxy service (#56485) 2023-09-14 19:43:40 +02:00
insights Search: respect the search.contextLines setting in the backend (#58943) 2023-12-15 16:32:25 -07:00
instrumentation tracer: enforce trace policy entirely via Sampler (#58068) 2023-11-02 09:00:14 -07:00
inventory bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
jsonc ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
lazyregexp
license bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
licensing bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
limiter ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
logging bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
luasandbox logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
mapfs ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
markdown
memo
metrics Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
notebooks Chore: construct logger inside dbtest.NewDB (#57549) 2023-10-11 20:41:11 -05:00
oauthtoken Refactor ExternalAccountsStore functions (#57509) 2023-10-13 10:41:10 +02:00
oauthutil Remove global lock around GitHub.com requests (#58190) 2023-11-15 14:20:06 +01:00
observation bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
oobmigration Share code insights DB handle in worker (#57949) 2023-10-27 19:10:05 +00:00
opencodegraph OpenCodeGraph prototype (#58675) 2023-12-06 21:39:33 -08:00
otlpenv
own eventlogs: use real deprecation warnings in backend (#58751) 2023-12-05 17:05:41 +00:00
packagefilters packages: move filter matching to postgres for name filter membership testing (#49940) 2023-06-16 16:46:45 +00:00
paths codeintel: consolidate enterprise & oss codeintel packages (#54431) 2023-07-05 14:58:41 +01:00
perforce gitserver: Replace P4Exec endpoint with properly typed and individually tested RPC calls (#57247) 2023-10-09 15:06:49 +02:00
productsubscription telemetrygateway: add exporter and service (#56699) 2023-09-20 05:20:15 +00:00
profiler bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
pubsub pubsub: add narrower TopicPublisher interface, ensure Stop in telemetry-gateway (#58974) 2023-12-14 12:32:48 -08:00
randstring ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
ratelimit globallimiter: Make enum values const (#59172) 2023-12-21 17:29:33 +01:00
rbac code-search: nitpitck for rbac refactor (#59361) 2024-01-05 20:47:05 +01:00
rcache bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
redislock cody-gateway: implement informational rate limit threshold Slack alerts (#53137) 2023-06-09 22:09:45 -04:00
redispool Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
repos Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
repoupdater grpc: repo-updater: add support for automatic retries for all methods (all are idempotent) (#59130) 2023-12-22 14:59:44 -08:00
requestclient requestclient: add SRC_USE_CLOUDFLARE_HEADERS to use CF headers (#58567) 2023-12-07 20:27:28 +00:00
requestinteraction requestinteraction: add X-Sourcegraph-Interaction-ID propagation (#58016) 2023-11-22 20:09:39 +00:00
rockskip bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
sanitycheck Running binaries with SANITY_CHECK=true immediately exits with a code zero (#52186) 2023-05-19 12:30:11 +00:00
scim chore: remove gotest.tools/assert (#58899) 2023-12-12 12:01:12 -08:00
search search jobs: refactor SearchQuery interface (#59468) 2024-01-11 14:46:23 +01:00
searcher/v1 Search: remove TextPatternInfo.IsWordMatch (#59288) 2024-01-03 09:39:44 -08:00
security Add logic to auto disable google signups from non-gmail domain for 24hrs if too many signups from same domain. (#59243) 2024-01-02 15:37:14 +05:30
service Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
session bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
settings Search: respect the search.contextLines setting in the backend (#58943) 2023-12-15 16:32:25 -07:00
siteid bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
slack
sourcegraphoperator Refactor ExternalAccountsStore functions (#57509) 2023-10-13 10:41:10 +02:00
src-cli chore: Remove old CODENOTIFY entries (#57658) 2023-10-17 09:49:21 +00:00
src-prometheus ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
suspiciousnames debt: extract a buncha stuff from cmd/frontend that was used outside of frontend (#52570) 2023-06-01 14:20:11 +01:00
symbols grpc: symbols: add support for automatic retries (#59110) 2023-12-22 14:41:32 -08:00
sysreq ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
telemetry Add logic to auto disable google signups from non-gmail domain for 24hrs if too many signups from same domain. (#59243) 2024-01-02 15:37:14 +05:30
telemetrygateway externalAuthSignup: instrument with V2 events (#59036) 2023-12-15 23:19:29 +00:00
temporarysettings
testutil Compare JSON test output semantically instead of as strings. (#56667) 2023-09-15 09:08:44 -07:00
timeutil ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
trace chore: links/ownership devx->dev-infra (#58999) 2023-12-14 15:07:20 +00:00
tracer chore: links/ownership devx->dev-infra (#58999) 2023-12-14 15:07:20 +00:00
ttlcache logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
txemail Revert progress made on "Enhanced admin onboarding" (#56239) 2023-09-01 16:06:25 -05:00
types Close existing access requests when user is created (#59113) 2024-01-10 12:27:13 -08:00
unpack ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
updatecheck release: sourcegraph@5.2.6 (#59504) 2024-01-10 19:51:58 -08:00
uploadhandler Chore: clean up RepositoryResolver, part II (#59405) 2024-01-09 17:17:06 +00:00
uploadstore bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
usagestats bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
users logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
vcs Enable servers to run on Windows OS. (#54233) 2023-06-27 09:04:30 +00:00
version chore: drop unused go pkg (#59433) 2024-01-09 20:02:28 +01:00
webhooks/outbound bazel: add no-localhost-guard lint to nogo (#59144) 2023-12-21 16:30:33 +00:00
workerutil dbworker: include recordID in fetchDebugInformationForJob error (#58036) 2023-11-01 16:13:59 +02:00
wrexec wrexec: Don't panic when process state is nil (#57610) 2023-10-16 23:40:16 +02:00
buf.yaml sg lint: fix 'buf lint' rule by actually adding buf.yaml file (#48076) 2023-02-22 23:04:21 +00:00
BUILD.bazel bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00