René's URL Explorer Experiment


Title: test(replay): Add tests for session expiration by mydea · Pull Request #7253 · getsentry/sentry-javascript · GitHub

Open Graph Title: test(replay): Add tests for session expiration by mydea · Pull Request #7253 · getsentry/sentry-javascript

X Title: test(replay): Add tests for session expiration by mydea · Pull Request #7253 · getsentry/sentry-javascript

Description: 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 considered and results in a new session --> Extracted out, into a new follow up PR Test inactivity leads to pausing/restarting the same session ref #7044

Open Graph Description: 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...

X Description: 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...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7e9564de-eaaf-72f0-c76c-0bf357bc05ed
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB64A:1A223A:1112B3:16C09C:6B04B0FA
html-safe-nonceb5881076ea9fc695bdfe2fc380857887b4ab169fda076eafdf90e215db59ff41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjRBOjFBMjIzQToxMTEyQjM6MTZDMDlDOjZCMDRCMEZBIiwidmlzaXRvcl9pZCI6IjMxMjU1MTUxNjg0NDA5NTUxMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5c292f469d418c71b0779bde473b570d3889b7c064bc3cf05c0d4a70834dddbf
hovercard-subject-tagpull_request:1250217633
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/7253/files
twitter:imagehttps://avatars.githubusercontent.com/u/2411343?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2411343?s=400&v=4
og:image:altThis 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/7253/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7253%2Ffiles
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%2F7253%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7253/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7253/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7253/files
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests49 (49)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
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/session-timeout-confighttps://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 pagehttps://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 pagehttps://github.com/getsentry/sentry-javascript/pull/7253/files
Please reload this pagehttps://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.jshttps://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.htmlhttps://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.tshttps://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 }}
Lms24https://github.com/Lms24
Feb 22, 2023https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114486535
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7253/files
mydeahttps://github.com/mydea
Feb 22, 2023https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114508310
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7253/files
Lms24https://github.com/Lms24
Feb 22, 2023https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114523004
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7253/files
mydeahttps://github.com/mydea
Feb 22, 2023https://github.com/getsentry/sentry-javascript/pull/7253/files#r1114563012
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7253/files
.../integration-tests/suites/replay/sessionExpiry/test.ts-snapshots/snapshot-0-chromium.jsonhttps://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.jsonhttps://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 pagehttps://github.com/getsentry/sentry-javascript/pull/7253/files
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.