Skip to content

decouple Gateway API version with go mod#6210

Merged
zirain merged 2 commits intoenvoyproxy:mainfrom
zirain:decouple-gwapi
May 28, 2025
Merged

decouple Gateway API version with go mod#6210
zirain merged 2 commits intoenvoyproxy:mainfrom
zirain:decouple-gwapi

Conversation

@zirain
Copy link
Copy Markdown
Member

@zirain zirain commented May 28, 2025

this allow EG adopt changes for conformace test before a offical release.

Signed-off-by: zirain <zirain2009@gmail.com>
@zirain zirain requested a review from a team as a code owner May 28, 2025 12:12
@codecov
Copy link
Copy Markdown

codecov bot commented May 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.46%. Comparing base (acf652c) to head (cb760cb).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6210      +/-   ##
==========================================
+ Coverage   70.43%   70.46%   +0.02%     
==========================================
  Files         220      220              
  Lines       36593    36593              
==========================================
+ Hits        25775    25785      +10     
+ Misses       9290     9282       -8     
+ Partials     1528     1526       -2     

☔ 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.

zhaohuabing
zhaohuabing previously approved these changes May 28, 2025
@zhaohuabing
Copy link
Copy Markdown
Member

zhaohuabing commented May 28, 2025

Can we also update the gateway-api go mod to the latest commit to test if there are any potential issues?

# GATEWAY_API_VERSION refers to the version of Gateway API CRDs.
# For more details, see https://gateway-api.sigs.k8s.io/guides/getting-started/#installing-gateway-api
GATEWAY_API_VERSION ?= $(shell go list -m -f '{{.Version}}' sigs.k8s.io/gateway-api)
GATEWAY_API_VERSION ?= v1.3.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Curious if we should be testing against a different version than the one being used for building EG. Or does backward compatibility guarantee validity of the tests?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this is acceptable for the latest dev image. We always pin Gateway API version for a release.

Signed-off-by: zirain <zirain2009@gmail.com>
@zirain zirain merged commit ee73f13 into envoyproxy:main May 28, 2025
74 of 80 checks passed
@zirain zirain deleted the decouple-gwapi branch May 28, 2025 23:19
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.

5 participants