Skip to content

test(e2e): Trim tracer provider variants down to node-express - #26385

Merged
mydea merged 2 commits into
developfrom
test/e2e-trim-tracer-provider-variants
Nov 16, 2026
Merged

mydea merged 2 commits into
developfrom
test/e2e-trim-tracer-provider-variants

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

What

Removes the (tracer provider) e2e variant (E2E_TEST_OTEL_SETUP=true) from every app except node-express. In node-express, the variant now gets a route that creates spans through @opentelemetry/api.

Why

The variants came in with #22957 when node stopped registering a tracer provider by default. They reran each suite unchanged and never touched OTel API spans, which is what enableOpenTelemetrySetup: true exists for. Keeping one targeted variant is cheaper. It also removes a duplicate job name (node-express-static reused the node-express (tracer provider) label).

Open question: Nuxt may need its own variant again later, since Nitro bundles @opentelemetry/api. We're leaving it out for now.

via @mydea.

--

View Session [Sentry]

Drop the "(tracer provider)" variant from every app except node-express,
and add a test there that asserts spans started via @opentelemetry/api
end up as Sentry spans under the request span.

Co-Authored-By: Francesco Gringl-Novy <2411343+mydea@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 4605f2f (PR test merge using develop at b1e12e3)

Against: b1e12e3 (develop) · base run #66120

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 30.1 kB - -
@sentry/browser - with treeshaking flags 28.3 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.2 kB - -
@sentry/browser (incl. Tracing) 52.28 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.29 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.25 kB - -
@sentry/browser (incl. Tracing, Replay) 92.82 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.6 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 97.21 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 110.6 kB - -
@sentry/browser (incl. Feedback) 47.73 kB - -
@sentry/browser (incl. sendFeedback) 30.69 kB - -
@sentry/browser (incl. FeedbackAsync) 35.69 kB - -
@sentry/browser (incl. Metrics) 31.43 kB - -
@sentry/browser (incl. Logs) 31.71 kB - -
@sentry/browser (incl. Metrics & Logs) 32.37 kB - -
@sentry/react 32.11 kB - -
@sentry/react (incl. Tracing) 54.95 kB - -
@sentry/vue 38.3 kB - -
@sentry/vue (incl. Tracing) 55.24 kB - -
@sentry/svelte 30.12 kB - -
@sentry/remix (Remix 3 client bundle) 58.06 kB - -
CDN Bundle 31.87 kB - -
CDN Bundle (incl. Tracing) 52.7 kB - -
CDN Bundle (incl. Logs, Metrics) 34.67 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.26 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 75.7 kB - -
CDN Bundle (incl. Tracing, Replay) 90.72 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.33 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96.09 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.69 kB - -
CDN Bundle - uncompressed 92.98 kB - -
CDN Bundle (incl. Tracing) - uncompressed 155.45 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 101.33 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 163.08 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 231.44 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 275.61 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 283.24 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 287.4 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 295.02 kB - -
@sentry/nextjs (client) 58.37 kB - -
@sentry/sveltekit (client) 53.48 kB - -
@sentry/core/server 44.73 kB - -
@sentry/core/browser 14.3 kB - -
@sentry/node 150.45 kB -0.01% -11 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.3 kB - -
@sentry/node - without tracing 88.55 kB -0.01% -4 B 🔽
@sentry/node - without channel injection 139.42 kB -0.01% -7 B 🔽
@sentry/aws-serverless 98.46 kB -0.01% -3 B 🔽
@sentry/cloudflare (withSentry) - minified 205.19 kB - -
@sentry/cloudflare (withSentry) 475.96 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 230.5 kB - -

View base workflow run

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Optional E2E tests

All optional checks were successful. 1 successful. See the run.

Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 30s Details

@mydea
mydea marked this pull request as ready for review November 16, 2026 09:34
@mydea
mydea requested review from a team and JPeer264 November 16, 2026 09:34
@sentry-junior
sentry-junior Bot requested a review from mydea November 16, 2026 09:34

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 80347e4. Configure here.

@JPeer264 JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That are a lot of variants we save. I love it, great catch.

@mydea
mydea merged commit c0501fc into develop Nov 16, 2026
59 checks passed
@mydea
mydea deleted the test/e2e-trim-tracer-provider-variants branch November 16, 2026 09:53
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