Repository navigation
feat: 🔧 Update MCP gateway to v0.6.0 and enable gateway tracing - #1301
Conversation
Signed-off-by: Evaline Ju <[email protected]>
Signed-off-by: Evaline Ju <[email protected]>
|
/run-e2e |
E2E HyperShift Tests StartedTriggered by: @rubambiza Tests are running on OpenShift 4.20.11. This typically takes 30-45 minutes. To re-run tests after new commits, comment |
rubambiza
left a comment
There was a problem hiding this comment.
Clean upgrade from MCP gateway v0.5.0 to v0.6.0. The CRD domain migration (kagenti.com -> kuadrant.io), controller delegation (removing manually-managed ReferenceGrant/HTTPRoute/CORS), and tracing enablement all look good. All CI checks pass.
A couple of non-blocking suggestions inline — mainly around the breadth of the http.method OTel drop filter.
| kubernetes.core.k8s_info: | ||
| api_version: apps/v1 | ||
| kind: Deployment | ||
| name: mcp-gateway |
There was a problem hiding this comment.
nit: The wait uses retries: 30, delay: 10 (5 minutes total). If the controller is slow to reconcile (e.g. waiting for the Gateway to be programmed), this could time out. Worth a brief comment noting the expected timing, or consider bumping to retries: 40 for headroom.
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
Signed-off-by: Evaline Ju <[email protected]>
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
Signed-off-by: Evaline Ju <[email protected]>
Signed-off-by: Evaline Ju <[email protected]>
8272bfa to
9bb5639
Compare
|
/run-e2e |
E2E HyperShift Tests StartedTriggered by: @evaline-ju Tests are running on OpenShift 4.20.11. This typically takes 30-45 minutes. To re-run tests after new commits, comment |
E2E HyperShift Tests PassedCommit: The If you push new commits, the label will be removed and you'll need to comment |
MCP gateway v0.6.0 (PR rossoctl#1301) renamed the CRD group from mcp.kuadrant.io to mcp.kagenti.com but the CI wait script and cleanup script were not updated, causing E2E to fail on the CRD readiness check. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
MCP gateway v0.6.0 (PR rossoctl#1301) renamed the CRD group from mcp.kuadrant.io to mcp.kagenti.com. Kind CI still installs the old version while HyperShift uses the new one. Detect which domain is present and wait for the correct CRDs. The cleanup script deletes resources under both domains to handle either environment. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
MCP gateway v0.6.0 (PR rossoctl#1301) renamed the CRD group from mcp.kuadrant.io to mcp.kagenti.com but the CI wait script and cleanup script were not updated, causing E2E to fail on the CRD readiness check. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
MCP gateway v0.6.0 (PR rossoctl#1301) renamed the CRD group from mcp.kuadrant.io to mcp.kagenti.com. Kind CI still installs the old version while HyperShift uses the new one. Detect which domain is present and wait for the correct CRDs. The cleanup script deletes resources under both domains to handle either environment. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
Summary
Update to use latest MCP gateway v0.6.0 - the main change is the CRD name and the switch to the controller. This version also provides MCP gateway router tracing, where some of the detailed traces (like initialize, notifications, etc. are filtered out in the Otel collector config by default). Here, we patch the env vars (i.e. use user-provided env vars) to enable the traces to be collected.
Testing with the weather agent and updated weather tool (rossoctl/examples#255) can provide a trace like the following

Related issue(s)
Fixes #1135
Assisted-By: Claude (Anthropic AI) [email protected] for finding what was necessary to update MCP gateway to this version