Repository navigation
fix: ignore useClientProtocol for gRPC backends - #10807
Draft
zhaohuabing wants to merge 2 commits into
Draft
zhaohuabing wants to merge 2 commits into
zhaohuabing wants to merge 2 commits into
Conversation
useClientProtocol made Envoy send HTTP/1.1 gRPC-Web requests to gRPC backends over HTTP/1.1, which they reject. It's now left off routes and merged clusters that reach a gRPC backend, so they keep HTTP/2, and the policy gets an UnsupportedField warning. Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
✅ Deploy Preview for cerulean-figolla-1f9435 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
zhaohuabing
marked this pull request as ready for review
December 4, 2026 08:19
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10807 +/- ##
==========================================
+ Coverage 82.86% 82.88% +0.02%
==========================================
Files 278 278
Lines 44695 44728 +33
==========================================
+ Hits 37036 37075 +39
+ Misses 7658 7652 -6
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
zhaohuabing
marked this pull request as draft
December 4, 2026 13:10
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
BackendTrafficPolicy no longer applies
useClientProtocolto a route or merged cluster that reaches a gRPC backend, so those clusters keep their explicit HTTP/2 config. The policy gets aWarningcondition with reasonUnsupportedFieldthat lists the affected routes, or backends when mergeBackends is on.appProtocol: grpc, whether the policy targets the route, a Gateway, a ListenerSet, or the backend.Warnings.useClientProtocolis now dropped before the HTTP/3 check, gRPC routes no longer get the "useClientProtocol cannot be used together with http3" warning.Which issue(s) this PR fixes:
Fixes #10806
PR Checklist
git commit -s). See DCO: Sign your work.make generate gen-check,make lint, and the unit-test/coverage build pass. (Flaky e2e failures are not considered breakages, butgen-check,lint, and coverage MUST pass.)release-notes/current/<section>/<pr-number>-<slug>.md(seerelease-notes/current/README.mdfor sections and naming). N/A if this PR does not contain non-trivial changes.release-notes/current/breaking_changes/.