| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:63230f51-7227-590d-0642-34c507036057 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D26E:52410:24C0A71:2F50548:6B03FB27 |
| html-safe-nonce | cc2a8da9e10d97dbe19aeaf417ed56eeb9b8036c9d8a1c6f0d1d6bf97e85a58d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjZFOjUyNDEwOjI0QzBBNzE6MkY1MDU0ODo2QjAzRkIyNyIsInZpc2l0b3JfaWQiOiIyMzg1MTQzNjI5MzA1MDg0NzExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3d7a4edbc7ddada0d0448cbd7e59e2aed69cda158fd7efe2d614e7ebba871f4b |
| hovercard-subject-tag | pull_request:1634792035 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/9781/files |
| twitter:image | https://avatars.githubusercontent.com/u/8118419?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8118419?s=400&v=4 |
| og:image:alt | Resolves #9570
This PR will auto instrument Next.js app router "generation functions":
generateMetadata.
generateImageMetadata
generateViewport
We are capturing errors, the duration in ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/9781/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F9781%2Ffiles |
| 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%2F9781%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/9781/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/9781/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/9781/files |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues345 (345) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests66 (66) | 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose |
| lforst | https://github.com/lforst |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| lforst-generation-functions | https://github.com/getsentry/sentry-javascript/tree/lforst-generation-functions |
|
Conversation
3
| https://github.com/getsentry/sentry-javascript/pull/9781 |
|
Commits
8
| https://github.com/getsentry/sentry-javascript/pull/9781/commits |
|
Checks
0
| https://github.com/getsentry/sentry-javascript/pull/9781/checks |
|
Files changed
| https://github.com/getsentry/sentry-javascript/pull/9781/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/9781/files |
|
feat(nextjs): Auto instrument generation functions
| https://github.com/getsentry/sentry-javascript/pull/9781/files#top |
|
Show all changes
8 commits
| https://github.com/getsentry/sentry-javascript/pull/9781/files |
|
9d980d6
feat(nextjs): Auto instrument generation functions
Dec 7, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/9d980d65c6344a1ce4ea09a72b82662c92d404c0 |
|
c6e687d
E2E tests
Dec 11, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/c6e687d419c38f14ef0b17e73ec8272564b87f90 |
|
4c34154
Bump timeout
Dec 11, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/4c3415494c5dc419d62ec96a43de5de1ab680bc0 |
|
12d8428
nextjs-14 E2E tests
Dec 12, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/12d842860314c39c71088fe5b4fdaef9347c39f9 |
|
283c79f
Trigger ci
Dec 12, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/283c79f0411d7bece9ec3520794f409933bc2c78 |
|
6546e50
.
Dec 12, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/6546e50189b425bed1e4ffe3690816d9643c73a2 |
|
b5c5eb2
why
Dec 12, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/b5c5eb2796e1a9c13f42467660af4d5e603596f7 |
|
6bcbec4
.
Dec 12, 2023
| https://github.com/getsentry/sentry-javascript/pull/9781/commits/6bcbec48e5fef64a7d732d325679173e8b0d8ef3 |
|
Clear filters
| https://github.com/getsentry/sentry-javascript/pull/9781/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/9781/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/9781/files |
|
build.yml
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721 |
|
canary.yml
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-4b56c7c159ef6d182d11a4f6d189ea69d9ee8b2dfde7e7e920052190549c65e8 |
|
.gitignore
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-fcb8b5b4c1e71f054421e67fd8abbd31032fe9e777ae08042a42f43a58a0ac8d |
|
.npmrc
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-dd2285ed82935136b51273e3a2e7132708c0d7149b11c2a9d0f3dcfbad2bf827 |
|
page.tsx
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-daa2db569cf14b957812c8ef2d348adfe1ae9de9df7d85c64f275202dbefcafb |
|
layout.tsx
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-3e138144e9b200a00cb85a429910d99b8e291f92698810fd3d07cc2948859056 |
|
event-proxy-server.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-09118791c5631ec750a104db12e47b790e1c68951130dfcd515b7a9cfce8d72f |
|
globals.d.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-c530d1b2159054f4cdab7336a057ab7154a0a9377be131f8717af2c04ec38a08 |
|
next-env.d.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-4a58fec7a8588adc8693f83154a1344715c203f64a07076fef9055873795e28f |
|
next.config.js
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-81b55365d08645d2330323aad0016a1af7eeb6ef047997b4bacc5f5750d32066 |
|
package.json
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-cd5088627905b84c947ab41ba5a47841f2298d777552b62158eddaf4ff426fec |
|
playwright.config.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-f58e94ee3322efec312e912dd1b448ef1b11dca9382bde6f81a0de1690e9767a |
|
sentry.client.config.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-07944de687faf1aa933c58af6beffef646844028be3539e22185f2328c5b5f27 |
|
sentry.edge.config.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-a62b9a2198fdffc8cefab2aa8f6ed81733d9fc3e521f7c2de4fa165402d08616 |
|
sentry.server.config.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-876e8d02b5dd537b060edff65c57d6bc38c4b2cf6a2fe8cc3bd4d2ecb204c0de |
|
start-event-proxy.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-b6a435bcbc27a982d88fec7306a77770b1476ab4c059d3c603b3fc7d73665bd0 |
|
generation-functions.test.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-9817ae17727cb182545ebf99ca6a9c10954316be937b70d138a7bec625332bae |
|
tsconfig.json
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-9a4088687cb84ac13789e07360406cf480a7d9066cf9e34aa97ed3c87e19f869 |
|
index.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-1b5a4c446b9b94ff1a36710039088a29371bec8dc3376b3d6db4c4288276cf8a |
|
types.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-bfa5f4e056d1c24f5eb572fe380b24e4b7f759889b9613f587444ae95ed6ecf5 |
|
wrapGenerationFunctionWithSentry.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-fc6ae92e9cc9b966738430ab6ccb0cbb58a10895b99fefb662975c45d027e650 |
|
serverComponentWrapperTemplate.ts
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-12b9872717dad1d78541f2cd22753939a6b169245a25b5f73bdbb0967aafd575 |
| .github/workflows/build.yml | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/.github/workflows/build.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721 |
|
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721 |
| .github/workflows/canary.yml | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-4b56c7c159ef6d182d11a4f6d189ea69d9ee8b2dfde7e7e920052190549c65e8 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/.github/workflows/canary.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-4b56c7c159ef6d182d11a4f6d189ea69d9ee8b2dfde7e7e920052190549c65e8 |
|
| https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-4b56c7c159ef6d182d11a4f6d189ea69d9ee8b2dfde7e7e920052190549c65e8 |
| packages/e2e-tests/test-applications/nextjs-14/.gitignore | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-fcb8b5b4c1e71f054421e67fd8abbd31032fe9e777ae08042a42f43a58a0ac8d |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/.gitignore |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| packages/e2e-tests/test-applications/nextjs-14/.npmrc | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-dd2285ed82935136b51273e3a2e7132708c0d7149b11c2a9d0f3dcfbad2bf827 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/.npmrc |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| packages/e2e-tests/test-applications/nextjs-14/app/generation-functions/page.tsx | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-daa2db569cf14b957812c8ef2d348adfe1ae9de9df7d85c64f275202dbefcafb |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/app/generation-functions/page.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| packages/e2e-tests/test-applications/nextjs-14/app/layout.tsx | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-3e138144e9b200a00cb85a429910d99b8e291f92698810fd3d07cc2948859056 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/app/layout.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| packages/e2e-tests/test-applications/nextjs-14/event-proxy-server.ts | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-09118791c5631ec750a104db12e47b790e1c68951130dfcd515b7a9cfce8d72f |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/event-proxy-server.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| packages/e2e-tests/test-applications/nextjs-14/globals.d.ts | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-c530d1b2159054f4cdab7336a057ab7154a0a9377be131f8717af2c04ec38a08 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/globals.d.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| packages/e2e-tests/test-applications/nextjs-14/next-env.d.ts | https://github.com/getsentry/sentry-javascript/pull/9781/files#diff-4a58fec7a8588adc8693f83154a1344715c203f64a07076fef9055873795e28f |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/6bcbec48e5fef64a7d732d325679173e8b0d8ef3/packages/e2e-tests/test-applications/nextjs-14/next-env.d.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/9781/{{ revealButtonHref }} |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/9781/files |
|
| 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 |