| 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:7e9564de-eaaf-72f0-c76c-0bf357bc05ed |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B64A:1A223A:1112B3:16C09C:6B04B0FA |
| html-safe-nonce | b5881076ea9fc695bdfe2fc380857887b4ab169fda076eafdf90e215db59ff41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjRBOjFBMjIzQToxMTEyQjM6MTZDMDlDOjZCMDRCMEZBIiwidmlzaXRvcl9pZCI6IjMxMjU1MTUxNjg0NDA5NTUxMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c292f469d418c71b0779bde473b570d3889b7c064bc3cf05c0d4a70834dddbf |
| hovercard-subject-tag | pull_request:1250217633 |
| 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/7253/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 PR makes the session expiration overwritable, so we can test this without waiting for 30/60 mins 😜
I added three tests:
Test idle duration results in a new session
Test max session life is co... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/7253/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7253%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%2F7253%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/7253/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues333 (333) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests49 (49) | 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/session-timeout-config | https://github.com/getsentry/sentry-javascript/tree/fn/session-timeout-config |
|
Conversation
22
| https://github.com/getsentry/sentry-javascript/pull/7253 |
|
Commits
1
| https://github.com/getsentry/sentry-javascript/pull/7253/commits |
|
Checks
0
| https://github.com/getsentry/sentry-javascript/pull/7253/checks |
|
Files changed
| https://github.com/getsentry/sentry-javascript/pull/7253/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
|
test(replay): Add tests for session expiration
| https://github.com/getsentry/sentry-javascript/pull/7253/files#top |
|
Show all changes
1 commit
| https://github.com/getsentry/sentry-javascript/pull/7253/files |
|
9168095
test(replay): Add tests for session expiration
mydea Mar 6, 2023
| https://github.com/getsentry/sentry-javascript/pull/7253/commits/9168095153e9cafc8e4d01b32143a8aa8dbb05a8 |
|
Clear filters
| https://github.com/getsentry/sentry-javascript/pull/7253/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
|
init.js
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-b8ce7327134d8bdc19073af3a21028fa5fd5529bce24e07e48f0044d984e9bbe |
|
template.html
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-fdfcd223b1966138aff0e8b3662dfdd4b711a6ca4f196a5a2316872240f8049c |
|
test.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-41e2ec90650bdca59881f4e8d0cd2e9d2f2fa7de6ec228dca1e0181054f3d155 |
|
snapshot-0-chromium.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-e3414ac75109a4ae462ff986999080248f6017d8104a0b3bfeac05d4b255a2d0 |
|
snapshot-0-firefox.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-abf6e1a5bbab4a2b006dcb12402d2e8ebd5c7d29223782f60574231ab0d03d90 |
|
snapshot-0-webkit.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-96b4d4ed30d3d89c7e2b1f682995652483898c97939f1c41736ba54f87c50088 |
|
snapshot-0.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-7dc5dfa47d0f3b66709431b7243d2322414b1fc8552fc58a0e364bc0b21b8c81 |
|
snapshot-2-chromium.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-46baf130ca72e14b566b9090a7e656ab3429836dd88d512549f8681d6ad80deb |
|
snapshot-2-firefox.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-0440ba499cf8e7b0bc67f45528b652d6455c983f13fc784dce538f837d928a13 |
|
snapshot-2-webkit.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-33794b92ceef8fe782e8b9a1a360e2da97813e7ba7345c1dfb947cdb3fd2caaa |
|
snapshot-2.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-9f44f22864496ff984d97b7082d38a8ab0f09cbb0c41f9e1d68c87ed094fa523 |
|
init.js
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-763a9406e1df2bf6393cdb8c73429bdfafea8f98444365ac9c58453be6076269 |
|
template.html
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-4236da155caf8fcdc5a72c995865cf5027543bd69f2705ca8cc03ece4d41dd01 |
|
test.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-12c6738ff3fcc1fdf51b672b65e945d228cd272ace04ea87d996eeaa3901efed |
|
snapshot-0-chromium.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-e513ecabc12f1a8491d39bff8ead899ba5d3e78651cf4aae189d33166002c1e8 |
|
snapshot-0-firefox.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-4d0903d3c3e50fd52538d54e38a95eee22d2efc133a2fe4532ef49172cc1adc8 |
|
snapshot-0-webkit.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-a466692919c7d208954ae9a94c439ff323d9833ca9f8ac9d8c4ace61fcfc55d5 |
|
snapshot-0.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-cf9aea735c4510bca71e7f467846b75114950acf906c4b709159d04b1417bf03 |
|
snapshot-1-chromium.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-3d64331c9a8eb470a58652dfaa1970af052733535d00f4f3db816b75e8409d61 |
|
snapshot-1-firefox.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-c6958aea3f90f9919e33f9b591f2a164fe2f95c7c139baa237e664654c9f7631 |
|
snapshot-1-webkit.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-b0674a2fab29d9a5f1d46c153008bea1e52dda4ac822eb8fa5af42af1e9701d7 |
|
snapshot-1.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-de367da18b146653a8948eaf3ed144605b21ec23b9e5069303693ad391165b6b |
|
replayHelpers.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-2f9e68b16f47c4804a81afbeeffdea0279e1ece4fe6e33f2e5cf18c95a3da777 |
|
package.json
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-058992e86bfd4d252eafa2b1cabf9ca3b27644027e843dcca191188d1c336cc9 |
|
replay.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97 |
|
getSession.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-ab93c7fb3bc5b838e3897ca176856ba91e9a47ae256cd02949341b5cebc8e820 |
|
types.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-03291ba19141ffd5bac4f1d6c5f97b587b3ce1d93481f165d42a1b2a650d93a9 |
|
addEvent.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-eb2e668205a2166d07a517a56c96f48b127f99ee2ffc45e0b5c67b6a4589ac47 |
|
isSessionExpired.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-c30b1cba65ce2dc6221c850acd44c7728c207f65a60539b317ec568d36fb9068 |
|
getSession.test.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-2818eb45e0f70360413985d692a32e5288ae1555247200f816ccc687b81db5e4 |
|
isSessionExpired.test.ts
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-c57ebfd939baec73ede971747206a0703a9fd81776417ea64efc3cfe884c7be7 |
|
bundlePlugins.js
| https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-aa8f45d1ec2360f8284847ccc5e17994c84e9726d6c57ab2a600eed139c5e017 |
| packages/integration-tests/suites/replay/sessionExpiry/init.js | https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-b8ce7327134d8bdc19073af3a21028fa5fd5529bce24e07e48f0044d984e9bbe |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/9168095153e9cafc8e4d01b32143a8aa8dbb05a8/packages/integration-tests/suites/replay/sessionExpiry/init.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7253/{{ revealButtonHref }} |
| packages/integration-tests/suites/replay/sessionExpiry/template.html | https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-fdfcd223b1966138aff0e8b3662dfdd4b711a6ca4f196a5a2316872240f8049c |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/9168095153e9cafc8e4d01b32143a8aa8dbb05a8/packages/integration-tests/suites/replay/sessionExpiry/template.html |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7253/{{ revealButtonHref }} |
| packages/integration-tests/suites/replay/sessionExpiry/test.ts | https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-41e2ec90650bdca59881f4e8d0cd2e9d2f2fa7de6ec228dca1e0181054f3d155 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/9168095153e9cafc8e4d01b32143a8aa8dbb05a8/packages/integration-tests/suites/replay/sessionExpiry/test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7253/{{ revealButtonHref }} |
| Lms24 | https://github.com/Lms24 |
| Feb 22, 2023 | https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114486535 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| mydea | https://github.com/mydea |
| Feb 22, 2023 | https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114508310 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| Lms24 | https://github.com/Lms24 |
| Feb 22, 2023 | https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114523004 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| mydea | https://github.com/mydea |
| Feb 22, 2023 | https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114563012 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/files |
| .../integration-tests/suites/replay/sessionExpiry/test.ts-snapshots/snapshot-0-chromium.json | https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-e3414ac75109a4ae462ff986999080248f6017d8104a0b3bfeac05d4b255a2d0 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/9168095153e9cafc8e4d01b32143a8aa8dbb05a8/packages/integration-tests/suites/replay/sessionExpiry/test.ts-snapshots/snapshot-0-chromium.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7253/{{ revealButtonHref }} |
| ...s/integration-tests/suites/replay/sessionExpiry/test.ts-snapshots/snapshot-0-firefox.json | https://github.com/getsentry/sentry-javascript/pull/7253/files#diff-abf6e1a5bbab4a2b006dcb12402d2e8ebd5c7d29223782f60574231ab0d03d90 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/9168095153e9cafc8e4d01b32143a8aa8dbb05a8/packages/integration-tests/suites/replay/sessionExpiry/test.ts-snapshots/snapshot-0-firefox.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/7253/{{ revealButtonHref }} |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7253/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 |