Skip to content

update to otel core 2.8#2105

Merged
toubatbrian merged 4 commits into
mainfrom
dz/update-deps
Jul 24, 2026
Merged

update to otel core 2.8#2105
toubatbrian merged 4 commits into
mainfrom
dz/update-deps

Conversation

@davidzhao

@davidzhao davidzhao commented Jul 24, 2026

Copy link
Copy Markdown
Member

updating dependencies and their usage

OpenTelemetry 2.x migration

  • Requires OpenTelemetry JS SDK 2.x and experimental packages 0.2xx.
  • Configure span processors through the provider's spanProcessors constructor option.
  • Custom providers must include telemetry.FanoutSpanProcessor and pass registerSpanProcessor to telemetry.setTracerProvider.
  • Provider shutdown now flushes pending spans and releases exporter resources.
  • The changeset is a minor release because SDK 1.x compatibility is intentionally removed.

Verification

Verified at 521730e4df1ea6ecfc5015ae9340000f4010e988:

  • 27 focused telemetry and voice-telemetry tests passed.
  • Full workspace typecheck and build passed.
  • Frozen lockfile install and formatting passed.
  • Changed-file lint passed with no new errors.
  • Built-package runtime smoke verified OTel 2 log metadata and dual trace export.
  • Independent spec-compliance and code-quality reviews approved.

Cue is not applicable because this change affects OTLP/log export rather than the voice event path; the direct OTel runtime boundary was verified instead.

@davidzhao
davidzhao requested a review from a team as a code owner July 24, 2026 05:08
@changeset-bot

changeset-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8b59433

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 39 packages
Name Type
@livekit/agents Major
@livekit/agents-plugin-anam Major
@livekit/agents-plugin-anthropic Major
@livekit/agents-plugin-assemblyai Major
@livekit/agents-plugin-azure Major
@livekit/agents-plugin-baseten Major
@livekit/agents-plugin-bey Major
@livekit/agents-plugin-cartesia Major
@livekit/agents-plugin-cerebras Major
@livekit/agents-plugin-deepgram Major
@livekit/agents-plugin-did Major
@livekit/agents-plugin-elevenlabs Major
@livekit/agents-plugin-fishaudio Major
@livekit/agents-plugin-google Major
@livekit/agents-plugin-hedra Major
@livekit/agents-plugin-hume Major
@livekit/agents-plugin-inworld Major
@livekit/agents-plugin-krisp Major
@livekit/agents-plugin-lemonslice Major
@livekit/agents-plugin-liveavatar Major
@livekit/agents-plugin-livekit Major
@livekit/agents-plugin-minimax Major
@livekit/agents-plugin-mistral Major
@livekit/agents-plugin-mistralai Major
@livekit/agents-plugin-neuphonic Major
@livekit/agents-plugin-openai Major
@livekit/agents-plugin-perplexity Major
@livekit/agents-plugin-phonic Major
@livekit/agents-plugin-protoface Major
@livekit/agents-plugin-resemble Major
@livekit/agents-plugin-rime Major
@livekit/agents-plugin-runway Major
@livekit/agents-plugin-sarvam Major
@livekit/agents-plugin-silero Major
@livekit/agents-plugin-soniox Major
@livekit/agents-plugin-tavus Major
@livekit/agents-plugins-test Major
@livekit/agents-plugin-trugen Major
@livekit/agents-plugin-xai Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@davidzhao
davidzhao requested review from toubatbrian and u9g July 24, 2026 05:30
toubatbrian and others added 2 commits July 23, 2026 23:37
Make the SDK requirement explicit, preserve default resource metadata, and verify processor lifecycle behavior before the minor release.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use a wall-clock deadline so timer-based retries cannot be starved by bounded event-loop spins.

Co-authored-by: Cursor <cursoragent@cursor.com>

@u9g u9g 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.

Overrides look correct, just a note about the one override, but it's not breaking anything.

Comment thread pnpm-workspace.yaml
'uuid@<11.1.1': ^11.1.1
'lodash@<4.18.0': ^4.18.0
'protobufjs@<7.6.5': ^7.6.5
'ws@>=8.0.0 <8.21.0': ^8.21.0

@u9g u9g Jul 24, 2026

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.

8.20.1 sits inside this override's range and gets bumped to ≥8.21.0, so the ws@8.20.1 entry in minimumReleaseAgeExclude (line 12) is now dead config — safe to delete along with its comment.

@toubatbrian
toubatbrian merged commit c4705a7 into main Jul 24, 2026
6 checks passed
@toubatbrian
toubatbrian deleted the dz/update-deps branch July 24, 2026 18:46
@github-actions github-actions Bot mentioned this pull request Jul 24, 2026
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