| 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:87ae91af-e760-f4e2-d3eb-a50f3ff9468c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C3D6:3179F7:27049B1:33807A2:6B058A8B |
| html-safe-nonce | 48d66810b68ad868ab9df5bf44edd4b9754b2d475de7658bb69277cf3c42ed4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Q2OjMxNzlGNzoyNzA0OUIxOjMzODA3QTI6NkIwNThBOEIiLCJ2aXNpdG9yX2lkIjoiNjk3NjA5NzUxNDE3NzI2ODM2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a555bbaaac29cf924d0d02f36ba6eed3f2a23fcb063b32ae8887e2994e9213b1 |
| hovercard-subject-tag | pull_request:1340419057 |
| 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/8057/files |
| twitter:image | https://avatars.githubusercontent.com/u/79684?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/79684?s=400&v=4 |
| og:image:alt | In buffer mode, we were always tagging error events even if it was not sampled. This is because the sampling decision was moved from the initialization of the SDK to much further down the pipeline ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 808d57ad26095794a9e3681aed736bd67e8e82b1f5650d6c1e68f99382f8030c |
| 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 | 62e32c52ec1c22b5bb5c18be1c0c471472c89540 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/8057/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8057%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%2F8057%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/8057/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/8057/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/8057/files |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues334 (334) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests54 (54) | 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 |
| mydea | https://github.com/mydea |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| fix-replay-sampling-happens-too-late-incorrect-tagging | https://github.com/getsentry/sentry-javascript/tree/fix-replay-sampling-happens-too-late-incorrect-tagging |
|
Conversation
3
| https://github.com/getsentry/sentry-javascript/pull/8057 |
|
Commits
5
| https://github.com/getsentry/sentry-javascript/pull/8057/commits |
|
Checks
0
| https://github.com/getsentry/sentry-javascript/pull/8057/checks |
|
Files changed
| https://github.com/getsentry/sentry-javascript/pull/8057/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/8057/files |
|
fix(replay): Move error sampling to before send
| https://github.com/getsentry/sentry-javascript/pull/8057/files#top |
|
Show all changes
5 commits
| https://github.com/getsentry/sentry-javascript/pull/8057/files |
|
62056c1
add failing test for replayId
billyvg May 5, 2023
| https://github.com/getsentry/sentry-javascript/pull/8057/commits/62056c1649275c8f0746ff37fc1039cf62e5d539 |
|
e5cd9fa
fix(replay): Move error sampling to before send
billyvg May 5, 2023
| https://github.com/getsentry/sentry-javascript/pull/8057/commits/e5cd9fa226c6e57bfecfa0b307f9ffe4a2366aad |
|
dfb0195
fix handleAfterSend test
billyvg May 5, 2023
| https://github.com/getsentry/sentry-javascript/pull/8057/commits/dfb0195fb6add7a7fbf411c2467dc7d49026619b |
|
1319822
lint + fix test
billyvg May 5, 2023
| https://github.com/getsentry/sentry-javascript/pull/8057/commits/1319822877cfb1ecd2824a1b2a1f9940a442d95c |
|
1d1112d
minor refactor
mydea May 8, 2023
| https://github.com/getsentry/sentry-javascript/pull/8057/commits/1d1112dcf60af383a83b8da76695f4831f9e5737 |
|
Clear filters
| https://github.com/getsentry/sentry-javascript/pull/8057/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/8057/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/8057/files |
|
test.ts
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-559ccc213b575ea5f488d17d0955d77f9f0be1b7711260208f059b25fb151290 |
|
fixtures.ts
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-90f9892c2c3adc3b5ae4e9abdc01cb20f34adce27a94acf120e222ab4bff94af |
|
handleAfterSendEvent.ts
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-e4744b63cebe2a603fb27f813aef8f281fc51bf8bd4b9e1b0b18e7da9428092a |
|
handleGlobalEvent.ts
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-a9838d39c7470a876de4e928887c7f8fcab924f9aecf69acbe20d6fc9a8fbcde |
|
shouldSampleForBufferEvent.ts
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-f61a13ac0b369fc68d263576edb0fa4d99f631a7ec92f7101171d84e9491a4f3 |
|
handleAfterSendEvent.test.ts
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-ed902a4e75884ee3fd48a6c050d0d85c8e2b4f8d2ee8a9cf1e884e869c7b5e8f |
| packages/browser-integration-tests/suites/replay/bufferMode/test.ts | https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-559ccc213b575ea5f488d17d0955d77f9f0be1b7711260208f059b25fb151290 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1d1112dcf60af383a83b8da76695f4831f9e5737/packages/browser-integration-tests/suites/replay/bufferMode/test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/8057/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-559ccc213b575ea5f488d17d0955d77f9f0be1b7711260208f059b25fb151290 |
| packages/browser-integration-tests/utils/fixtures.ts | https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-90f9892c2c3adc3b5ae4e9abdc01cb20f34adce27a94acf120e222ab4bff94af |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1d1112dcf60af383a83b8da76695f4831f9e5737/packages/browser-integration-tests/utils/fixtures.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/8057/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-90f9892c2c3adc3b5ae4e9abdc01cb20f34adce27a94acf120e222ab4bff94af |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-90f9892c2c3adc3b5ae4e9abdc01cb20f34adce27a94acf120e222ab4bff94af |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-90f9892c2c3adc3b5ae4e9abdc01cb20f34adce27a94acf120e222ab4bff94af |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-90f9892c2c3adc3b5ae4e9abdc01cb20f34adce27a94acf120e222ab4bff94af |
| packages/replay/src/coreHandlers/handleAfterSendEvent.ts | https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-e4744b63cebe2a603fb27f813aef8f281fc51bf8bd4b9e1b0b18e7da9428092a |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1d1112dcf60af383a83b8da76695f4831f9e5737/packages/replay/src/coreHandlers/handleAfterSendEvent.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/8057/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-e4744b63cebe2a603fb27f813aef8f281fc51bf8bd4b9e1b0b18e7da9428092a |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-e4744b63cebe2a603fb27f813aef8f281fc51bf8bd4b9e1b0b18e7da9428092a |
| mydea | https://github.com/mydea |
| May 8, 2023 | https://github.com/getsentry/sentry-javascript/pull/8057/files#r1187124320 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/8057/files |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-e4744b63cebe2a603fb27f813aef8f281fc51bf8bd4b9e1b0b18e7da9428092a |
| packages/replay/src/coreHandlers/handleGlobalEvent.ts | https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-a9838d39c7470a876de4e928887c7f8fcab924f9aecf69acbe20d6fc9a8fbcde |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1d1112dcf60af383a83b8da76695f4831f9e5737/packages/replay/src/coreHandlers/handleGlobalEvent.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/8057/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-a9838d39c7470a876de4e928887c7f8fcab924f9aecf69acbe20d6fc9a8fbcde |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-a9838d39c7470a876de4e928887c7f8fcab924f9aecf69acbe20d6fc9a8fbcde |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-a9838d39c7470a876de4e928887c7f8fcab924f9aecf69acbe20d6fc9a8fbcde |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-a9838d39c7470a876de4e928887c7f8fcab924f9aecf69acbe20d6fc9a8fbcde |
| packages/replay/src/coreHandlers/util/shouldSampleForBufferEvent.ts | https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-f61a13ac0b369fc68d263576edb0fa4d99f631a7ec92f7101171d84e9491a4f3 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1d1112dcf60af383a83b8da76695f4831f9e5737/packages/replay/src/coreHandlers/util/shouldSampleForBufferEvent.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/8057/{{ revealButtonHref }} |
| packages/replay/test/integration/coreHandlers/handleAfterSendEvent.test.ts | https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-ed902a4e75884ee3fd48a6c050d0d85c8e2b4f8d2ee8a9cf1e884e869c7b5e8f |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1d1112dcf60af383a83b8da76695f4831f9e5737/packages/replay/test/integration/coreHandlers/handleAfterSendEvent.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/8057/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-ed902a4e75884ee3fd48a6c050d0d85c8e2b4f8d2ee8a9cf1e884e869c7b5e8f |
|
| https://github.com/getsentry/sentry-javascript/pull/8057/files#diff-ed902a4e75884ee3fd48a6c050d0d85c8e2b4f8d2ee8a9cf1e884e869c7b5e8f |
|
| 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 |