René's URL Explorer Experiment


Title: feat(core)!: Pass root spans to `beforeSendSpan` and disallow returning `null` by chargome · Pull Request #14831 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(core)!: Pass root spans to `beforeSendSpan` and disallow returning `null` by chargome · Pull Request #14831 · getsentry/sentry-javascript

X Title: feat(core)!: Pass root spans to `beforeSendSpan` and disallow returning `null` by chargome · Pull Request #14831 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Disallows returning null from beforeSendSpan Passes root spans to beforeSendSpan Adds entry to migration guide and changelog Looked at two options for passing the root span: Within the SentrySp...

X Description: Disallows returning null from beforeSendSpan Passes root spans to beforeSendSpan Adds entry to migration guide and changelog Looked at two options for passing the root span: Within the SentrySp...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/14831

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:14a2988b-a767-b416-e699-fc6e66ef3f65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE52:15BD99:1D014AC:28DA409:6B073281
html-safe-noncec17b5cd9bbf8d6496fcbe8bf0a6aa87991b46b18699399fe4b57eb245bb9f1b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTUyOjE1QkQ5OToxRDAxNEFDOjI4REE0MDk6NkIwNzMyODEiLCJ2aXNpdG9yX2lkIjoiODc2OTc4NzE1MjQ3NDUxODE0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8cbb3236b39cde6aabe62f4b8e0ab717c2da52e7ceee16f8806f63d442e5184a
hovercard-subject-tagpull_request:2249587848
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/14831/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bbfa9e821409b0861c7c007e9e7180bd4229e423dad573c68af861e1845ef0b3/getsentry/sentry-javascript/pull/14831
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bbfa9e821409b0861c7c007e9e7180bd4229e423dad573c68af861e1845ef0b3/getsentry/sentry-javascript/pull/14831
og:image:altDisallows returning null from beforeSendSpan Passes root spans to beforeSendSpan Adds entry to migration guide and changelog Looked at two options for passing the root span: Within the SentrySp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
None2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release345c27626db08417fdfc84278a4415ae9a48d8f3
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/14831#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F14831
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F14831
Sign uphttps://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
Reloadhttps://github.com/getsentry/sentry-javascript/pull/14831
Reloadhttps://github.com/getsentry/sentry-javascript/pull/14831
Reloadhttps://github.com/getsentry/sentry-javascript/pull/14831
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests57 (57)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/disallow-dropping-in-beforesendspanhttps://github.com/getsentry/sentry-javascript/tree/cg/disallow-dropping-in-beforesendspan
Conversationhttps://github.com/getsentry/sentry-javascript/pull/14831
Commits13 (13)https://github.com/getsentry/sentry-javascript/pull/14831/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/14831/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/14831/files
feat(core)!: Pass root spans to beforeSendSpan and disallow returning nullhttps://github.com/getsentry/sentry-javascript/pull/14831#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/disallow-dropping-in-beforesendspanhttps://github.com/getsentry/sentry-javascript/tree/cg/disallow-dropping-in-beforesendspan
https://github.com/chargome
chargomehttps://github.com/chargome
Dec 23, 2024https://github.com/getsentry/sentry-javascript/pull/14831#issue-2756137926
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
#14336https://github.com/getsentry/sentry-javascript/issues/14336
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
https://github.com/chargome
no null return in beforeSendSpanhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/7c3a0bbd39bcf2e0a8aad2cbe4a3abd9f50301c7
7c3a0bbhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/7c3a0bbd39bcf2e0a8aad2cbe4a3abd9f50301c7
https://github.com/chargome
chargomehttps://github.com/chargome
Dec 23, 2024https://github.com/getsentry/sentry-javascript/pull/14831#event-15748641478
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 23, 2024https://github.com/getsentry/sentry-javascript/pull/14831#issuecomment-2559780479
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/12669389398
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
chargomehttps://github.com/chargome
December 30, 2024 16:24https://github.com/getsentry/sentry-javascript/pull/14831#commits-pushed-eaa6d88
https://github.com/chargome
add convertTransactionEventToSpanJsonhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/eaa6d886cba92f8b5dda276ee8dc25cc0b2224c8
eaa6d88https://github.com/getsentry/sentry-javascript/pull/14831/commits/eaa6d886cba92f8b5dda276ee8dc25cc0b2224c8
https://github.com/chargome
pass root span to beforeSendSpanhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/af0c0c50c496e69ada01ffdded0fd6e0ad955c03
af0c0c5https://github.com/getsentry/sentry-javascript/pull/14831/commits/af0c0c50c496e69ada01ffdded0fd6e0ad955c03
https://github.com/chargome
add migration entryhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/37534eb6ab15059f253d0782598e7878dd85f2da
37534ebhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/37534eb6ab15059f253d0782598e7878dd85f2da
https://github.com/chargome
Merge branch 'develop' into cg/disallow-dropping-in-beforesendspanhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/c1a5ea8073709f4bba5eec211256906810248490
c1a5ea8https://github.com/getsentry/sentry-javascript/pull/14831/commits/c1a5ea8073709f4bba5eec211256906810248490
https://github.com/chargome
chargomehttps://github.com/chargome
December 31, 2024 11:55https://github.com/getsentry/sentry-javascript/pull/14831#event-15790009203
chargomehttps://github.com/chargome
January 2, 2025 10:26https://github.com/getsentry/sentry-javascript/pull/14831#commits-pushed-bbd3e8c
https://github.com/chargome
format mdhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/bbd3e8cde741e69ee91b8cc0b441f5d31a5b91e7
bbd3e8chttps://github.com/getsentry/sentry-javascript/pull/14831/commits/bbd3e8cde741e69ee91b8cc0b441f5d31a5b91e7
https://github.com/chargome
biomehttps://github.com/getsentry/sentry-javascript/pull/14831/commits/e5facf351b960f0ba2eadcc52048a73aa386a7ce
e5facf3https://github.com/getsentry/sentry-javascript/pull/14831/commits/e5facf351b960f0ba2eadcc52048a73aa386a7ce
https://github.com/chargome
chargomehttps://github.com/chargome
Lms24https://github.com/Lms24
mydeahttps://github.com/mydea
January 2, 2025 12:14https://github.com/getsentry/sentry-javascript/pull/14831#event-15798199574
https://github.com/Lms24
Lms24https://github.com/Lms24
Jan 2, 2025 https://github.com/getsentry/sentry-javascript/pull/14831#pullrequestreview-2527511785
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/14831/files/e5facf351b960f0ba2eadcc52048a73aa386a7ce
Lms24https://github.com/Lms24
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
https://github.com/getsentry/sentry-javascript/pull/14831#pullrequestreview-2527511785
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
packages/core/test/lib/baseclient.test.tshttps://github.com/getsentry/sentry-javascript/pull/14831/files/e5facf351b960f0ba2eadcc52048a73aa386a7ce#diff-b0c8e052f8495650bdc4583e52f129f5a36f3425cd9a5b4a8b11645e2365d3b3
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
packages/core/src/utils/transactionEvent.tshttps://github.com/getsentry/sentry-javascript/pull/14831/files/e5facf351b960f0ba2eadcc52048a73aa386a7ce#diff-1f47c091ba81922ac7e0649a70f79b39a2164bc6fc7425c7c7bc392dc7448dfb
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
packages/core/src/baseclient.tshttps://github.com/getsentry/sentry-javascript/pull/14831/files/e5facf351b960f0ba2eadcc52048a73aa386a7ce#diff-9b99586572e171cbe9f43e400ce8c631dfc032990c52e95632fc488dde6b1cf4
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
chargomehttps://github.com/chargome
January 2, 2025 14:05https://github.com/getsentry/sentry-javascript/pull/14831#commits-pushed-d625cde
https://github.com/chargome
apply feedback for checking undefined measurementshttps://github.com/getsentry/sentry-javascript/pull/14831/commits/d625cdea73748a92d1179354ccb2055c43446f42
d625cdehttps://github.com/getsentry/sentry-javascript/pull/14831/commits/d625cdea73748a92d1179354ccb2055c43446f42
https://github.com/chargome
merge processed eventhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/3de5d06cdf42fac03801b969b263ba2e6a84c859
3de5d06https://github.com/getsentry/sentry-javascript/pull/14831/commits/3de5d06cdf42fac03801b969b263ba2e6a84c859
https://github.com/chargome
biomehttps://github.com/getsentry/sentry-javascript/pull/14831/commits/2295f648930bd42391b28df3b8bcbac5c0233b75
2295f64https://github.com/getsentry/sentry-javascript/pull/14831/commits/2295f648930bd42391b28df3b8bcbac5c0233b75
https://github.com/chargome
set is_segmet to true for root spanshttps://github.com/getsentry/sentry-javascript/pull/14831/commits/de85def0093f85f41e3efbf9f0236516b88f2fda
de85defhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/de85def0093f85f41e3efbf9f0236516b88f2fda
https://github.com/chargome
chargomehttps://github.com/chargome
Jan 2, 2025 https://github.com/getsentry/sentry-javascript/pull/14831#ref-pullrequest-2766217584
docs(v9/js): Update beforeSendSpan documentation getsentry/sentry-docs#12233 https://github.com/getsentry/sentry-docs/pull/12233
https://github.com/chargome
chargomehttps://github.com/chargome
Lms24https://github.com/Lms24
January 3, 2025 13:23https://github.com/getsentry/sentry-javascript/pull/14831#event-15807490387
https://github.com/Lms24
Lms24https://github.com/Lms24
Jan 7, 2025 https://github.com/getsentry/sentry-javascript/pull/14831#pullrequestreview-2534452310
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/14831/files/de85def0093f85f41e3efbf9f0236516b88f2fda
packages/core/src/baseclient.tshttps://github.com/getsentry/sentry-javascript/pull/14831/files/de85def0093f85f41e3efbf9f0236516b88f2fda#diff-9b99586572e171cbe9f43e400ce8c631dfc032990c52e95632fc488dde6b1cf4
Lms24https://github.com/Lms24
Jan 7, 2025https://github.com/getsentry/sentry-javascript/pull/14831#discussion_r1905521142
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
chargomehttps://github.com/chargome
Jan 8, 2025https://github.com/getsentry/sentry-javascript/pull/14831#discussion_r1907512850
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
chargomehttps://github.com/chargome
January 8, 2025 18:41https://github.com/getsentry/sentry-javascript/pull/14831#commits-pushed-373734d
https://github.com/chargome
Merge branch 'develop' into cg/disallow-dropping-in-beforesendspanhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/373734ddbd689fd20b698e9f6f4f697c197a9c88
373734dhttps://github.com/getsentry/sentry-javascript/pull/14831/commits/373734ddbd689fd20b698e9f6f4f697c197a9c88
https://github.com/chargome
update client testshttps://github.com/getsentry/sentry-javascript/pull/14831/commits/feae885a61a708e3d8b3fe5911a4492c4ebeba4e
feae885https://github.com/getsentry/sentry-javascript/pull/14831/commits/feae885a61a708e3d8b3fe5911a4492c4ebeba4e
https://github.com/chargome
chargomehttps://github.com/chargome
d4e94fehttps://github.com/getsentry/sentry-javascript/commit/d4e94fef43b0aa780cf2b31d24ddfa4ec9ec879e
Jan 8, 2025https://github.com/getsentry/sentry-javascript/pull/14831#event-15857835385
https://github.com/chargome
chargomehttps://github.com/chargome
January 8, 2025 18:05https://github.com/getsentry/sentry-javascript/pull/14831#event-15857835870
docs(core): Fix docs for beforeSendSpan #16129 https://github.com/getsentry/sentry-javascript/pull/16129
Add option to drop resource.X spans in browserTracingIntegration #16131 https://github.com/getsentry/sentry-javascript/issues/16131
s1gr1dhttps://github.com/s1gr1d
Apr 25, 2025 https://github.com/getsentry/sentry-javascript/pull/14831#ref-commit-8131751
https://github.com/s1gr1d
https://github.com/mydea
docs(core): Fix docs forhttps://github.com/getsentry/sentry-javascript/commit/8131751d9d551a55329071b46ca28327ca761420
beforeSendSpanhttps://github.com/getsentry/sentry-javascript/commit/8131751d9d551a55329071b46ca28327ca761420
(https://github.com/getsentry/sentry-javascript/commit/8131751d9d551a55329071b46ca28327ca761420
#16129https://github.com/getsentry/sentry-javascript/pull/16129
)https://github.com/getsentry/sentry-javascript/commit/8131751d9d551a55329071b46ca28327ca761420
8131751https://github.com/getsentry/sentry-javascript/commit/8131751d9d551a55329071b46ca28327ca761420
#14831https://github.com/getsentry/sentry-javascript/pull/14831
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F14831
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/14831/files/de85def0093f85f41e3efbf9f0236516b88f2fda
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
https://github.com/chargome
chargome https://github.com/chargome
[v9] Disallow returning null from beforeSendSpan and also pass root spans https://github.com/getsentry/sentry-javascript/issues/14336
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/14831
https://github.com/chargome
https://github.com/Lms24
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.