Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

go.mod: bump zoekt #62332

Merged
merged 5 commits into from
May 1, 2024
Merged

go.mod: bump zoekt #62332

merged 5 commits into from
May 1, 2024

Conversation

stefanhengl
Copy link
Member

@stefanhengl stefanhengl commented May 1, 2024

This includes a couple of changes we should roll out with the upcoming release. I had to update Sourcegraph too, see PR description of zoekt/#758.

  • 783a51a784 docker: use go1.22 and alpine3.19
  • 301c735b9c docker: fix typo in builder name
  • a0f051e95e all: remove gob and SSE rpc endpoints
  • 8619902b5d gitindex: include environ for git tests
  • 55b7aeee2d docker: simplify apk add lines
  • 734f5b64f8 gomod: update deps for CVE-2023-45288 and CVE-2024-24786
  • 6df055493b gitindex: interpret SSH URLs
  • 5ecbc14cac zoekt-indexserver: prune branches on fetch
  • 5411e9b32e zoekt-mirror-gerrit: allow to use reponame without host in the index
  • 570757e20b Honor regex flags for case-sensitivity
  • 68d04651cc zoekt-mirror-gerrit: handle http authentication
  • 72f95004e6 fix: don't modify finalCands

Test plan:
Zoekt CI

This includes the following changes

- 783a51a784 docker: use go1.22 and alpine3.19
- 301c735b9c docker: fix typo in builder name
- a0f051e95e all: remove gob and SSE rpc endpoints
- 8619902b5d gitindex: include environ for git tests
- 55b7aeee2d docker: simplify apk add lines
- 734f5b64f8 gomod: update deps for CVE-2023-45288 and CVE-2024-24786
- 6df055493b gitindex: interpret SSH URLs
- 5ecbc14cac zoekt-indexserver: prune branches on fetch
- 5411e9b32e zoekt-mirror-gerrit: allow to use reponame without host in the index
- 570757e20b Honor regex flags for case-sensitivity
- 68d04651cc zoekt-mirror-gerrit: handle http authentication
- 72f95004e6 fix: don't modify finalCands

Test plan:
Zoekt CI
@cla-bot cla-bot bot added the cla-signed label May 1, 2024
@github-actions github-actions bot added team/product-platform team/search-platform Issues owned by the search platform team labels May 1, 2024
@@ -96,14 +96,6 @@ func (m *meteredSearcher) StreamSearch(ctx context.Context, q query.Q, opts *zoe
tr, ctx := trace.New(ctx, "zoekt."+cat, attrs...)
defer tr.EndWithErrIfNotContext(&err)

// We wrap our queries in GobCache, this gives us a convenient way to find
// out the marshalled size of the query.
if gobCache, ok := q.(*query.GobCache); ok {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't wrap our queries in GobCache anymore since we fully switched to grpc, see here

@stefanhengl stefanhengl requested a review from a team May 1, 2024 09:04
@stefanhengl stefanhengl marked this pull request as ready for review May 1, 2024 09:04
Copy link
Member

@keegancsmith keegancsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry I meant to do the update to do the corresponding code changes.

Copy link
Member

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! I'm going to merge so it can "bake" a bit before the monthly release.

@jtibshirani jtibshirani merged commit 9f4d281 into main May 1, 2024
11 checks passed
@jtibshirani jtibshirani deleted the sh/bump-zoekt branch May 1, 2024 15:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed team/product-platform team/search-platform Issues owned by the search platform team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants