| 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:2b484923-9f34-7ba0-d149-c913b02d9b68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EC1C:1B5E62:6FCE41:9D16C9:6B044D98 |
| html-safe-nonce | fdbd98a662d87af33e210982a8b053257b6fe6f2e125fbb7235f88b23921bdad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzFDOjFCNUU2Mjo2RkNFNDE6OUQxNkM5OjZCMDQ0RDk4IiwidmlzaXRvcl9pZCI6Ijc3MzE5NTc0MDk3NTcwMjM2NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9cb3731b6daca0cb18413543d655b13b26353ab035f5c9f9c3e484b664e8975d |
| hovercard-subject-tag | pull_request:1331779728 |
| 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/7992/files |
| twitter:image | https://avatars.githubusercontent.com/u/2411343?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2411343?s=400&v=4 |
| og:image:alt | This re-implements #7025 with a new strategy.
It only keeps min. 30s when using the compression worker (without the worker, the same strategy as now is used, only that it will keep up to 30s max). ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/7992/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7992%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%2F7992%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/7992/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7992/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7992/files |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues339 (339) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests55 (55) | 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 |
| fn/replay-eventBuffer-min-30s | https://github.com/getsentry/sentry-javascript/tree/fn/replay-eventBuffer-min-30s |
|
Conversation
6
| https://github.com/getsentry/sentry-javascript/pull/7992 |
|
Commits
1
| https://github.com/getsentry/sentry-javascript/pull/7992/commits |
|
Checks
0
| https://github.com/getsentry/sentry-javascript/pull/7992/checks |
|
Files changed
12
| https://github.com/getsentry/sentry-javascript/pull/7992/files |
|
feat(replay): Keep min. 30s of data in buffer & worker mode
| https://github.com/getsentry/sentry-javascript/pull/7992/files#top |
|
Show all changes
1 commit
| https://github.com/getsentry/sentry-javascript/pull/7992/files |
|
1018103
feat(replay): Keep min. 30s of data in buffer & worker mode
mydea Apr 28, 2023
| https://github.com/getsentry/sentry-javascript/pull/7992/commits/1018103e847e1a78ca672e952f3037a823773180 |
|
Clear filters
| https://github.com/getsentry/sentry-javascript/pull/7992/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7992/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7992/files |
|
Compressor.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
|
handleMessage.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-8472e206fb8b258500588bdc01f43a529cf7756a61e0bafbbed448fb851e0271 |
|
jest.setup.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-b6b5d49105242c149562565370ae7353ec01a49de89c8985e9a156fc0b9a38ba |
|
constants.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-a50298f7fd59d891b8d96bf72e18092f822cf44d5f4ca45945fc1ea5a2773e4c |
|
EventBufferCompressionWorker.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
EventBufferProxy.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-cb40ce8e24720df8d8947aac9056e33732ee41943debb8c1990f63a2e8f8d3ac |
|
replay.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
|
types.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-03291ba19141ffd5bac4f1d6c5f97b587b3ce1d93481f165d42a1b2a650d93a9 |
|
addEvent.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-eb2e668205a2166d07a517a56c96f48b127f99ee2ffc45e0b5c67b6a4589ac47 |
|
errorSampleRate.test.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-21e1216b60c5afa628ab0a10a08bde9474c9e7fffb0094234d2b51baf1626c56 |
|
EventBufferArray.test.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-4b116e74393c498bf39668c8dd0f9dd3e4fc8dfc85254446551930cad7e28167 |
|
EventBufferCompressionWorker.test.ts
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-5e1b1624c589293c8336fa9ad2a997b11ce9475d03da98ed9acc04d5e79693c8 |
| packages/replay-worker/src/Compressor.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay-worker/src/Compressor.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-c156c7755b83e279af62c21b07d0ca0ad396ea4ff3823d525c4c3e4d7525315c |
| packages/replay-worker/src/handleMessage.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-8472e206fb8b258500588bdc01f43a529cf7756a61e0bafbbed448fb851e0271 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay-worker/src/handleMessage.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-8472e206fb8b258500588bdc01f43a529cf7756a61e0bafbbed448fb851e0271 |
| packages/replay/jest.setup.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-b6b5d49105242c149562565370ae7353ec01a49de89c8985e9a156fc0b9a38ba |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay/jest.setup.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-b6b5d49105242c149562565370ae7353ec01a49de89c8985e9a156fc0b9a38ba |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-b6b5d49105242c149562565370ae7353ec01a49de89c8985e9a156fc0b9a38ba |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-b6b5d49105242c149562565370ae7353ec01a49de89c8985e9a156fc0b9a38ba |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-b6b5d49105242c149562565370ae7353ec01a49de89c8985e9a156fc0b9a38ba |
| packages/replay/src/constants.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-a50298f7fd59d891b8d96bf72e18092f822cf44d5f4ca45945fc1ea5a2773e4c |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay/src/constants.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-a50298f7fd59d891b8d96bf72e18092f822cf44d5f4ca45945fc1ea5a2773e4c |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-a50298f7fd59d891b8d96bf72e18092f822cf44d5f4ca45945fc1ea5a2773e4c |
| packages/replay/src/eventBuffer/EventBufferCompressionWorker.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay/src/eventBuffer/EventBufferCompressionWorker.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-1000e15b8a77f61931d83fbfc686f80e9dc3173f7e9bb8687ebf5efc892539e4 |
| packages/replay/src/eventBuffer/EventBufferProxy.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-cb40ce8e24720df8d8947aac9056e33732ee41943debb8c1990f63a2e8f8d3ac |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay/src/eventBuffer/EventBufferProxy.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-cb40ce8e24720df8d8947aac9056e33732ee41943debb8c1990f63a2e8f8d3ac |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-cb40ce8e24720df8d8947aac9056e33732ee41943debb8c1990f63a2e8f8d3ac |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-cb40ce8e24720df8d8947aac9056e33732ee41943debb8c1990f63a2e8f8d3ac |
| packages/replay/src/replay.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay/src/replay.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
| packages/replay/src/types.ts | https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-03291ba19141ffd5bac4f1d6c5f97b587b3ce1d93481f165d42a1b2a650d93a9 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/1018103e847e1a78ca672e952f3037a823773180/packages/replay/src/types.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7992/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-03291ba19141ffd5bac4f1d6c5f97b587b3ce1d93481f165d42a1b2a650d93a9 |
|
| https://github.com/getsentry/sentry-javascript/pull/7992/files#diff-03291ba19141ffd5bac4f1d6c5f97b587b3ce1d93481f165d42a1b2a650d93a9 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7992/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 |