test(e2e): Port React Router v5 and v6 E2E apps to span streaming - #23841
Open
andreiborza wants to merge 2 commits into
Open
test(e2e): Port React Router v5 and v6 E2E apps to span streaming#23841andreiborza wants to merge 2 commits into
andreiborza wants to merge 2 commits into
Conversation
Removes the `traceLifecycle: 'static'` pin from `react-router-5`, `react-router-6`, `react-router-6-use-routes` and `react-router-6-descendant-routes`, and rewrites their specs against streamed span v2. The `react-router-6` SSE spec needed more than a helper swap: streamed `http.client` names carry only the domain, so the request is matched on `url.full`, and the abort error is read off the console because spans carry no breadcrumbs.
andreiborza
marked this pull request as ready for review
September 1, 2026 14:17
Contributor
size-limit report 📦
|
Lms24
approved these changes
Sep 1, 2026
| 'sentry.origin': { value: 'auto.navigation.react.reactrouter_v6', type: 'string' }, | ||
| 'sentry.segment.name.source': { value: 'route', type: 'string' }, | ||
| 'url.template': { value: '/bar/:barId', type: 'string' }, | ||
| 'url.path': { value: '/bar/456', type: 'string' }, |
Member
There was a problem hiding this comment.
super-l: should we also assert against url.full here? Just noticed we do so below but feel free to skip
Member
Author
There was a problem hiding this comment.
Added it, the original test omitted it there but there is no reason to.
chargome
approved these changes
Sep 1, 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
Ports
react-router-5,react-router-6,react-router-6-use-routesandreact-router-6-descendant-routesto span streaming.Why
Span streaming is the default now, so the E2E suite has to exercise it. The SSE spec needed more than a helper swap: a streamed
http.clientspan carries only the domain in its name, so the request is matched onurl.full, and the abort error is read off the console because spans carry no breadcrumbs.Part of #23798