Repository navigation
test(e2e): Trim tracer provider variants down to node-express - #26385
Merged
Merged
Conversation
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>
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.
|
Contributor
Optional E2E testsAll optional checks were successful. 1 successful. See the run. Successful checks
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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
approved these changes
Nov 16, 2026
JPeer264
left a comment
Member
There was a problem hiding this comment.
That are a lot of variants we save. I love it, great catch.
51 tasks done
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
Removes the
(tracer provider)e2e variant (E2E_TEST_OTEL_SETUP=true) from every app exceptnode-express. Innode-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: trueexists for. Keeping one targeted variant is cheaper. It also removes a duplicate job name (node-express-staticreused thenode-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]