This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6133,8 +6133,8 @@ def go_dependencies():
61336133 patches = [
61346134 "//third_party/com_github_sourcegraph_zoekt:x_defs_version.patch" ,
61356135 ],
6136- sum = "h1:66S/mbdSXfoJT4S4dEEU1ZLZUKwzTfgeTcWZNyI5oA8 =" ,
6137- version = "v0.0.0-20240801154129-764fe4f9de0e " ,
6136+ sum = "h1:kf3b+ofYN1A/NQ5OhpwArIqEcdfDsHK7LokDwmk8sQY =" ,
6137+ version = "v0.0.0-20240802105940-9d583f6b21d1 " ,
61386138 )
61396139 go_repository (
61406140 name = "com_github_spaolacci_murmur3" ,
Original file line number Diff line number Diff line change @@ -674,7 +674,7 @@ require (
674674 github.com/scim2/filter-parser/v2 v2.2.0
675675 github.com/sourcegraph/conc v0.3.1-0.20240108182409-4afefce20f9b
676676 github.com/sourcegraph/mountinfo v0.0.0-20240201124957-b314c0befab1
677- github.com/sourcegraph/zoekt v0.0.0-20240801154129-764fe4f9de0e
677+ github.com/sourcegraph/zoekt v0.0.0-20240802105940-9d583f6b21d1
678678 github.com/spf13/cobra v1.8.0 // indirect
679679 github.com/spf13/pflag v1.0.5 // indirect
680680 github.com/stretchr/objx v0.5.2 // indirect
Original file line number Diff line number Diff line change @@ -2331,8 +2331,8 @@ github.com/sourcegraph/sourcegraph-accounts-sdk-go v0.0.0-20240702160611-15589d6
23312331github.com/sourcegraph/sourcegraph-accounts-sdk-go v0.0.0-20240702160611-15589d6d8eac /go.mod h1:0bD4781hPFlS2tTcoUERY8aSu/UTA6YQV7Iv2TJvtm8 =
23322332github.com/sourcegraph/yaml v1.0.1-0.20200714132230-56936252f152 h1:z/MpntplPaW6QW95pzcAR/72Z5TWDyDnSo0EOcyij9o =
23332333github.com/sourcegraph/yaml v1.0.1-0.20200714132230-56936252f152 /go.mod h1:GIjDIg/heH5DOkXY3YJ/wNhfHsQHoXGjl8G8amsYQ1I =
2334- github.com/sourcegraph/zoekt v0.0.0-20240801154129-764fe4f9de0e h1:66S/mbdSXfoJT4S4dEEU1ZLZUKwzTfgeTcWZNyI5oA8 =
2335- github.com/sourcegraph/zoekt v0.0.0-20240801154129-764fe4f9de0e /go.mod h1:bFy43xoeqXhM4vJhIn+w+ehjF/H4iuB/js4cP717jg0 =
2334+ github.com/sourcegraph/zoekt v0.0.0-20240802105940-9d583f6b21d1 h1:kf3b+ofYN1A/NQ5OhpwArIqEcdfDsHK7LokDwmk8sQY =
2335+ github.com/sourcegraph/zoekt v0.0.0-20240802105940-9d583f6b21d1 /go.mod h1:bFy43xoeqXhM4vJhIn+w+ehjF/H4iuB/js4cP717jg0 =
23362336github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 /go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA =
23372337github.com/spf13/afero v0.0.0-20170901052352-ee1bd8ee15a1 /go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ =
23382338github.com/spf13/afero v1.1.2 /go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ =
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ go_library(
3838 "//internal/search/streaming/http" ,
3939 "//internal/searcher/protocol" ,
4040 "//internal/trace" ,
41- "//internal/trace/policy" ,
4241 "//internal/types" ,
4342 "//lib/errors" ,
4443 "//schema" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ go_library(
1616 "//internal/search/result" ,
1717 "//internal/search/zoektquery" ,
1818 "//internal/symbols" ,
19- "//internal/trace/policy" ,
2019 "//internal/types" ,
2120 "//lib/errors" ,
2221 "@com_github_grafana_regexp//:regexp" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import (
1818 "github.com/sourcegraph/sourcegraph/internal/search/result"
1919 "github.com/sourcegraph/sourcegraph/internal/search/zoektquery"
2020 "github.com/sourcegraph/sourcegraph/internal/symbols"
21- "github.com/sourcegraph/sourcegraph/internal/trace/policy"
2221 "github.com/sourcegraph/sourcegraph/internal/types"
2322 "github.com/sourcegraph/sourcegraph/lib/errors"
2423)
@@ -237,7 +236,6 @@ func searchZoekt(
237236 final := query .Simplify (query .NewAnd (ands ... ))
238237 match := limitOrDefault (first ) + 1
239238 resp , err := z .Search (ctx , final , & zoekt.SearchOptions {
240- Trace : policy .ShouldTrace (ctx ),
241239 MaxWallTime : 3 * time .Second ,
242240 ShardMaxMatchCount : match * 25 ,
243241 TotalMaxMatchCount : match * 25 ,
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import (
1515 "github.com/sourcegraph/sourcegraph/internal/conf"
1616 "github.com/sourcegraph/sourcegraph/internal/search/result"
1717 "github.com/sourcegraph/sourcegraph/internal/searcher/protocol"
18- "github.com/sourcegraph/sourcegraph/internal/trace/policy"
1918
2019 "github.com/sourcegraph/sourcegraph/internal/api"
2120 "github.com/sourcegraph/sourcegraph/internal/featureflag"
@@ -185,7 +184,6 @@ func (o *ZoektParameters) ToSearchOptions(ctx context.Context) (searchOpts *zoek
185184
186185 defaultTimeout := 20 * time .Second
187186 searchOpts = & zoekt.SearchOptions {
188- Trace : policy .ShouldTrace (ctx ),
189187 MaxWallTime : defaultTimeout ,
190188 ChunkMatches : true ,
191189 UseBM25Scoring : o .PatternType == query .SearchTypeCodyContext && o .Typ == TextRequest ,
You can’t perform that action at this time.
0 commit comments