René's URL Explorer Experiment


Title: ref(nextjs): Use bundling instead of proxying to wrap pages and API routes by lforst · Pull Request #6685 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref(nextjs): Use bundling instead of proxying to wrap pages and API routes by lforst · Pull Request #6685 · getsentry/sentry-javascript

X Title: ref(nextjs): Use bundling instead of proxying to wrap pages and API routes by lforst · Pull Request #6685 · getsentry/sentry-javascript

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

Open Graph Description: Ref #6120 To automatically wrap data fetchers and API routes in the Next.js SDK we are currently using an approach we call "proxying". What this means is that we inject a webpack loader t...

X Description: Ref #6120 To automatically wrap data fetchers and API routes in the Next.js SDK we are currently using an approach we call "proxying". What this means is that we inject a webpack ...

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

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:946a803f-54d1-fd2a-e25e-22dab7224df9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB2DA:75E8D:4CD2A7:67A543:6B043C10
html-safe-nonce09f7134b7ac590d37cff502f746516498a68b299593a57e57cb26cf879071418
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkRBOjc1RThEOjRDRDJBNzo2N0E1NDM6NkIwNDNDMTAiLCJ2aXNpdG9yX2lkIjoiMTE1MDIxMjE2ODAxNzUyNTc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1281f579bb7f643624966de73a994b4a7c844691c32c70e55a0801eb19fd5581
hovercard-subject-tagpull_request:1189990372
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/6685/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/488f69260bce27c6f2a88552cd9ae7054bd47a51fc3e5a1dfe357eb592d18609/getsentry/sentry-javascript/pull/6685
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/488f69260bce27c6f2a88552cd9ae7054bd47a51fc3e5a1dfe357eb592d18609/getsentry/sentry-javascript/pull/6685
og:image:altRef #6120 To automatically wrap data fetchers and API routes in the Next.js SDK we are currently using an approach we call "proxying". What this means is that we inject a webpack loader t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/6685#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6685
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%2F6685
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/6685
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6685
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6685
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)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
lforsthttps://github.com/lforst
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-refactor-proxy-loaderhttps://github.com/getsentry/sentry-javascript/tree/lforst-refactor-proxy-loader
Conversationhttps://github.com/getsentry/sentry-javascript/pull/6685
Commits12 (12)https://github.com/getsentry/sentry-javascript/pull/6685/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/6685/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/6685/files
ref(nextjs): Use bundling instead of proxying to wrap pages and API routeshttps://github.com/getsentry/sentry-javascript/pull/6685#top
lforsthttps://github.com/lforst
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-refactor-proxy-loaderhttps://github.com/getsentry/sentry-javascript/tree/lforst-refactor-proxy-loader
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 8, 2023https://github.com/getsentry/sentry-javascript/pull/6685#issue-1524704474
#6120https://github.com/getsentry/sentry-javascript/issues/6120
issuehttps://github.com/getsentry/sentry-javascript/issues/5998
issuehttps://github.com/getsentry/sentry-javascript/issues/6118
#6118https://github.com/getsentry/sentry-javascript/issues/6118
#5998https://github.com/getsentry/sentry-javascript/issues/5998
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
January 8, 2023 21:48https://github.com/getsentry/sentry-javascript/pull/6685#commits-pushed-7e5765a
ref(nextjs): Use bundling instead of proxying to wrap pages and API r…https://github.com/getsentry/sentry-javascript/pull/6685/commits/7e5765a48a70e0873d8c8e9e719f67c16164778e
7e5765ahttps://github.com/getsentry/sentry-javascript/pull/6685/commits/7e5765a48a70e0873d8c8e9e719f67c16164778e
Rename templateshttps://github.com/getsentry/sentry-javascript/pull/6685/commits/a91da1660f0b6da860dcba8a49f69fd62bc7eb48
a91da16https://github.com/getsentry/sentry-javascript/pull/6685/commits/a91da1660f0b6da860dcba8a49f69fd62bc7eb48
Move wrapping function into loaderhttps://github.com/getsentry/sentry-javascript/pull/6685/commits/9fb471d47150111942d14defce69bf1c60a57df9
9fb471dhttps://github.com/getsentry/sentry-javascript/pull/6685/commits/9fb471d47150111942d14defce69bf1c60a57df9
Explain target module namehttps://github.com/getsentry/sentry-javascript/pull/6685/commits/89f5e79d94614c9ffe74b651180f46f3f4b37a93
89f5e79https://github.com/getsentry/sentry-javascript/pull/6685/commits/89f5e79d94614c9ffe74b651180f46f3f4b37a93
Rename proxyLoader to wrappingLoaderhttps://github.com/getsentry/sentry-javascript/pull/6685/commits/0ec7960fcb7db76b13e0f5faa403e4f4f7371b00
0ec7960https://github.com/getsentry/sentry-javascript/pull/6685/commits/0ec7960fcb7db76b13e0f5faa403e4f4f7371b00
Extract template reading out of loaderhttps://github.com/getsentry/sentry-javascript/pull/6685/commits/7af6c7b9f58e36dd88e3dd8a4dbff6566a0ffb62
7af6c7bhttps://github.com/getsentry/sentry-javascript/pull/6685/commits/7af6c7b9f58e36dd88e3dd8a4dbff6566a0ffb62
Fix source mappinghttps://github.com/getsentry/sentry-javascript/pull/6685/commits/14469f65284885eced651265409af0bcfdd39d3e
14469f6https://github.com/getsentry/sentry-javascript/pull/6685/commits/14469f65284885eced651265409af0bcfdd39d3e
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 9, 2023https://github.com/getsentry/sentry-javascript/pull/6685#issuecomment-1375333952
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
Merge remote-tracking branch 'origin/master' into lforst-refactor-pro…https://github.com/getsentry/sentry-javascript/pull/6685/commits/4a6acd77b225d9f1ca93b11dc6593aca6e60fc47
4a6acd7https://github.com/getsentry/sentry-javascript/pull/6685/commits/4a6acd77b225d9f1ca93b11dc6593aca6e60fc47
https://github.com/lforst
lforsthttps://github.com/lforst
January 9, 2023 09:54https://github.com/getsentry/sentry-javascript/pull/6685#event-8179967639
https://github.com/lforst
lforsthttps://github.com/lforst
Lms24https://github.com/Lms24
mydeahttps://github.com/mydea
January 9, 2023 09:57https://github.com/getsentry/sentry-javascript/pull/6685#event-8179994169
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 9, 2023https://github.com/getsentry/sentry-javascript/pull/6685#issuecomment-1375366035
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 9, 2023https://github.com/getsentry/sentry-javascript/pull/6685#issuecomment-1375445227
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 9, 2023 https://github.com/getsentry/sentry-javascript/pull/6685#pullrequestreview-1240308680
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6685/files/4a6acd77b225d9f1ca93b11dc6593aca6e60fc47
Merge remote-tracking branch 'origin/master' into lforst-refactor-pro…https://github.com/getsentry/sentry-javascript/pull/6685/commits/2be79a5fff239ebe4fe626f6611a036848ab059b
2be79a5https://github.com/getsentry/sentry-javascript/pull/6685/commits/2be79a5fff239ebe4fe626f6611a036848ab059b
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 9, 2023 https://github.com/getsentry/sentry-javascript/pull/6685#pullrequestreview-1240359294
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6685/files/2be79a5fff239ebe4fe626f6611a036848ab059b
https://github.com/Lms24
Lms24https://github.com/Lms24
Jan 9, 2023 https://github.com/getsentry/sentry-javascript/pull/6685#pullrequestreview-1240415803
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6685/files/2be79a5fff239ebe4fe626f6611a036848ab059b
January 10, 2023 13:20https://github.com/getsentry/sentry-javascript/pull/6685#commits-pushed-7ad52b9
Merge remote-tracking branch 'origin/master' into lforst-refactor-pro…https://github.com/getsentry/sentry-javascript/pull/6685/commits/7ad52b97e1542739c514d9cbf44fb81b0acaece5
7ad52b9https://github.com/getsentry/sentry-javascript/pull/6685/commits/7ad52b97e1542739c514d9cbf44fb81b0acaece5
ci: Add fail-fast: false to playwright testshttps://github.com/getsentry/sentry-javascript/pull/6685/commits/b3f23cba91695c0fdf9b41bfcc67ff148c277a31
b3f23cbhttps://github.com/getsentry/sentry-javascript/pull/6685/commits/b3f23cba91695c0fdf9b41bfcc67ff148c277a31
Merge remote-tracking branch 'origin/lforst-fail-fast' into lforst-re…https://github.com/getsentry/sentry-javascript/pull/6685/commits/06c7000b1fab8e46a58982df527984582ed5f029
06c7000https://github.com/getsentry/sentry-javascript/pull/6685/commits/06c7000b1fab8e46a58982df527984582ed5f029
https://github.com/lforst
lforsthttps://github.com/lforst
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/d42a89712e569e25d2d54683206ed323884f2953..06c7000b1fab8e46a58982df527984582ed5f029
d42a897https://github.com/getsentry/sentry-javascript/commit/d42a89712e569e25d2d54683206ed323884f2953
06c7000https://github.com/getsentry/sentry-javascript/commit/06c7000b1fab8e46a58982df527984582ed5f029
Compare https://github.com/getsentry/sentry-javascript/compare/d42a89712e569e25d2d54683206ed323884f2953..06c7000b1fab8e46a58982df527984582ed5f029
January 10, 2023 14:47https://github.com/getsentry/sentry-javascript/pull/6685#event-8192728920
https://github.com/lforst
lforsthttps://github.com/lforst
f140888https://github.com/getsentry/sentry-javascript/commit/f140888000f25ef2e65cf9d853234fac67da3e7a
Jan 10, 2023https://github.com/getsentry/sentry-javascript/pull/6685#event-8193002662
https://github.com/lforst
lforsthttps://github.com/lforst
January 10, 2023 15:14https://github.com/getsentry/sentry-javascript/pull/6685#event-8193003076
https://github.com/beckerei
beckereihttps://github.com/beckerei
Jan 26, 2023 https://github.com/getsentry/sentry-javascript/pull/6685#ref-issue-1557891998
Conditional require calls are hoisted incorrectly #6943 https://github.com/getsentry/sentry-javascript/issues/6943
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Jun 21, 2023 https://github.com/getsentry/sentry-javascript/pull/6685#ref-issue-1073775238
Is it possible to move sentry.client.config.js, sentry.server.config.js to a custom folder? #4249 https://github.com/getsentry/sentry-javascript/issues/4249
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%2F6685
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/6685/files/2be79a5fff239ebe4fe626f6611a036848ab059b
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/6685/files/2be79a5fff239ebe4fe626f6611a036848ab059b
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/6685/files/4a6acd77b225d9f1ca93b11dc6593aca6e60fc47
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
Sourcemaps are broken on Next.js + Webpack 4 when auto wrapping instrumentation is enabled https://github.com/getsentry/sentry-javascript/issues/6118
@sentry/nextjs 7.15 and 7.16 have issues with @vercel/nft https://github.com/getsentry/sentry-javascript/issues/5998
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6685
https://github.com/lforst
https://github.com/mydea
https://github.com/Lms24
https://github.com/AbhiPrasad
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.