| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:60b7a534-b7f7-5114-910a-0bbd2294383f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 90D6:213B67:18F53F:2188D1:6B043784 |
| html-safe-nonce | 56b45fc286b47a3354231406c5e7be24b129c9b3dca8c4a36b0456efb091aec8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEQ2OjIxM0I2NzoxOEY1M0Y6MjE4OEQxOjZCMDQzNzg0IiwidmlzaXRvcl9pZCI6IjcwOTMzNzMzNDQyNDYxNTEwNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dae2ff32795c1b3547383adcaae838adb3c727351c1db269ea87d25a19326035 |
| hovercard-subject-tag | pull_request:4937729715 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/25566/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5bcce4c74f14851ceffc7c942b9a6814b2fb152e5726f1c6600ba78bfd7dd50d/getsentry/sentry-javascript/pull/25566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5bcce4c74f14851ceffc7c942b9a6814b2fb152e5726f1c6600ba78bfd7dd50d/getsentry/sentry-javascript/pull/25566 |
| og:image:alt | Fixes #25545
Problem
Setting beforeSendSpan — even an identity callback (span) => span — drops the root span's contexts.trace.links from every transaction, so the previous_trace link is lost... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chiliec |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-cache |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/25566#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F25566 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F25566 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/25566 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/25566 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/25566 |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues340 (340) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests55 (55) | https://github.com/getsentry/sentry-javascript/pulls |
| Discussions | https://github.com/getsentry/sentry-javascript/discussions |
| Actions | https://github.com/getsentry/sentry-javascript/actions |
| Security and quality7 (7) | https://github.com/getsentry/sentry-javascript/security |
| Insights | https://github.com/getsentry/sentry-javascript/insights |
| https://github.com/getsentry/sentry-javascript |
| nicohrubec | https://github.com/nicohrubec |
| getsentry:develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| chiliec:fix/beforesendspan-drops-span-links | https://github.com/chiliec/sentry-javascript/tree/fix/beforesendspan-drops-span-links |
| Conversation | https://github.com/getsentry/sentry-javascript/pull/25566 |
| Commits4 (4) | https://github.com/getsentry/sentry-javascript/pull/25566/commits |
| Checks | https://github.com/getsentry/sentry-javascript/pull/25566/checks |
| Files changed | https://github.com/getsentry/sentry-javascript/pull/25566/files |
| fix(core): preserve span links through beforeSendSpan | https://github.com/getsentry/sentry-javascript/pull/25566#top |
| nicohrubec | https://github.com/nicohrubec |
| getsentry:develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| chiliec:fix/beforesendspan-drops-span-links | https://github.com/chiliec/sentry-javascript/tree/fix/beforesendspan-drops-span-links |
|
| https://github.com/chiliec |
| chiliec | https://github.com/chiliec |
| Oct 20, 2026 | https://github.com/getsentry/sentry-javascript/pull/25566#issue-5944031512 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| #25545 | https://github.com/getsentry/sentry-javascript/issues/25545 |
| @arobison | https://github.com/arobison |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
external
| https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3Aexternal |
| Oct 20, 2026 | https://github.com/getsentry/sentry-javascript/pull/25566#event-33754358999 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Oct 20, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5586989185 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/25566/files |
| cursor | https://github.com/apps/cursor |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5586989185 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| packages/core/test/lib/utils/transactionEvent.test.ts | https://github.com/getsentry/sentry-javascript/pull/25566/files#diff-04579e70acda4f16132bcc50455656b07877de3f97c7b386994c08e0d40a1145 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/logaretm |
| logaretm | https://github.com/logaretm |
|
Oct 20, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5589615320 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/25566/files |
| logaretm | https://github.com/logaretm |
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5589615320 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| packages/core/test/lib/utils/transactionEvent.test.ts | https://github.com/getsentry/sentry-javascript/pull/25566/files#diff-04579e70acda4f16132bcc50455656b07877de3f97c7b386994c08e0d40a1145 |
| logaretm | https://github.com/logaretm |
| Oct 20, 2026 | https://github.com/getsentry/sentry-javascript/pull/25566#discussion_r4328610343 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| packages/core/test/lib/utils/transactionEvent.test.ts | https://github.com/getsentry/sentry-javascript/pull/25566/files#diff-04579e70acda4f16132bcc50455656b07877de3f97c7b386994c08e0d40a1145 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/chiliec |
| chiliec | https://github.com/chiliec |
| Oct 21, 2026 | https://github.com/getsentry/sentry-javascript/pull/25566#issuecomment-6308124172 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| chiliec | https://github.com/chiliec |
| November 2, 2026 15:55 | https://github.com/getsentry/sentry-javascript/pull/25566#commits-pushed-afabe44 |
|
| https://github.com/chiliec |
|
| https://github.com/logaretm |
| fix(core): preserve span links through beforeSendSpan | https://github.com/getsentry/sentry-javascript/pull/25566/commits/afabe44a39c6df1707b7ef9f3299fcb3e892bfd8 |
| afabe44 | https://github.com/getsentry/sentry-javascript/pull/25566/commits/afabe44a39c6df1707b7ef9f3299fcb3e892bfd8 |
| getsentry#25545 | https://github.com/getsentry/sentry-javascript/issues/25545 |
|
| https://github.com/chiliec |
|
| https://github.com/logaretm |
| test(core): assert span links on the sent transaction with beforeSend… | https://github.com/getsentry/sentry-javascript/pull/25566/commits/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
| 2ef36f4 | https://github.com/getsentry/sentry-javascript/pull/25566/commits/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
| https://github.com/logaretm |
| logaretm | https://github.com/logaretm |
| force-pushed | https://github.com/getsentry/sentry-javascript/compare/b54dd70227bf40606daa3f8a9db9f216ff02a6d4..2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
| b54dd70 | https://github.com/getsentry/sentry-javascript/commit/b54dd70227bf40606daa3f8a9db9f216ff02a6d4 |
| 2ef36f4 | https://github.com/getsentry/sentry-javascript/commit/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
|
Compare
| https://github.com/getsentry/sentry-javascript/compare/b54dd70227bf40606daa3f8a9db9f216ff02a6d4..2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
| November 2, 2026 20:55 | https://github.com/getsentry/sentry-javascript/pull/25566#event-34954378835 |
| https://github.com/logaretm |
| logaretm | https://github.com/logaretm |
| code owners | https://github.com/getsentry/sentry-javascript/blob/e6a7a4c1860865640f1f804199dbf358219e81d5/.github/CODEOWNERS#L2 |
| November 2, 2026 20:55 | https://github.com/getsentry/sentry-javascript/pull/25566#event-34954379029 |
| https://github.com/logaretm |
| logaretm | https://github.com/logaretm |
| andreiborza | https://github.com/andreiborza |
| isaacs | https://github.com/isaacs |
| logaretm | https://github.com/logaretm |
| msonnb | https://github.com/msonnb |
| nicohrubec | https://github.com/nicohrubec |
| s1gr1d | https://github.com/s1gr1d |
| November 2, 2026 20:55 | https://github.com/getsentry/sentry-javascript/pull/25566#event-34954380636 |
| https://github.com/logaretm |
| logaretm | https://github.com/logaretm |
|
Nov 2, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5743198817 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/25566/files/556dbc72cb88c50b42bd31f03f617e2f1f0c4180 |
| logaretm | https://github.com/logaretm |
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5743198817 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Nov 2, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5743242668 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/25566/files/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
| cursor | https://github.com/apps/cursor |
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5743242668 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aToyYWEwMDc5YS0zZDY0LTQ2YjEtYjJkNy1jYjJjMmNjMzA5MzciLCJlbmNyeXB0aW9uS2V5Ijoia2hPbEZ6Q2ZOaHBXZ25tZWRmVUZqNFowRUQyeDFHVjdPNFB6OU00X0pqUSIsImJyYW5jaCI6ImZpeC9iZWZvcmVzZW5kc3Bhbi1kcm9wcy1zcGFuLWxpbmtzIiwicmVwb093bmVyIjoiZ2V0c2VudHJ5IiwicmVwb05hbWUiOiJzZW50cnktamF2YXNjcmlwdCIsInByb3ZpZGVyIjoiZ2l0aHViIn19 |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot/repository-rules/11898?manageLearning=1 |
| Cursor Bugbot | https://cursor.com/bugbot |
| 2ef36f4 | https://github.com/getsentry/sentry-javascript/commit/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| packages/core/test/lib/client.test.ts | https://github.com/getsentry/sentry-javascript/pull/25566/files/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0#diff-e79bc4038039a6f4140bac84dc7576e6e16f7622aeeb2dbbeb37bac176ccbee6 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/nicohrubec |
| nicohrubec | https://github.com/nicohrubec |
|
Nov 3, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#pullrequestreview-5748788465 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/25566/files/556dbc72cb88c50b42bd31f03f617e2f1f0c4180 |
| nicohrubec | https://github.com/nicohrubec |
| November 3, 2026 09:05 | https://github.com/getsentry/sentry-javascript/pull/25566#commits-pushed-556dbc7 |
|
| https://github.com/nicohrubec |
| Merge branch 'develop' into fix/beforesendspan-drops-span-links | https://github.com/getsentry/sentry-javascript/pull/25566/commits/556dbc72cb88c50b42bd31f03f617e2f1f0c4180 |
| 556dbc7 | https://github.com/getsentry/sentry-javascript/pull/25566/commits/556dbc72cb88c50b42bd31f03f617e2f1f0c4180 |
|
| https://github.com/nicohrubec |
|
| https://github.com/codex |
| chore: Remove misplaced span links changelog entry | https://github.com/getsentry/sentry-javascript/pull/25566/commits/3c2572bb1c3bcadeddc6d70f9182e52033903055 |
| 3c2572b | https://github.com/getsentry/sentry-javascript/pull/25566/commits/3c2572bb1c3bcadeddc6d70f9182e52033903055 |
| https://github.com/nicohrubec |
| nicohrubec | https://github.com/nicohrubec |
| b61bd60 | https://github.com/getsentry/sentry-javascript/commit/b61bd60143a8806dc4f0e3721132f3e6cbecd02d |
| Nov 3, 2026 | https://github.com/getsentry/sentry-javascript/pull/25566#event-34997219439 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
| https://github.com/apps/sentry-release-bot |
| sentry-release-bot | https://github.com/apps/sentry-release-bot |
|
Nov 5, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#ref-issue-6223006180 |
|
publish: getsentry/sentry-javascript@11.11.0
getsentry/publish#10234
| https://github.com/getsentry/publish/issues/10234 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Nov 5, 2026
| https://github.com/getsentry/sentry-javascript/pull/25566#ref-issue-5933098944 |
|
Setting beforeSendSpan drops the root span's links from transactions (loses the previous_trace link)
#25545
| https://github.com/getsentry/sentry-javascript/issues/25545 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F25566 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-javascript/pull/25566/files/2ef36f4684cccdd6e2d1aef3ca40e9a8540299b0 |
|
| https://github.com/logaretm |
|
logaretm
| https://github.com/logaretm |
|
| https://github.com/getsentry/sentry-javascript/pull/25566/files/556dbc72cb88c50b42bd31f03f617e2f1f0c4180 |
|
| https://github.com/nicohrubec |
|
nicohrubec
| https://github.com/nicohrubec |
|
| https://github.com/getsentry/sentry-javascript/pull/25566/files/556dbc72cb88c50b42bd31f03f617e2f1f0c4180 |
|
| https://github.com/msonnb |
|
msonnb
| https://github.com/msonnb |
|
| https://github.com/isaacs |
|
isaacs
| https://github.com/isaacs |
|
| https://github.com/andreiborza |
|
andreiborza
| https://github.com/andreiborza |
|
| https://github.com/s1gr1d |
|
s1gr1d
| https://github.com/s1gr1d |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
|
external
| https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3Aexternal |
|
Setting beforeSendSpan drops the root span's links from transactions (loses the previous_trace link)
| https://github.com/getsentry/sentry-javascript/issues/25545 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/25566 |
|
| https://github.com/chiliec |
|
| https://github.com/logaretm |
|
| https://github.com/nicohrubec |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |