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

grpc: enable by default by inverting experimental feature flag#56738

Merged
ggilmore merged 8 commits into
mainfrom
grpc-default
Sep 18, 2023
Merged

grpc: enable by default by inverting experimental feature flag#56738
ggilmore merged 8 commits into
mainfrom
grpc-default

Conversation

@ggilmore

@ggilmore ggilmore commented Sep 18, 2023

Copy link
Copy Markdown
Contributor

This PR enables gRPC by default. All the same environment variables / site configuration options still work. The only difference is that the default behavior is to leave gRPC enabled unless the site configuration option / env var is explicitly set.

This PR should not be backported to the 5.1.X branch.

Test plan

Unit tests / CI

Note: a number of tests needed a bit of setup-tweaking since they were only running HTTP codepaths before.

@cla-bot cla-bot Bot added the cla-signed label Sep 18, 2023
@ggilmore ggilmore marked this pull request as ready for review September 18, 2023 22:26
@ggilmore ggilmore requested review from a team and camdencheek September 18, 2023 22:26
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 03ac5c2...889b61a.

Notify File(s)
@eseliger internal/gitserver/client_test.go
internal/repos/sources_test.go
@keegancsmith cmd/searcher/internal/search/BUILD.bazel
cmd/searcher/internal/search/hybrid_test.go

@ggilmore ggilmore merged commit 25f6ec6 into main Sep 18, 2023
@ggilmore ggilmore deleted the grpc-default branch September 18, 2023 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants