Skip to content

fix(telemetry): bump semconv to v1.39 to match OTel SDK 1.40 schema URL#898

Merged
winton-library merged 1 commit into
mainfrom
daim/fix-telemetry-schema-url-conflict
Jun 1, 2026
Merged

fix(telemetry): bump semconv to v1.39 to match OTel SDK 1.40 schema URL#898
winton-library merged 1 commit into
mainfrom
daim/fix-telemetry-schema-url-conflict

Conversation

@zulkhair
Copy link
Copy Markdown
Contributor

@zulkhair zulkhair commented May 30, 2026

Summary

Fixes a runtime panic introduced when PR #894's OTel SDK bump (v1.38 → v1.40) made resource.Default() use schema URL v1.39.0 while pkg/telemetry/setup.go still imported semconv/v1.37.0. resource.Merge errors on conflicting schema URLs, so every cardinal shard panics on boot:

panic: failed to initialize telemetry: failed to setup telemetry:
  conflicting Schema URL: https://opentelemetry.io/schemas/1.39.0
                      and https://opentelemetry.io/schemas/1.37.0

Caught locally while testing the rampage-backend bump in Argus-Labs/rampage-backend#612 — every gameplay shard panicked at startup with the trace above.

Change

One-line import bump: semconv/v1.37.0semconv/v1.39.0. v1.39 is what OTel SDK 1.40's resource.Default() reports as its schema URL, so the merge succeeds.

The semconv subpackage ships inside go.opentelemetry.io/otel itself (already at v1.40.0 in go.mod), so no dependency churn.

Test plan

  • Built a rampage gameplay shard against this branch in the local _testing/ workspace — boots cleanly through telemetry init
  • Confirmed shard's OTel exporter still publishes spans to the operator's OTLP receiver after the bump
  • CI lint + tests

Copy link
Copy Markdown
Contributor Author


How to use the Graphite Merge Queue

Add the label graphite/merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@zulkhair zulkhair force-pushed the daim/fix-telemetry-schema-url-conflict branch from 285861a to 4958615 Compare May 30, 2026 12:20
@zulkhair zulkhair requested a review from winton-library May 30, 2026 12:23
@winton-library winton-library merged commit 9361356 into main Jun 1, 2026
8 checks passed
@winton-library winton-library deleted the daim/fix-telemetry-schema-url-conflict branch June 1, 2026 11:23
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.

2 participants