Skip to content

Update go dependencies#2581

Open
VirajSalaka wants to merge 1 commit into
wso2:mainfrom
VirajSalaka:go-update-deps
Open

Update go dependencies#2581
VirajSalaka wants to merge 1 commit into
wso2:mainfrom
VirajSalaka:go-update-deps

Conversation

@VirajSalaka

@VirajSalaka VirajSalaka commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Purpose

Updated event-gateway/it from github.com/testcontainers/testcontainers-go/modules/compose 0.40.0 to 0.43.0, which moves the vulnerable transitives to github.com/containerd/containerd/v2 2.2.4, go.opentelemetry.io/otel/sdk 1.43.0, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp 1.43.0. Also updated the same Compose dependency in gateway/it, removed remaining repo-wide go.opentelemetry.io/otel/sdk 1.41.0 references by moving runtime/sdk modules to OpenTelemetry 1.44.0, and upgraded sdk/ai's etcd transitives to the 3.6 line for compatibility with the newer workspace OpenTelemetry graph.

Goals

Describe what solutions this feature or fix introduces to address the problems outlined above.

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI. Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@VirajSalaka, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 74da6e51-a07f-479b-b058-bb152720bdff

📥 Commits

Reviewing files that changed from the base of the PR and between bc1662f and f71bfd1.

⛔ Files ignored due to path filters (6)
  • event-gateway/gateway-runtime/go.sum is excluded by !**/*.sum
  • event-gateway/it/go.sum is excluded by !**/*.sum
  • gateway/gateway-runtime/policy-engine/go.sum is excluded by !**/*.sum
  • gateway/it/go.sum is excluded by !**/*.sum
  • go.work.sum is excluded by !**/*.sum
  • sdk/ai/go.sum is excluded by !**/*.sum
📒 Files selected for processing (5)
  • event-gateway/gateway-runtime/go.mod
  • event-gateway/it/go.mod
  • gateway/gateway-runtime/policy-engine/go.mod
  • gateway/it/go.mod
  • sdk/ai/go.mod
📝 Walkthrough

Walkthrough

Five Go module manifests refresh direct and indirect dependency versions across runtime, policy-engine, integration test, and AI SDK modules. Updates include Envoy, gRPC, OpenTelemetry, Testcontainers, container tooling, JWT, etcd, and related Go libraries.

Changes

Go module dependency refresh

Layer / File(s) Summary
Runtime dependency updates
event-gateway/gateway-runtime/go.mod, gateway/gateway-runtime/policy-engine/go.mod
Runtime modules update Envoy, SDK, gRPC, xDS, OpenTelemetry, gateway, exporter, and supporting dependencies.
Integration test dependency graphs
event-gateway/it/go.mod, gateway/it/go.mod
Integration modules update Go toolchain metadata and refresh WebSocket, Testcontainers, container, Docker, Compose, telemetry, and transitive dependency versions.
AI SDK dependency updates
sdk/ai/go.mod
The AI SDK updates JWT, middleware, Prometheus, etcd, OpenTelemetry, gRPC, and related indirect dependencies.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Suggested reviewers: malinthaprasan, krishanx92, senthuran16, tharindu1st

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning Only Purpose is filled; the required template sections are otherwise left as placeholders or blank. Add concrete content for Goals, Approach, User stories, Documentation, Automation tests, Security checks, Samples, Related PRs, and Test environment.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main change: updating Go dependencies.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Validation Results

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: google.golang.org/grpc
Version: v1.81.1 (was v1.79.3)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/gorilla/websocket
Version: v1.5.4-0.20250319132907-e064f32e3674 (was v1.5.3)
Allowed range: >=v1.5.3
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: go.opentelemetry.io/otel
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.39.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/sdk
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/trace
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/proto/otlp
Version: v1.10.0 (was v1.9.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: google.golang.org/grpc
Version: v1.81.1 (was v1.79.3)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/pb33f/libopenapi
Version: v0.28.2
Allowed range: >=v0.28.2
Approved: ✅ Yes


Next Steps

  1. Review the validation failures listed above
  2. Check if dependencies are in the approved dependency list
  3. Options to resolve:
    • Remove the unapproved dependencies from this PR
    • OR submit a PR to add these dependencies to the approved list in engineering-governance
  4. Once resolved, push changes to re-run validation

This PR is blocked until all dependencies are approved.

⚠️ Please verify the scope of the dependencies usage is necessary

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Validation Results

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/gorilla/websocket
Version: v1.5.4-0.20250319132907-e064f32e3674 (was v1.5.3)
Allowed range: >=v1.5.3
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: go.opentelemetry.io/otel
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.39.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/sdk
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/trace
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/proto/otlp
Version: v1.10.0 (was v1.9.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/pb33f/libopenapi
Version: v0.28.2
Allowed range: >=v0.28.2
Approved: ✅ Yes


Next Steps

  1. Review the validation failures listed above
  2. Check if dependencies are in the approved dependency list
  3. Options to resolve:
    • Remove the unapproved dependencies from this PR
    • OR submit a PR to add these dependencies to the approved list in engineering-governance
  4. Once resolved, push changes to re-run validation

This PR is blocked until all dependencies are approved.

⚠️ Please verify the scope of the dependencies usage is necessary

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Validation Results

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/gorilla/websocket
Version: v1.5.4-0.20250319132907-e064f32e3674 (was v1.5.3)
Allowed range: >=v1.5.3
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: go.opentelemetry.io/otel
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.39.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/sdk
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/trace
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/proto/otlp
Version: v1.10.0 (was v1.9.0)
Approved: ❌ No - Module not found in dependency registry

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Approved: ❌ No - Module not found in dependency registry

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Approved: ❌ No - Module not found in dependency registry


Next Steps

  1. Review the validation failures listed above
  2. Check if dependencies are in the approved dependency list
  3. Options to resolve:
    • Remove the unapproved dependencies from this PR
    • OR submit a PR to add these dependencies to the approved list in engineering-governance
  4. Once resolved, push changes to re-run validation

This PR is blocked until all dependencies are approved.

⚠️ Please verify the scope of the dependencies usage is necessary

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Validation Results

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Allowed range: >=v1.36.0
Approved: ✅ Yes

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Allowed range: >=v1.82.0
Approved: ✅ Yes

Dependency name: github.com/gorilla/websocket
Version: v1.5.4-0.20250319132907-e064f32e3674 (was v1.5.3)
Allowed range: >=v1.5.3
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Allowed range: >=v0.43.0
Approved: ✅ Yes

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Allowed range: >=v1.36.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.39.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/sdk
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/trace
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/proto/otlp
Version: v1.10.0 (was v1.9.0)
Allowed range: >=v1.10.0
Approved: ✅ Yes

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Allowed range: >=v1.82.0
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Allowed range: >=v0.43.0
Approved: ✅ Yes

⚠️ Please verify the scope of the dependencies usage is necessary

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@event-gateway/it/go.mod`:
- Around line 147-160: Update the OpenTelemetry gRPC exporter dependencies in
go.mod: change otlpmetricgrpc and otlptracegrpc from v1.42.0 to v1.43.0, keeping
the other module versions and indirect dependency declarations unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 19557219-3bba-4161-a4c2-260a1783f02a

📥 Commits

Reviewing files that changed from the base of the PR and between a88f1ec and bc1662f.

⛔ Files ignored due to path filters (3)
  • event-gateway/gateway-runtime/go.sum is excluded by !**/*.sum
  • event-gateway/it/go.sum is excluded by !**/*.sum
  • gateway/gateway-runtime/policy-engine/go.sum is excluded by !**/*.sum
📒 Files selected for processing (3)
  • event-gateway/gateway-runtime/go.mod
  • event-gateway/it/go.mod
  • gateway/gateway-runtime/policy-engine/go.mod
🚧 Files skipped from review as they are similar to previous changes (2)
  • event-gateway/gateway-runtime/go.mod
  • gateway/gateway-runtime/policy-engine/go.mod

Comment thread event-gateway/it/go.mod
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Validation Results

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Allowed range: >=v1.36.0
Approved: ✅ Yes

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Allowed range: >=v1.82.0
Approved: ✅ Yes

Dependency name: github.com/gorilla/websocket
Version: v1.5.4-0.20250319132907-e064f32e3674 (was v1.5.3)
Allowed range: >=v1.5.3
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Allowed range: >=v0.43.0
Approved: ✅ Yes

Dependency name: github.com/envoyproxy/go-control-plane/envoy
Version: v1.37.0 (was v1.36.0)
Allowed range: >=v1.36.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.39.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/sdk
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/otel/trace
Version: v1.44.0 (was v1.41.0)
Allowed range: >=v1.44.0
Approved: ✅ Yes

Dependency name: go.opentelemetry.io/proto/otlp
Version: v1.10.0 (was v1.9.0)
Allowed range: >=v1.10.0
Approved: ✅ Yes

Dependency name: google.golang.org/grpc
Version: v1.82.0 (was v1.79.3)
Allowed range: >=v1.82.0
Approved: ✅ Yes

Dependency name: github.com/testcontainers/testcontainers-go/modules/compose
Version: v0.43.0 (was v0.40.0)
Allowed range: >=v0.43.0
Approved: ✅ Yes

⚠️ Please verify the scope of the dependencies usage is necessary

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.

1 participant