René's URL Explorer Experiment


Title: fix(replay): Ensure `handleRecordingEmit` aborts when event is not added by mydea · Pull Request #8938 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(replay): Ensure `handleRecordingEmit` aborts when event is not added by mydea · Pull Request #8938 · getsentry/sentry-javascript

X Title: fix(replay): Ensure `handleRecordingEmit` aborts when event is not added by mydea · Pull Request #8938 · getsentry/sentry-javascript

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

Open Graph Description: I noticed that in handleRecordingEmit, due to the async nature of addEvent it could happen that an event is actually not added (because it is discarded due to timestamp etc.). But we are still upda...

X Description: I noticed that in handleRecordingEmit, due to the async nature of addEvent it could happen that an event is actually not added (because it is discarded due to timestamp etc.). But we are still upda...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:0ea9f493-011e-e74d-7d73-9ef53573dec9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7D8:24C069:9D2EBF:D6904D:6B04837F
html-safe-nonce644ce5d91f6061609bff9faf9b25264cb66b0c2a76dc50395ea151999708575d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0Q4OjI0QzA2OTo5RDJFQkY6RDY5MDREOjZCMDQ4MzdGIiwidmlzaXRvcl9pZCI6IjgzNzE4NDg1NjY5NjAwNjMzNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacabed0b13e84f7ceef02cb994c332650d4889f6051806bc21a8e44eb1e18c754b
hovercard-subject-tagpull_request:1501164125
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/8938/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d01ddf1dfd800e5ff8ffee98ec5d8f139af5f0d30fedc549350af16949ee248e/getsentry/sentry-javascript/pull/8938
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d01ddf1dfd800e5ff8ffee98ec5d8f139af5f0d30fedc549350af16949ee248e/getsentry/sentry-javascript/pull/8938
og:image:altI noticed that in handleRecordingEmit, due to the async nature of addEvent it could happen that an event is actually not added (because it is discarded due to timestamp etc.). But we are still upda...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
None1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70
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
releasef5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/8938#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8938
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%2F8938
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/8938
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8938
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8938
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)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/stop-addEventhttps://github.com/getsentry/sentry-javascript/tree/fn/stop-addEvent
Conversationhttps://github.com/getsentry/sentry-javascript/pull/8938
Commits1 (1)https://github.com/getsentry/sentry-javascript/pull/8938/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/8938/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/8938/files
fix(replay): Ensure handleRecordingEmit aborts when event is not addedhttps://github.com/getsentry/sentry-javascript/pull/8938#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/stop-addEventhttps://github.com/getsentry/sentry-javascript/tree/fn/stop-addEvent
https://github.com/mydea
mydeahttps://github.com/mydea
Sep 4, 2023https://github.com/getsentry/sentry-javascript/pull/8938#issue-1880123534
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/mydea
mydeahttps://github.com/mydea
billyvghttps://github.com/billyvg
September 4, 2023 11:57https://github.com/getsentry/sentry-javascript/pull/8938#event-10273203153
https://github.com/mydea
mydeahttps://github.com/mydea
Sep 4, 2023https://github.com/getsentry/sentry-javascript/pull/8938#event-10273203245
https://github.com/mydea
mydeahttps://github.com/mydea
Sep 4, 2023 https://github.com/getsentry/sentry-javascript/pull/8938#pullrequestreview-1609401607
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8938/files
packages/replay/src/util/handleRecordingEmit.tshttps://github.com/getsentry/sentry-javascript/pull/8938/files#diff-257194c57be2ebbe64e61744bd410fafa8a972f10d10de4593c9b05d21039edd
mydeahttps://github.com/mydea
Sep 4, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1314854180
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 4, 2023https://github.com/getsentry/sentry-javascript/pull/8938#issuecomment-1705154096
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/ae7e13ee216da72715d6fbfccfad632f31358c51..470cc36f4ca4933878d4593f46f87f8929d93723
ae7e13ehttps://github.com/getsentry/sentry-javascript/commit/ae7e13ee216da72715d6fbfccfad632f31358c51
470cc36https://github.com/getsentry/sentry-javascript/commit/470cc36f4ca4933878d4593f46f87f8929d93723
Compare https://github.com/getsentry/sentry-javascript/compare/ae7e13ee216da72715d6fbfccfad632f31358c51..470cc36f4ca4933878d4593f46f87f8929d93723
September 5, 2023 11:18https://github.com/getsentry/sentry-javascript/pull/8938#event-10282327712
https://github.com/mydea
mydeahttps://github.com/mydea
Sep 5, 2023 https://github.com/getsentry/sentry-javascript/pull/8938#pullrequestreview-1610816032
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8938/files
packages/replay/test/integration/errorSampleRate.test.tshttps://github.com/getsentry/sentry-javascript/pull/8938/files#diff-21e1216b60c5afa628ab0a10a08bde9474c9e7fffb0094234d2b51baf1626c56
mydeahttps://github.com/mydea
Sep 5, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1315752205
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
billyvghttps://github.com/billyvg
Sep 5, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1316211815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
mydeahttps://github.com/mydea
Sep 7, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1318395310
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
billyvghttps://github.com/billyvg
Sep 7, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1318663855
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/billyvg
billyvghttps://github.com/billyvg
Sep 5, 2023 https://github.com/getsentry/sentry-javascript/pull/8938#pullrequestreview-1611630521
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8938/files
packages/replay/test/integration/errorSampleRate.test.tshttps://github.com/getsentry/sentry-javascript/pull/8938/files#diff-21e1216b60c5afa628ab0a10a08bde9474c9e7fffb0094234d2b51baf1626c56
billyvghttps://github.com/billyvg
Sep 5, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1316211815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
packages/replay/src/util/addEvent.tshttps://github.com/getsentry/sentry-javascript/pull/8938/files#diff-eb2e668205a2166d07a517a56c96f48b127f99ee2ffc45e0b5c67b6a4589ac47
billyvghttps://github.com/billyvg
Sep 5, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1316212665
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
mydeahttps://github.com/mydea
Sep 7, 2023https://github.com/getsentry/sentry-javascript/pull/8938#discussion_r1318393128
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/b8288995a8ff41a2614807a0ce3164bbf1ef22a3..460595a609411310795ae26708dc34ba8963d57c
b828899https://github.com/getsentry/sentry-javascript/commit/b8288995a8ff41a2614807a0ce3164bbf1ef22a3
460595ahttps://github.com/getsentry/sentry-javascript/commit/460595a609411310795ae26708dc34ba8963d57c
Compare https://github.com/getsentry/sentry-javascript/compare/b8288995a8ff41a2614807a0ce3164bbf1ef22a3..460595a609411310795ae26708dc34ba8963d57c
September 11, 2023 07:51https://github.com/getsentry/sentry-javascript/pull/8938#event-10330438879
https://github.com/mydea
fix(replay): Ensure handleRecordingEmit aborts when event is not addedhttps://github.com/getsentry/sentry-javascript/pull/8938/commits/0c1b036a75d0f99b3b7037adbb791a07dbd11a8c
0c1b036https://github.com/getsentry/sentry-javascript/pull/8938/commits/0c1b036a75d0f99b3b7037adbb791a07dbd11a8c
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/460595a609411310795ae26708dc34ba8963d57c..0c1b036a75d0f99b3b7037adbb791a07dbd11a8c
460595ahttps://github.com/getsentry/sentry-javascript/commit/460595a609411310795ae26708dc34ba8963d57c
0c1b036https://github.com/getsentry/sentry-javascript/commit/0c1b036a75d0f99b3b7037adbb791a07dbd11a8c
Compare https://github.com/getsentry/sentry-javascript/compare/460595a609411310795ae26708dc34ba8963d57c..0c1b036a75d0f99b3b7037adbb791a07dbd11a8c
September 11, 2023 09:02https://github.com/getsentry/sentry-javascript/pull/8938#event-10331280824
https://github.com/mydea
mydeahttps://github.com/mydea
a2ba075https://github.com/getsentry/sentry-javascript/commit/a2ba075e8f88eb438bb1bb82042232d542e634dc
Sep 11, 2023https://github.com/getsentry/sentry-javascript/pull/8938#event-10332571044
https://github.com/mydea
mydeahttps://github.com/mydea
September 11, 2023 10:56https://github.com/getsentry/sentry-javascript/pull/8938#event-10332571216
https://github.com/Lms24
Lms24https://github.com/Lms24
Jan 16, 2024 https://github.com/getsentry/sentry-javascript/pull/8938#ref-issue-2028166578
SDK internal errors being raised as events in Sentry. #9760 https://github.com/getsentry/sentry-javascript/issues/9760
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%2F8938
https://github.com/billyvg
billyvg https://github.com/billyvg
https://github.com/getsentry/sentry-javascript/pull/8938/files/470cc36f4ca4933878d4593f46f87f8929d93723
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8938
https://github.com/mydea
https://github.com/billyvg
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.