René's URL Explorer Experiment


Title: ref(tracing): Split `@sentry/tracing` into runtime specific packages · Issue #5815 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref(tracing): Split `@sentry/tracing` into runtime specific packages · Issue #5815 · getsentry/sentry-javascript

X Title: ref(tracing): Split `@sentry/tracing` into runtime specific packages · Issue #5815 · getsentry/sentry-javascript

Description: Problem Statement After some discussions around supporting newer JavaScript runtimes (#5611) @lforst pointed out the first thing that needs tackling is @sentry/tracing! This package currently contains: Runtime agnostic code used to add t...

Open Graph Description: Problem Statement After some discussions around supporting newer JavaScript runtimes (#5611) @lforst pointed out the first thing that needs tackling is @sentry/tracing! This package currently conta...

X Description: Problem Statement After some discussions around supporting newer JavaScript runtimes (#5611) @lforst pointed out the first thing that needs tackling is @sentry/tracing! This package currently conta...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5815

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ref(tracing): Split `@sentry/tracing` into runtime specific packages","articleBody":"### Problem Statement\n\nAfter some discussions around supporting newer JavaScript runtimes (#5611) @lforst pointed out the first thing that needs tackling is `@sentry/tracing`! \n\nThis package currently contains:\n- Runtime agnostic code used to add transaction support to the hub\n- Browser specific instrumentation code\n- Node.js specific instrumentation code \n\n#### Goal: Remove the tracing package, move stuff into core/browser/node\n\n### Solution Brainstorm\n\nIt looks like the runtime agnostic code can safely be moved to `@sentry/core` without affecting bundle sizes since if it goes unused it gets tree-shaken.\n\nThe runtime specific code could be moved into [package exports](https://webpack.js.org/guides/package-exports/) under the specific runtime, ie. `@sentry/browser/tracing` and `@sentry/node/tracing`. We've [been using this in the Electron SDK](https://github.com/getsentry/sentry-electron/blob/aaf65dbb49735c662adbd45dcc618ba45bc8004d/package.json#L8-L25) for a while to keep bundlers happy with the two different contexts we run in. We can't export the tracing code at the root of the packages since importing tracing has side-effects! \n\nI haven't marked this issue as `Breaking` yet because I think it would be possible to move this code while keeping `@sentry/tracing` as a stub that would simply re-export the moved code. `@sentry/tracing` would have to depend on both `@sentry/browser` and `@sentry/node` so I'm not sure how viable this is yet or if it's worth that extra step 🤔\n\n\n```[tasklist]\n### Tasks\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7091\n- [ ] https://github.com/getsentry/sentry-javascript/pull/7345\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7342\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7346\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7340\n```\n\n```[tasklist]\n### Cleanup\n- [ ] https://github.com/getsentry/sentry-docs/issues/6518\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7586\n```","author":{"url":"https://github.com/timfish","@type":"Person","name":"timfish"},"datePublished":"2022-09-26T11:03:24Z","url":"https://github.com/getsentry/sentry-javascript/issues/5815"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d843c810-4a6c-bd64-5437-0b623b95d93b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8692:1FAF:FD37F4:15140D1:6B040ECF
html-safe-nonce6e15970f32c446fd50affaf6b0c866508943597094c1b713750b1c61cf660cb1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjkyOjFGQUY6RkQzN0Y0OjE1MTQwRDE6NkIwNDBFQ0YiLCJ2aXNpdG9yX2lkIjoiNjE5MjM5MDY4MjczNzY0MzIxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac79322e6ae2df3afc3ccd79d06d317d10b457239362bd62af8e58ccd91f31fc6f
hovercard-subject-tagissue:1385868578
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5815/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bec5e17dd01a6b163b8f65d149135a4747c13c40f11461ef49f6b76a0da949c0/getsentry/sentry-javascript/issues/5815
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bec5e17dd01a6b163b8f65d149135a4747c13c40f11461ef49f6b76a0da949c0/getsentry/sentry-javascript/issues/5815
og:image:altProblem Statement After some discussions around supporting newer JavaScript runtimes (#5611) @lforst pointed out the first thing that needs tackling is @sentry/tracing! This package currently conta...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimfish
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/5815#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F5815
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%2Fissues%2F5815
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/5815
Reloadhttps://github.com/getsentry/sentry-javascript/issues/5815
Reloadhttps://github.com/getsentry/sentry-javascript/issues/5815
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests58 (58)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
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/5815
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/5815
ref(tracing): Split @sentry/tracing into runtime specific packageshttps://github.com/getsentry/sentry-javascript/issues/5815#top
https://github.com/timfish
https://github.com/AbhiPrasad
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
https://github.com/timfish
timfishhttps://github.com/timfish
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#issue-1385868578
#5611https://github.com/getsentry/sentry-javascript/issues/5611
@lforsthttps://github.com/lforst
package exportshttps://webpack.js.org/guides/package-exports/
been using this in the Electron SDKhttps://github.com/getsentry/sentry-electron/blob/aaf65dbb49735c662adbd45dcc618ba45bc8004d/package.json#L8-L25
Nexthttps://github.com/getsentry/sentry-javascript/issues/5815?timeline_page=1
timfishhttps://github.com/timfish
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
Package: tracinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20tracing%22
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7457714082
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7457714297
AbhiPrasadhttps://github.com/AbhiPrasad
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7457955513
AbhiPrasadhttps://github.com/AbhiPrasad
JS Multiple Runtime Supporthttps://github.com/getsentry/sentry-javascript/milestone/21
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7457955976
https://github.com/lforst
lforsthttps://github.com/lforst
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1258309921
#5611 (comment)https://github.com/getsentry/sentry-javascript/issues/5611#issuecomment-1258253097
https://github.com/timfish
timfishhttps://github.com/timfish
on Sep 26, 2022https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1258333511
https://github.com/timfish
timfishhttps://github.com/timfish
on Sep 27, 2022https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1260027777
AbhiPrasadhttps://github.com/AbhiPrasad
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
on Oct 4, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7518187492
AbhiPrasadhttps://github.com/AbhiPrasad
JS Multiple Runtime Supporthttps://github.com/getsentry/sentry-javascript/milestone/21
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
on Oct 4, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7518189568
https://github.com/timfish
timfishhttps://github.com/timfish
on Oct 5, 2022https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1268636753
PR on my forkhttps://github.com/timfish/sentry-javascript/pull/1
github-actionshttps://github.com/apps/github-actions
Status: Stalehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Stale%22
on Oct 27, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7677641363
lobsterkatiehttps://github.com/lobsterkatie
Status: In Progresshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20In%20Progress%22
Status: Stalehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Stale%22
on Oct 27, 2022https://github.com/getsentry/sentry-javascript/issues/5815#event-7678033477
AbhiPrasadhttps://github.com/AbhiPrasad
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
on Mar 6, 2023https://github.com/getsentry/sentry-javascript/issues/5815#event-8672816116
AbhiPrasadhttps://github.com/AbhiPrasad
timfishhttps://github.com/timfish
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 6, 2023https://github.com/getsentry/sentry-javascript/issues/5815#event-8674182036
AbhiPrasadhttps://github.com/AbhiPrasad
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
on Mar 7, 2023https://github.com/getsentry/sentry-javascript/issues/5815#event-8688045004
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 7, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1458486675
#7345https://github.com/getsentry/sentry-javascript/pull/7345
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 7, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1458492323
#7372https://github.com/getsentry/sentry-javascript/pull/7372
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 9, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1461858018
https://github.com/mydea
mydeahttps://github.com/mydea
on Mar 9, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1461993917
https://github.com/timfish
timfishhttps://github.com/timfish
on Mar 10, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1463675411
issues like thishttps://github.com/getsentry/sentry-electron/issues/637#issuecomment-1429908771
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 10, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1463681652
https://github.com/timfish
timfishhttps://github.com/timfish
on Mar 13, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1467041153
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 14, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1467706173
@timfishhttps://github.com/timfish
https://github.com/timfish
timfishhttps://github.com/timfish
on Mar 17, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1473740645
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 23, 2023https://github.com/getsentry/sentry-javascript/issues/5815#issuecomment-1480936427
getsentry/sentry-docs#6518https://github.com/getsentry/sentry-docs/issues/6518
#7586https://github.com/getsentry/sentry-javascript/issues/7586
AbhiPrasadhttps://github.com/AbhiPrasad
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 23, 2023https://github.com/getsentry/sentry-javascript/issues/5815#event-8825706345
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/5815
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/5815
AbhiPrasadhttps://github.com/AbhiPrasad
timfishhttps://github.com/timfish
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.