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

feat: support GEP-1731 #5024

Merged
merged 5 commits into from
Jan 14, 2025
Merged

feat: support GEP-1731 #5024

merged 5 commits into from
Jan 14, 2025

Conversation

zirain
Copy link
Member

@zirain zirain commented Jan 8, 2025

fixes: #3993

@zirain zirain requested a review from a team as a code owner January 8, 2025 10:34
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 84.31373% with 8 lines in your changes missing coverage. Please review.

Project coverage is 66.70%. Comparing base (271a697) to head (0ad8cbb).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/ir/xds.go 11.11% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5024      +/-   ##
==========================================
- Coverage   66.73%   66.70%   -0.03%     
==========================================
  Files         210      210              
  Lines       32609    32647      +38     
==========================================
+ Hits        21761    21778      +17     
- Misses       9537     9554      +17     
- Partials     1311     1315       +4     

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

@@ -573,8 +572,8 @@ func buildHashPolicy(httpRoute *ir.HTTPRoute) []*routev3.RouteAction_HashPolicy
}

func buildRetryPolicy(route *ir.HTTPRoute) (*routev3.RetryPolicy, error) {
rr := route.Traffic.Retry
any, err := protocov.ToAnyWithValidation(&previoushost.PreviousHostsPredicate{})
rr := route.GetRetry()
Copy link
Contributor

Choose a reason for hiding this comment

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

looks clean !
cc @guydc

release-notes/current.yaml Outdated Show resolved Hide resolved
internal/ir/xds.go Outdated Show resolved Hide resolved
internal/gatewayapi/route.go Outdated Show resolved Hide resolved
internal/gatewayapi/route.go Outdated Show resolved Hide resolved
@arkodg
Copy link
Contributor

arkodg commented Jan 8, 2025

thanks @zirain , this PR looks good, added some minor comments !

@zirain zirain requested review from arkodg and guydc January 9, 2025 01:03
@zirain zirain force-pushed the gep-1731 branch 3 times, most recently from 8209d49 to 2556f64 Compare January 11, 2025 00:52
arkodg
arkodg previously approved these changes Jan 11, 2025
Copy link
Contributor

@arkodg arkodg 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 !

arkodg
arkodg previously approved these changes Jan 13, 2025
Copy link
Contributor

@arkodg arkodg 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 !

@arkodg arkodg requested review from a team January 13, 2025 18:56
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain zirain requested a review from arkodg January 13, 2025 22:35
@arkodg arkodg requested review from a team January 13, 2025 22:38
@arkodg arkodg merged commit 58a9b23 into envoyproxy:main Jan 14, 2025
25 checks passed
@zirain zirain deleted the gep-1731 branch January 14, 2025 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support GEP-1731 Configurable Retries
3 participants