René's URL Explorer Experiment


Title: fix(replay): Streamline session creation/refresh by mydea · Pull Request #8813 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(replay): Streamline session creation/refresh by mydea · Pull Request #8813 · getsentry/sentry-javascript

X Title: fix(replay): Streamline session creation/refresh by mydea · Pull Request #8813 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: We've been using _loadAndCheckSession both in initial session setup as well as when checking for expiration of session. This leads to some not-so-optimized stuff, as we kind of have to do doubl...

X Description: We've been using _loadAndCheckSession both in initial session setup as well as when checking for expiration of session. This leads to some not-so-optimized stuff, as we kind of have to do d...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6d9705db-1d55-9e59-616c-f1c5c6b8a087
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD1B6:176400:FC09F7:1603820:6B04474A
html-safe-nonce9817de6633890d828b0a77551454d8cdc9b53585d16efbaff8a44eb0c93a5a35
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUI2OjE3NjQwMDpGQzA5Rjc6MTYwMzgyMDo2QjA0NDc0QSIsInZpc2l0b3JfaWQiOiIyNzgxNDI3NTY1NzgzNjk3MjI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8a7d00d7aeca5696d519bc7f57ecdc9fe6bfd0e6aabf09234bdba537edf1c9a4
hovercard-subject-tagpull_request:1474529863
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/8813/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0e360e86c1c93bf81fd70f9ac34453da3b0188f3ffef189204a071e6008ec1be/getsentry/sentry-javascript/pull/8813
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0e360e86c1c93bf81fd70f9ac34453da3b0188f3ffef189204a071e6008ec1be/getsentry/sentry-javascript/pull/8813
og:image:altWe've been using _loadAndCheckSession both in initial session setup as well as when checking for expiration of session. This leads to some not-so-optimized stuff, as we kind of have to do doubl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/8813#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8813
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%2F8813
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8813
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8813
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8813
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)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
https://github.com/getsentry/sentry-javascript
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/replay-restart-bufferhttps://github.com/getsentry/sentry-javascript/tree/fn/replay-restart-buffer
Conversationhttps://github.com/getsentry/sentry-javascript/pull/8813
Commits6 (6)https://github.com/getsentry/sentry-javascript/pull/8813/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/8813/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/8813/files
fix(replay): Streamline session creation/refreshhttps://github.com/getsentry/sentry-javascript/pull/8813#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/replay-restart-bufferhttps://github.com/getsentry/sentry-javascript/tree/fn/replay-restart-buffer
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 14, 2023https://github.com/getsentry/sentry-javascript/pull/8813#issue-1849893146
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/mydea
mydeahttps://github.com/mydea
billyvghttps://github.com/billyvg
August 14, 2023 14:25https://github.com/getsentry/sentry-javascript/pull/8813#event-10087426624
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 14, 2023https://github.com/getsentry/sentry-javascript/pull/8813#event-10087426701
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 14, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1576968717
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8813/files
packages/replay/src/session/Session.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-888276772f3f188c7d9d4d61628ce359e427cca248e2521322bcbcf62ea8696a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Aug 14, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1576970206
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8813/files
packages/replay/src/session/getSession.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-ab93c7fb3bc5b838e3897ca176856ba91e9a47ae256cd02949341b5cebc8e820
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
packages/replay/src/session/getSession.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-ab93c7fb3bc5b838e3897ca176856ba91e9a47ae256cd02949341b5cebc8e820
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/4ef823201eb95954c6ba8269ad4f59c235b33690..0ec5bf61400ce469b058a653dd37770d9069a124
4ef8232https://github.com/getsentry/sentry-javascript/commit/4ef823201eb95954c6ba8269ad4f59c235b33690
0ec5bf6https://github.com/getsentry/sentry-javascript/commit/0ec5bf61400ce469b058a653dd37770d9069a124
Compare https://github.com/getsentry/sentry-javascript/compare/4ef823201eb95954c6ba8269ad4f59c235b33690..0ec5bf61400ce469b058a653dd37770d9069a124
August 14, 2023 14:28https://github.com/getsentry/sentry-javascript/pull/8813#event-10087468676
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 14, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1576981540
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8813/files
packages/replay/src/session/getSession.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-ab93c7fb3bc5b838e3897ca176856ba91e9a47ae256cd02949341b5cebc8e820
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 14, 2023https://github.com/getsentry/sentry-javascript/pull/8813#issuecomment-1677446271
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/billyvg
billyvghttps://github.com/billyvg
Aug 15, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1577881359
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8813/files
billyvghttps://github.com/billyvg
https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1577881359
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
packages/replay/src/session/getSession.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-ab93c7fb3bc5b838e3897ca176856ba91e9a47ae256cd02949341b5cebc8e820
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
packages/replay/src/session/getSession.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-ab93c7fb3bc5b838e3897ca176856ba91e9a47ae256cd02949341b5cebc8e820
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/billyvg
billyvghttps://github.com/billyvg
Aug 15, 2023https://github.com/getsentry/sentry-javascript/pull/8813#issuecomment-1678334146
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Aug 16, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1579930544
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8813/files
packages/replay/src/session/maybeRefreshSession.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files#diff-b973b7645dedf919f1729b99e3a3d494474d16ae70969d9be24e4f851421067f
https://github.com/billyvg
billyvghttps://github.com/billyvg
Aug 16, 2023https://github.com/getsentry/sentry-javascript/pull/8813#issuecomment-1680894369
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
mydeahttps://github.com/mydea
August 17, 2023 12:03https://github.com/getsentry/sentry-javascript/pull/8813#commits-pushed-36c4f42
https://github.com/mydea
fix(replay): Streamline session creation/refreshhttps://github.com/getsentry/sentry-javascript/pull/8813/commits/36c4f424118fd8062b3d8b80facc800c655dc165
36c4f42https://github.com/getsentry/sentry-javascript/pull/8813/commits/36c4f424118fd8062b3d8b80facc800c655dc165
https://github.com/mydea
ref: Some improvementshttps://github.com/getsentry/sentry-javascript/pull/8813/commits/8e57c80b34527b9ed79299dd8ff6507c673a5108
8e57c80https://github.com/getsentry/sentry-javascript/pull/8813/commits/8e57c80b34527b9ed79299dd8ff6507c673a5108
https://github.com/mydea
ref: Split into fileshttps://github.com/getsentry/sentry-javascript/pull/8813/commits/3de88c38c67764c789be50bc091676c5063965aa
3de88c3https://github.com/getsentry/sentry-javascript/pull/8813/commits/3de88c38c67764c789be50bc091676c5063965aa
https://github.com/mydea
WIPhttps://github.com/getsentry/sentry-javascript/pull/8813/commits/0b9a8b23e4a9ac27f06abf1785b9e65d84996a97
0b9a8b2https://github.com/getsentry/sentry-javascript/pull/8813/commits/0b9a8b23e4a9ac27f06abf1785b9e65d84996a97
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/afe8493f6bc7bc40f8c7bfa24336df3527d2070f..ebf8ba6eccc3bee865ecac9f3e37c9ed258bbcf5
afe8493https://github.com/getsentry/sentry-javascript/commit/afe8493f6bc7bc40f8c7bfa24336df3527d2070f
ebf8ba6https://github.com/getsentry/sentry-javascript/commit/ebf8ba6eccc3bee865ecac9f3e37c9ed258bbcf5
Compare https://github.com/getsentry/sentry-javascript/compare/afe8493f6bc7bc40f8c7bfa24336df3527d2070f..ebf8ba6eccc3bee865ecac9f3e37c9ed258bbcf5
August 17, 2023 10:18https://github.com/getsentry/sentry-javascript/pull/8813#event-10117686099
https://github.com/mydea
add testhttps://github.com/getsentry/sentry-javascript/pull/8813/commits/6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
6b77c3chttps://github.com/getsentry/sentry-javascript/pull/8813/commits/6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/ebf8ba6eccc3bee865ecac9f3e37c9ed258bbcf5..6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
ebf8ba6https://github.com/getsentry/sentry-javascript/commit/ebf8ba6eccc3bee865ecac9f3e37c9ed258bbcf5
6b77c3chttps://github.com/getsentry/sentry-javascript/commit/6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
Compare https://github.com/getsentry/sentry-javascript/compare/ebf8ba6eccc3bee865ecac9f3e37c9ed258bbcf5..6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
August 17, 2023 10:22https://github.com/getsentry/sentry-javascript/pull/8813#event-10117726212
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 17, 2023https://github.com/getsentry/sentry-javascript/pull/8813#issuecomment-1682032451
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/billyvg
billyvghttps://github.com/billyvg
Aug 17, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#pullrequestreview-1582451149
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8813/files/6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
packages/replay/src/replay.tshttps://github.com/getsentry/sentry-javascript/pull/8813/files/6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773#diff-37effab960cdba5170b96d00c73bf14c30c6d856a1c94de4f63fe1a06087bb97
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/mydea
fixeshttps://github.com/getsentry/sentry-javascript/pull/8813/commits/ef733c05348771982ad3c0056404fb326243c8f8
ef733c0https://github.com/getsentry/sentry-javascript/pull/8813/commits/ef733c05348771982ad3c0056404fb326243c8f8
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 17, 2023 https://github.com/getsentry/sentry-javascript/pull/8813#ref-pullrequest-1855211326
fix(replay): Fully stop & restart session when it expires #8834 https://github.com/getsentry/sentry-javascript/pull/8834
https://github.com/mydea
mydeahttps://github.com/mydea
4a4df0dhttps://github.com/getsentry/sentry-javascript/commit/4a4df0d7088a0a012fe8e78ffa76fb611ebacb76
Aug 18, 2023https://github.com/getsentry/sentry-javascript/pull/8813#event-10126356537
https://github.com/mydea
mydeahttps://github.com/mydea
August 18, 2023 06:12https://github.com/getsentry/sentry-javascript/pull/8813#event-10126356656
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8813
https://github.com/billyvg
billyvg https://github.com/billyvg
https://github.com/getsentry/sentry-javascript/pull/8813/files/6b77c3ccec7df7ab4f9a24d742ac97a2ecf52773
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8813
https://github.com/mydea
https://github.com/billyvg
https://github.com/apps/github-advanced-security
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.