chore(deps): replace deprecated OpenTelemetry trace SDK packages with @opentelemetry/sdk-trace
Merged
WA
1d ago+17+17+01234567890123456789-27-27-01234567890123456789
Summary
- Replace the deprecated
@opentelemetry/sdk-trace-baseand@opentelemetry/sdk-trace-nodedeps with@opentelemetry/sdk-trace2.10.0 (same version as our installed core/resources; it is whatsdk-trace-base2.10.0 already wraps, so there is still a single copy) BatchSpanProcessor/SimpleSpanProcessortake{ exporter, ... }, andBasicTracerProviderisTracerProviderin the new package- Every batch option is set explicitly, so the
OTEL_BSP_*env fallbacks the old wrapper read change nothing - Stays on
@opentelemetry/api1.9.x on purpose: OTel JS 3 requires api 1.10, while@trigger.dev/corepins api 1.9.1, and api 1.10 ignores a global registered by 1.9, so spans and logs inside Trigger runs would go to a no-op tracer. The 3.x jump waits for Trigger.dev support
Type of Change
- Chore (dependency maintenance)
Testing
route.test.ts,timing.test.ts,headless.test.ts,start.test.ts(32 tests) pass locally- biome on changed files; type-check,
check:audits, the full suite andreplay-budget.integration.tsrun in CI
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)