fix(deps): replace @opentelemetry/sdk-trace-web with @opentelemetry/sdk-trace#1428
Merged
Conversation
… typechecks non-caching
Contributor
Chrome DevTools Protocol Tracing (Script: 134.25ms, Heap: 13.82MB)
Lighthouse (Script Eval: 134.23ms)
Platform Tests (vite-7 es2015 gzip: 70.28KB)vite-6 Platform Tests
vite-7 Platform Tests
webpack-5 Platform Tests
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1428 +/- ##
==========================================
+ Coverage 96.69% 96.70% +0.01%
==========================================
Files 234 234
Lines 10079 10080 +1
Branches 1414 1415 +1
==========================================
+ Hits 9746 9748 +2
+ Misses 331 330 -1
Partials 2 2
🚀 New features to boost your workflow:
|
joaquin-diaz
approved these changes
Jul 14, 2026
overbalance
enabled auto-merge (squash)
July 14, 2026 12:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem is this solving?
At OpenTelemetry 2.9.0,
@opentelemetry/sdk-traceis the new core trace package that will replacesdk-trace-base(open-telemetry/opentelemetry-js#6775), and the span-processor constructors moved to a single options object:BatchSpanProcessor(#6817) andSimpleSpanProcessor(#6504).@opentelemetry/sdk-trace-webre-exports the base types through a compat shim that keeps the old positional signature. The SDK was pulling its base types and processors through the web package, which left it on the shimmed path and on the positional constructor form.Short description of the changes
ReadableSpan,SpanProcessor,SpanExporter,BatchSpanProcessor,SimpleSpanProcessor,ConsoleSpanExporter,InMemorySpanExporter,TracerProvider) from@opentelemetry/sdk-traceinstead of@opentelemetry/sdk-trace-web, across SDK source, tests, demo, README, and the integration platforms.sdk-trace-webis kept only for the genuinely web-specificWebTracerProvider,StackContextManager, and DocumentLoad performance utilities.new BatchSpanProcessor({ exporter }),new SimpleSpanProcessor({ exporter })).@opentelemetry/sdk-traceas a direct dependency, drop the now-unused@opentelemetry/web-common, remove@opentelemetry/sdk-trace-webfrom each integration platform's dependencies, and regenerateTHIRD_PARTY_NOTICES.txt.check(tsc) scripts to the integration and performance test workspaces, so their typechecks are no longer masked by stale build-mode caches.EmbraceSessionPartBatchedSpanProcessorreliance on the unstableinternal._exportAPI.How was this tested?
npm run check(typecheck + eslint) passes across all workspaces.npm run buildsucceeds;attwreports no type problems.Checklist