Skip to content

fix: process remaining gatewayClasses after encountering an err #5953

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented May 8, 2025

  • instead of returning from Reconcile after encountering an err which processing a GatewayClass, continue instead to process all GatewayClasses

Fixes: #5618

* instead of returning from Reconcile after encountering an err
which processing a `GatewayClass`, `continue` instead
to process all GatewayClasses

Fixes: envoyproxy#5618

Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg requested a review from a team as a code owner May 8, 2025 01:53
@arkodg arkodg requested a review from a team May 8, 2025 01:53
@arkodg arkodg added this to the v1.4.0 milestone May 8, 2025
@arkodg arkodg changed the title fix: process all gatewayClasses after encountering an err fix: process remaining gatewayClasses after encountering an err May 8, 2025
Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 22.22222% with 21 lines in your changes missing coverage. Please review.

Project coverage is 65.89%. Comparing base (2bbbdf8) to head (f24dbd1).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
internal/provider/kubernetes/controller.go 22.22% 21 Missing ⚠️

❌ Your patch status has failed because the patch coverage (22.22%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5953      +/-   ##
==========================================
+ Coverage   65.80%   65.89%   +0.09%     
==========================================
  Files         217      217              
  Lines       36013    36009       -4     
==========================================
+ Hits        23699    23729      +30     
+ Misses      10834    10806      -28     
+ Partials     1480     1474       -6     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zirain
Copy link
Member

zirain commented May 8, 2025

/retest

@zirain
Copy link
Member

zirain commented May 8, 2025

/retest

@arkodg arkodg merged commit 64845fe into envoyproxy:main May 8, 2025
49 of 57 checks passed
@arkodg arkodg deleted the process-all-gwc branch May 8, 2025 17:09
guydc pushed a commit to guydc/gateway that referenced this pull request May 8, 2025
…yproxy#5953)

fix: process all gatewayClasses after encountering an err

* instead of returning from Reconcile after encountering an err
which processing a `GatewayClass`, `continue` instead
to process all GatewayClasses

Fixes: envoyproxy#5618

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 64845fe)
Signed-off-by: Guy Daich <[email protected]>
guydc added a commit that referenced this pull request May 8, 2025
* fix: return err if direct response size exceeds limit (#5710)

* fix: return err if direct response size exceeds limit

Signed-off-by: Arko Dasgupta <[email protected]>

* lint

Signed-off-by: Arko Dasgupta <[email protected]>

* add another check

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 3ebf245)
Signed-off-by: Guy Daich <[email protected]>

* fix:  httproute precedence by considering header/query match type (#5740)

*  fix precedence to use number of exact matches

Signed-off-by: kkk777-7 <[email protected]>
(cherry picked from commit b295b09)
Signed-off-by: Guy Daich <[email protected]>

* fix: SecurityPolicy reference grant (#5792)

* fix: SecurityPolicy reference grant

Signed-off-by: kkk777-7 <[email protected]>

* add: release note

Signed-off-by: kkk777-7 <[email protected]>

* update: func name

Signed-off-by: kkk777-7 <[email protected]>

* revert func name

Signed-off-by: kkk777-7 <[email protected]>

* update: use processBackendRef to handle route backends

Signed-off-by: kkk777-7 <[email protected]>

* fix: use not pointer type for extAuth backendRef

Signed-off-by: kkk777-7 <[email protected]>

* Add: testcase for ExtAuth

Signed-off-by: kkk777-7 <[email protected]>

* fix: add jwt backendref to backendSecurityPolicyIndexFunc

Signed-off-by: kkk777-7 <[email protected]>

---------

Signed-off-by: kkk777-7 <[email protected]>
(cherry picked from commit ef50718)
Signed-off-by: Guy Daich <[email protected]>

* fix: add validation for header values (#5933)

Signed-off-by: Gavin Lam <[email protected]>
(cherry picked from commit 5e7df65)
Signed-off-by: Guy Daich <[email protected]>

* fix: Fixed typo in error message. (#5945)

Signed-off-by: Mathias Westby Skoglund <[email protected]>
Co-authored-by: Mathias Westby Skoglund <[email protected]>
(cherry picked from commit 2bbbdf8)
Signed-off-by: Guy Daich <[email protected]>

* fix gen

Signed-off-by: Guy Daich <[email protected]>

* merge fixes

Signed-off-by: Guy Daich <[email protected]>

* fix: process remaining gatewayClasses after encountering an err (#5953)

fix: process all gatewayClasses after encountering an err

* instead of returning from Reconcile after encountering an err
which processing a `GatewayClass`, `continue` instead
to process all GatewayClasses

Fixes: #5618

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 64845fe)
Signed-off-by: Guy Daich <[email protected]>

* fix: do not add tls inspector filter to quic listener (#5671)

* fix: enable http3 but panic

Signed-off-by: bitliu <[email protected]>
(cherry picked from commit 46e053b)
Signed-off-by: Guy Daich <[email protected]>

* notes

Signed-off-by: Guy Daich <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Guy Daich <[email protected]>
Signed-off-by: kkk777-7 <[email protected]>
Signed-off-by: Gavin Lam <[email protected]>
Signed-off-by: Mathias Westby Skoglund <[email protected]>
Signed-off-by: bitliu <[email protected]>
Co-authored-by: Arko Dasgupta <[email protected]>
Co-authored-by: Kota Kimura <[email protected]>
Co-authored-by: Gavin Lam <[email protected]>
Co-authored-by: Mathias Westby Skoglund <[email protected]>
Co-authored-by: Mathias Westby Skoglund <[email protected]>
Co-authored-by: Xunzhuo <[email protected]>
melsal13 referenced this pull request in melsal13/gatewayPersonal May 9, 2025
fix: process all gatewayClasses after encountering an err

* instead of returning from Reconcile after encountering an err
which processing a `GatewayClass`, `continue` instead
to process all GatewayClasses

Fixes: envoyproxy/gateway#5618

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: melsal13 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misconfigured GatewayClass Impacts Creation of other resources in other GatewayClasses
3 participants