Title: [Flaky CI]: Error in `test/reactrouter-cross-usage.test.tsx` · Issue #20199 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Flaky CI]: Error in `test/reactrouter-cross-usage.test.tsx` · Issue #20199 · getsentry/sentry-javascript
X Title: [Flaky CI]: Error in `test/reactrouter-cross-usage.test.tsx` · Issue #20199 · getsentry/sentry-javascript
Description: Flakiness Type Other / Unknown Name of Job Browser Unit Tests Name of Test packages/react/test/reactrouter-cross-usage.test.tsx Link to Test Run https://github.com/getsentry/sentry-javascript/actions/runs/24241618203/job/70778626111?pr=2...
Open Graph Description: Flakiness Type Other / Unknown Name of Job Browser Unit Tests Name of Test packages/react/test/reactrouter-cross-usage.test.tsx Link to Test Run https://github.com/getsentry/sentry-javascript/actio...
X Description: Flakiness Type Other / Unknown Name of Job Browser Unit Tests Name of Test packages/react/test/reactrouter-cross-usage.test.tsx Link to Test Run https://github.com/getsentry/sentry-javascript/actio...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/20199
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Flaky CI]: Error in `test/reactrouter-cross-usage.test.tsx`","articleBody":"### Flakiness Type\n\nOther / Unknown\n\n### Name of Job\n\nBrowser Unit Tests\n\n### Name of Test\n\npackages/react/test/reactrouter-cross-usage.test.tsx\n\n### Link to Test Run\n\nhttps://github.com/getsentry/sentry-javascript/actions/runs/24241618203/job/70778626111?pr=20198\n\n### Details\n```\n ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n \n Vitest caught 1 unhandled error during the test run.\n This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.\n \n ⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯\n TypeError: Cannot set properties of undefined (setting 'updateName')\n ❯ getActiveSpan test/reactrouter-cross-usage.test.tsx:85:12\n 83| const span = actual.getActiveSpan();\n 84| \n 85| span.updateName = mockNavigationSpan.updateName;\n | ^\n 86| span.setAttribute = mockNavigationSpan.setAttribute;\n 87| \n ❯ getActiveRootSpan src/reactrouter-compat-utils/utils.ts:313:16\n ❯ subscriber src/reactrouter-compat-utils/instrumentation.tsx:423:31\n ❯ forEach ../../node_modules/@remix-run/router/router.ts:1179:7\n ❯ updateState ../../node_modules/@remix-run/router/router.ts:1178:22\n ❯ completeNavigation ../../node_modules/@remix-run/router/router.ts:1311:5\n ❯ handleLoaders ../../node_modules/@remix-run/router/router.ts:1951:7\n ❯ startNavigation ../../node_modules/@remix-run/router/router.ts:1659:15\n ❯ Object.navigate ../../node_modules/@remix-run/router/router.ts:1441:18\n \n This error originated in \"test/reactrouter-cross-usage.test.tsx\" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.\n The latest test that might've caused the error is \"should create separate spans for same route with different params\". It might mean one of the following:\n - The error was thrown, while Vitest was running this test.\n - If the error occurred after the test had been completed, this was the last documented test before it was thrown.\n```","author":{"url":"https://github.com/s1gr1d","@type":"Person","name":"s1gr1d"},"datePublished":"2026-04-10T12:22:10Z","url":"https://github.com/getsentry/sentry-javascript/issues/20199"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9ebe6861-d041-c09b-47b9-43431c626e4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCCA:348A0B:4416F9:5EBAF8:6B049EE8 |
| html-safe-nonce | 26f6459fa64f69f2efc549e8dfbd505c3e9b1a2945f2a590650545b59fc12483 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0NBOjM0OEEwQjo0NDE2Rjk6NUVCQUY4OjZCMDQ5RUU4IiwidmlzaXRvcl9pZCI6IjYyNDA4ODcwMDUzMTI3NTMzODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 37f05b91313eab32ae5e1f627a8193cd945838aa5efb98967fd47f4cd9763925 |
| hovercard-subject-tag | issue:4239112500 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/20199/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02cbfef276209042b98a6359e839e1ef88084d04f27b9bb5c8e06b191728b85e/getsentry/sentry-javascript/issues/20199 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02cbfef276209042b98a6359e839e1ef88084d04f27b9bb5c8e06b191728b85e/getsentry/sentry-javascript/issues/20199 |
| og:image:alt | Flakiness Type Other / Unknown Name of Job Browser Unit Tests Name of Test packages/react/test/reactrouter-cross-usage.test.tsx Link to Test Run https://github.com/getsentry/sentry-javascript/actio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | s1gr1d |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width