Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Follow up on XFCC header #3443

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

zhaohuabing
Copy link
Member

@zhaohuabing zhaohuabing commented May 20, 2024

This a follow-up PR to address comments on #3202.

  • XFCC header setting naming
  • Add validation for xfcc setting
  • Add some comments

Close #2599

@zhaohuabing zhaohuabing requested a review from a team as a code owner May 20, 2024 19:06
Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.34%. Comparing base (b1f6e00) to head (94bfa2f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3443      +/-   ##
==========================================
- Coverage   67.35%   67.34%   -0.01%     
==========================================
  Files         166      166              
  Lines       19357    19355       -2     
==========================================
- Hits        13038    13035       -3     
  Misses       5378     5378              
- Partials      941      942       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zhaohuabing zhaohuabing marked this pull request as draft May 20, 2024 19:44
@zhaohuabing zhaohuabing force-pushed the refactor-xfcc branch 8 times, most recently from 3edf9b0 to 18c35df Compare May 21, 2024 00:52
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
@zhaohuabing zhaohuabing marked this pull request as ready for review May 21, 2024 01:42
@zhaohuabing zhaohuabing added the area/api API-related issues label May 21, 2024
Copy link
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for refactoring this, look much better now.

@zhaohuabing zhaohuabing requested a review from arkodg May 21, 2024 18:04
@@ -30,6 +30,7 @@ import (
"google.golang.org/protobuf/types/known/wrapperspb"
"k8s.io/utils/ptr"

egv1a1 "github.com/envoyproxy/gateway/api/v1alpha1"
Copy link
Contributor

Choose a reason for hiding this comment

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

we shouldnt be linking any Gateway API fields here, this lib should only be linked with the IR

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm this is internal to this project, but we should ideally avoid this too

@arkodg arkodg merged commit b4a0086 into envoyproxy:main May 21, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Propagate XFCC header to the backend
4 participants