-
Notifications
You must be signed in to change notification settings - Fork 134
deps: upgrade EG Go dependency #1309
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
Conversation
4b95a6b to
ada9afc
Compare
| // Explicitly specify the Go patch version to be able to purge the CI cache correctly. | ||
| go 1.25.1 | ||
|
|
||
| replace go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi we got go run github.com/envoyproxy/ai-gateway/cmd/aigw@main run back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Niiiiiice!!
|
hmm mcp got broken |
so looks like the mcp request reaches the ai extproc... i guess some behavioral change around extensionserver |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (77.59%) is below the target coverage (86.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #1309 +/- ##
==========================================
+ Coverage 77.55% 77.59% +0.03%
==========================================
Files 123 123
Lines 15719 15717 -2
==========================================
+ Hits 12191 12195 +4
+ Misses 2900 2896 -4
+ Partials 628 626 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/retest |
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
1db6768 to
efefd09
Compare
| } | ||
| for _, secret := range originalSecrets { | ||
| mustWriteObj(nil, secret, output) | ||
| mustWriteObj(&secret.TypeMeta, secret, output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a bug somehow surfaced with the upgrade
| kind, ok := resource.GetStructValue().Fields["kind"] | ||
| if !ok || kind.GetStringValue() != "HTTPRoute" { | ||
| continue | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also a bug that surfaced with the upgrade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zirain this relates to envoyproxy/gateway#7128 (comment), can you help triage this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah won't be an issue for us but sure I think it's a regression on EG side
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mathetake can you raise an issue in EG?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raised envoyproxy/gateway#7183
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mathetake this might due to kubernetes-sigs/controller-runtime#3229.
it's not from EG side but controller-time.
The fakeclient currently differs from the liveclient in that if a
structured object is created that has typemeta set, it will retain that.
In contrast to that, the liveclient always strips it.
This change makes the fakeclient strip it just like the live client.
nacx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
|
EXCELLENT: so this has the fix @nacx made which was very important. func-e inside EG creates an implicit admin server on demand when there is no fixed port one in the yaml. Before, the EG code was broken in how it passed args to cmd Exec (space encoding arg/value in the args slice which is odd worked at all). I can tell by running with |
**Description** This upgrades the Envoy Gateway dependency to the latest main branch commit. Note that the Go level EG dependency is essentially **only used in aigw run** standalone mode. That is because in the k8s environment, the only code path where we use EG is to generate EG configurations, hence the data structures/control plane/extension server gRPC API which we should assume is stable. Moreover, we still have the e2e test with v1.5, so by no means this implies AIGW main branch cannot work with v1.5. On the other hand, this brings a lot of bug fixes and enhancement to the standalone mode. --------- Signed-off-by: Takeshi Yoneda <[email protected]> Signed-off-by: Hrushikesh Patil <[email protected]>
**Description** This upgrades the Envoy Gateway dependency to the latest main branch commit. Note that the Go level EG dependency is essentially **only used in aigw run** standalone mode. That is because in the k8s environment, the only code path where we use EG is to generate EG configurations, hence the data structures/control plane/extension server gRPC API which we should assume is stable. Moreover, we still have the e2e test with v1.5, so by no means this implies AIGW main branch cannot work with v1.5. On the other hand, this brings a lot of bug fixes and enhancement to the standalone mode. --------- Signed-off-by: Takeshi Yoneda <[email protected]> Signed-off-by: Hrushikesh Patil <[email protected]>
**Description** This upgrades the Envoy Gateway dependency to the latest main branch commit. Note that the Go level EG dependency is essentially **only used in aigw run** standalone mode. That is because in the k8s environment, the only code path where we use EG is to generate EG configurations, hence the data structures/control plane/extension server gRPC API which we should assume is stable. Moreover, we still have the e2e test with v1.5, so by no means this implies AIGW main branch cannot work with v1.5. On the other hand, this brings a lot of bug fixes and enhancement to the standalone mode. --------- Signed-off-by: Takeshi Yoneda <[email protected]> Signed-off-by: Hrushikesh Patil <[email protected]>
Description
This upgrades the Envoy Gateway dependency to the latest main branch commit. Note that the Go level EG dependency is essentially only used in aigw run standalone mode. That is because in the k8s environment, the only code path where we use EG is to generate EG configurations, hence the data structures/control plane/extension server gRPC API which we should assume is stable. Moreover, we still have the e2e test with v1.5, so by no means this implies AIGW main branch cannot work with v1.5. On the other hand, this brings a lot of bug fixes and enhancement to the standalone mode.