Repository navigation
test(e2e): Isolate the react-router-7 instrumentation double-instrumentation check - #26886
Merged
Merged
Conversation
…ntation check The check collected every http.server segment the event proxy received, so since React Router E2E tests run on four workers it also picked up segments from requests of other tests. Give it its own route and only collect the segments for that path. Co-Authored-By: Francesco Gringl-Novy <2411343+mydea@users.noreply.github.com>
Contributor
size-limit report 📦Compared: a182ef2 (PR test merge using develop at 910d793) Against: 910d793 (develop) · base run #67961 ✅ 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
|
mydea
approved these changes
Nov 25, 2026
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
The "sends exactly one http.server segment per request" check in
react-router-7-framework-instrumentationnow requests its own route,/performance/single-segment, and only collectshttp.serversegments for that path.Why
The check collected every
http.serversegment that the event proxy received. Since #26772 moved the React Router E2E apps to four workers, it also picks up segments from other tests that request/performanceat the same time, including the bareGETsegment of the/performance→/performance/301. A duplicate segment from double instrumentation has the sameurl.path, so filtering on the path still catches it.via @mydea.
--
View Session [Sentry]