Skip to content

[v2.12] Update OpenTelemetry compatibly to v1.47.0 - #822

Open
andreas-kupries with Copilot wants to merge 1 commit into
v2.12from
fix/v2.12-opentelemetry-compatible
Open

andreas-kupries with Copilot wants to merge 1 commit into
v2.12from
fix/v2.12-opentelemetry-compatible

Conversation

Copilot AI commented Nov 17, 2026

Copy link
Copy Markdown

Summary

  • Update both go.opentelemetry.io/otel and go.opentelemetry.io/otel/trace to v1.47.0 in the replacement and requirement directives.
  • Regenerate go.mod and go.sum using the CI Go 1.26.11 toolchain, including the dependencies required by OpenTelemetry v1.47.0.
  • Provide a compatible alternative to Update module go.opentelemetry.io/otel/trace to v1.47.0 [SECURITY] (v2.12) #819, whose trace-only update cannot resolve go.opentelemetry.io/otel/semconv/v1.43.0 while the root module remains pinned to v1.44.0, preventing checksum generation and causing CI type-check failures.

Validation

  • GOTOOLCHAIN=go1.26.11+auto GOFLAGS=-mod=readonly GOMAXPROCS=4 ./scripts/test
  • GOTOOLCHAIN=go1.26.11+auto ./scripts/validate
  • GOTOOLCHAIN=go1.26.11+auto go mod tidy -diff
  • git diff --check

All commands passed. Only go.mod and go.sum are changed.

Upgrade otel and trace together to v1.47.0 and regenerate the module graph and checksums to resolve the artifact failure in #819.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@andreas-kupries
andreas-kupries marked this pull request as ready for review November 17, 2026 12:13
@andreas-kupries
andreas-kupries requested a review from a team as a code owner November 17, 2026 12:13
@andreas-kupries
andreas-kupries requested a lite review from Copilot November 17, 2026 12:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain, and the dependency updates are accompanied by regenerated Go module metadata.

No open issues 🎉

What changed in this PR

Updates OpenTelemetry dependencies from v1.44.0 to v1.47.0 so the root and trace modules resolve compatibly, while regenerating the associated Go dependency metadata.

Changes:

  • Updates OpenTelemetry replacement and indirect requirement directives to v1.47.0.
  • Refreshes related transitive dependencies, including go-logr, testify, and YAML v3.
  • Regenerates checksums and removes obsolete entries in go.sum.
File Description
go.sum Refreshes checksums for the updated dependency graph and removes obsolete module entries.
go.mod Updates OpenTelemetry replacements and refreshed direct and indirect dependency requirements.

Review effort: Lite

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.

3 participants