Skip to content

chore: Update non-major dependencies - #1533

Merged
hwbrzzl merged 2 commits into
masterfrom
renovate/non-major-dependencies
Aug 11, 2026
Merged

chore: Update non-major dependencies#1533
hwbrzzl merged 2 commits into
masterfrom
renovate/non-major-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump non-major OpenTelemetry dependencies: go.opentelemetry.io/otel v1.44.0 → v1.45.0, otelgrpc/otelhttp v0.69.0 → v0.70.0, and the b3 propagator v1.44.0 → v1.45.0.
  • Migrate the telemetry log instrumentation off the removed otel/log value API (log.Value, log.KeyValue, log.StringValue, …) onto go.opentelemetry.io/otel/attribute types, which log.Record now uses directly in otel/log v0.21.0.
  • Restore compilation of the telemetry log channel so the module builds and all telemetry tests pass against the updated dependencies.

Why

Renovate bumped go.opentelemetry.io/otel to v1.45.0, which pulls in go.opentelemetry.io/otel/log v0.21.0. That release removed the log package's value API — Value, KeyValue, StringValue, MapValue, SliceValue, BytesValue, and the String/Int64/Float64/Map/Slice constructors are gone, and Record.SetBody/AddAttributes plus logtest.Record now use attribute.Value/attribute.KeyValue from go.opentelemetry.io/otel/attribute. The telemetry log instrumentation (telemetry/instrumentation/log) referenced the removed types, so the repository no longer compiled.

The handler and its value mapper now build attribute.Value/attribute.KeyValue directly (BytesValue became ByteSliceValue, dynamic keys are wrapped in attribute.Key, and the now-redundant ValueFromAttribute branch was dropped), keeping the exported OTel log records identical. Applications that route logs through an "otel" channel keep working unchanged after the upgrade.

// Before: the application no longer compiles after the OTel upgrade — the telemetry
// log channel cannot be built because otel/log v0.21.0 removed its value types.
facades.Log().Channel("telemetry").WithContext(ctx).
	Code("ERR_500").
	In("payment").
	Tags("api", "v1").
	With(map[string]any{"user_id": 42}).
	Info("payment processed")

// After: the same code compiles and the entry is exported to OTel as a log record
// with the same attributes (code=ERR_500, domain=payment, tags=[api v1], user_id=42).
facades.Log().Channel("telemetry").WithContext(ctx).
	Code("ERR_500").
	In("payment").
	Tags("api", "v1").
	With(map[string]any{"user_id": 42}).
	Info("payment processed")

@renovate
renovate Bot requested a review from a team as a code owner August 10, 2026 00:30
@renovate
renovate Bot enabled auto-merge (squash) August 10, 2026 00:30
@renovate

renovate Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/felixge/httpsnoop v1.0.4 -> v1.1.0
github.com/go-logr/logr v1.4.3 -> v1.4.4
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 -> v1.45.0
go.opentelemetry.io/proto/otlp v1.10.0 -> v1.11.0
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa -> v0.0.0-20260803160001-6ac0973c030d

@renovate
renovate Bot force-pushed the renovate/non-major-dependencies branch from 7a690cd to 55ebae4 Compare August 10, 2026 19:33
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 69.69697% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.79%. Comparing base (cf1480b) to head (bad95fc).

Files with missing lines Patch % Lines
telemetry/instrumentation/log/mapper.go 69.81% 16 Missing ⚠️
telemetry/instrumentation/log/handler.go 69.23% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1533      +/-   ##
==========================================
- Coverage   69.80%   69.79%   -0.01%     
==========================================
  Files         409      409              
  Lines       31388    31386       -2     
==========================================
- Hits        21909    21907       -2     
  Misses       8445     8445              
  Partials     1034     1034              

☔ View full report in Codecov by Harness.
📢 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.

@hwbrzzl
hwbrzzl disabled auto-merge August 11, 2026 10:41
@hwbrzzl
hwbrzzl merged commit 2f75a13 into master Aug 11, 2026
20 of 21 checks passed
@hwbrzzl
hwbrzzl deleted the renovate/non-major-dependencies branch August 11, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant