René's URL Explorer Experiment


Title: feat(node): Use worker thread for ANR detection by timfish · Pull Request #9789 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(node): Use worker thread for ANR detection by timfish · Pull Request #9789 · getsentry/sentry-javascript

X Title: feat(node): Use worker thread for ANR detection by timfish · Pull Request #9789 · 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 was looking to add more functionality to the ANR debugger but I've been having niggling feelings surrounding our use of a child process to do this. After much experimenting and debugging I ma...

X Description: I was looking to add more functionality to the ANR debugger but I've been having niggling feelings surrounding our use of a child process to do this. After much experimenting and debugging ...

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

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/_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:b7f9a1c2-3765-b2cc-1de3-458f5d73442a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB3A:BACBA:C50E47:10E5E79:6B03FE6E
html-safe-nonce012dabe6006a9845054fd0418a718431cade89bc35d21a55cedabb28d59f8615
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjNBOkJBQ0JBOkM1MEU0NzoxMEU1RTc5OjZCMDNGRTZFIiwidmlzaXRvcl9pZCI6IjcyODM0MDYwMjMzODg1NjEwMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf8d426d8b8ed412a757687de787e7fc11c389505db5aa3e6e34aa2a20303d7a3
hovercard-subject-tagpull_request:1637231646
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/9789/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d49aea4c0f3dd7171c0cd024de2b5af620eb69e8b7a6b7fb3464fa032ba68e98/getsentry/sentry-javascript/pull/9789
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d49aea4c0f3dd7171c0cd024de2b5af620eb69e8b7a6b7fb3464fa032ba68e98/getsentry/sentry-javascript/pull/9789
og:image:altI was looking to add more functionality to the ANR debugger but I've been having niggling feelings surrounding our use of a child process to do this. After much experimenting and debugging I ma...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimfish
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/9789#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F9789
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%2F9789
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/9789
Reloadhttps://github.com/getsentry/sentry-javascript/pull/9789
Reloadhttps://github.com/getsentry/sentry-javascript/pull/9789
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues344 (344)https://github.com/getsentry/sentry-javascript/issues
Pull requests60 (60)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
timfishhttps://github.com/timfish
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
timfish:fix/anr-worker-threadhttps://github.com/timfish/sentry-javascript/tree/fix/anr-worker-thread
Conversationhttps://github.com/getsentry/sentry-javascript/pull/9789
Commits9 (9)https://github.com/getsentry/sentry-javascript/pull/9789/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/9789/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/9789/files
feat(node): Use worker thread for ANR detectionhttps://github.com/getsentry/sentry-javascript/pull/9789#top
timfishhttps://github.com/timfish
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
timfish:fix/anr-worker-threadhttps://github.com/timfish/sentry-javascript/tree/fix/anr-worker-thread
https://github.com/timfish
timfishhttps://github.com/timfish
Dec 9, 2023https://github.com/getsentry/sentry-javascript/pull/9789#issue-2033840499
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
#9324https://github.com/getsentry/sentry-javascript/issues/9324
After enabling ANR detection for the main process, all Electron processes are spawned twice sentry-electron#784https://github.com/getsentry/sentry-electron/issues/784
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
https://github.com/timfish
feat(node): Use worker thread for ANR detectionhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/ed4a3168a83933b61292acbe78727bb09b9d3145
ed4a316https://github.com/getsentry/sentry-javascript/pull/9789/commits/ed4a3168a83933b61292acbe78727bb09b9d3145
https://github.com/timfish
timfishhttps://github.com/timfish
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/617dbaa8d94344a2933bada1caf28d6840da74b1..ed4a3168a83933b61292acbe78727bb09b9d3145
617dbaahttps://github.com/getsentry/sentry-javascript/commit/617dbaa8d94344a2933bada1caf28d6840da74b1
ed4a316https://github.com/getsentry/sentry-javascript/commit/ed4a3168a83933b61292acbe78727bb09b9d3145
Compare https://github.com/getsentry/sentry-javascript/compare/617dbaa8d94344a2933bada1caf28d6840da74b1..ed4a3168a83933b61292acbe78727bb09b9d3145
December 9, 2023 15:58https://github.com/getsentry/sentry-javascript/pull/9789#event-11200825594
https://github.com/timfish
timfishhttps://github.com/timfish
Dec 9, 2023https://github.com/getsentry/sentry-javascript/pull/9789#issuecomment-1848507791
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
load worker from base64 stringhttps://github.com/timfish/sentry-node-watchdog/blob/e7b4ce648414c2b99becd4deca854c11fd77382d/src/index.ts#L45-L48
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
https://github.com/timfish
Remove utilityhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/14fe3a502c141c57652f2a534959641fcfdd43e9
14fe3a5https://github.com/getsentry/sentry-javascript/pull/9789/commits/14fe3a502c141c57652f2a534959641fcfdd43e9
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
anonrighttps://github.com/anonrig
December 11, 2023 14:25https://github.com/getsentry/sentry-javascript/pull/9789#event-11211186675
https://github.com/anonrig
anonrighttps://github.com/anonrig
Dec 12, 2023 https://github.com/getsentry/sentry-javascript/pull/9789#pullrequestreview-1777580959
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/9789/files/ed4a3168a83933b61292acbe78727bb09b9d3145
packages/node/src/anr/index.tshttps://github.com/getsentry/sentry-javascript/pull/9789/files/ed4a3168a83933b61292acbe78727bb09b9d3145#diff-0f2e1a45596e7f28b73fb8b1075452172f6bc433e53d161aaf39dfcb56e4858a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
packages/node/src/anr/index.tshttps://github.com/getsentry/sentry-javascript/pull/9789/files/ed4a3168a83933b61292acbe78727bb09b9d3145#diff-0f2e1a45596e7f28b73fb8b1075452172f6bc433e53d161aaf39dfcb56e4858a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
packages/node/src/anr/index.tshttps://github.com/getsentry/sentry-javascript/pull/9789/files/ed4a3168a83933b61292acbe78727bb09b9d3145#diff-0f2e1a45596e7f28b73fb8b1075452172f6bc433e53d161aaf39dfcb56e4858a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
timfishhttps://github.com/timfish
December 12, 2023 16:00https://github.com/getsentry/sentry-javascript/pull/9789#commits-pushed-e5c82dd
https://github.com/timfish
PR feedbackhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/e5c82dd662b1460a559ac989dd82594b55a38092
e5c82ddhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/e5c82dd662b1460a559ac989dd82594b55a38092
https://github.com/timfish
Merge branch 'develop' into fix/anr-worker-threadhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/d2465819e85e1ce49853d892e22c02570b8d0490
d246581https://github.com/getsentry/sentry-javascript/pull/9789/commits/d2465819e85e1ce49853d892e22c02570b8d0490
https://github.com/anonrig
anonrighttps://github.com/anonrig
Dec 12, 2023 https://github.com/getsentry/sentry-javascript/pull/9789#pullrequestreview-1777799195
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/9789/files/d2465819e85e1ce49853d892e22c02570b8d0490
packages/node-integration-tests/suites/anr/forked.jshttps://github.com/getsentry/sentry-javascript/pull/9789/files/d2465819e85e1ce49853d892e22c02570b8d0490#diff-4b34b740ed40d85e1aea5ef26e15f68841e8a5c4e76c06d27dbb300770c5e743
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
timfishhttps://github.com/timfish
December 12, 2023 16:35https://github.com/getsentry/sentry-javascript/pull/9789#commits-pushed-dce3684
https://github.com/timfish
remove outdated commentshttps://github.com/getsentry/sentry-javascript/pull/9789/commits/dce36842f10a79275ddf9ed38bd13e8e1549676e
dce3684https://github.com/getsentry/sentry-javascript/pull/9789/commits/dce36842f10a79275ddf9ed38bd13e8e1549676e
https://github.com/timfish
Merge remote-tracking branch 'origin/fix/anr-worker-thread' into fix/…https://github.com/getsentry/sentry-javascript/pull/9789/commits/2ca69cafedf5a93c147905397ad1fe0052cc9e8b
2ca69cahttps://github.com/getsentry/sentry-javascript/pull/9789/commits/2ca69cafedf5a93c147905397ad1fe0052cc9e8b
https://github.com/timfish
use getWorkerThreadshttps://github.com/getsentry/sentry-javascript/pull/9789/commits/3042553e706732a78901dc6030041f9f15da153d
3042553https://github.com/getsentry/sentry-javascript/pull/9789/commits/3042553e706732a78901dc6030041f9f15da153d
https://github.com/timfish
Merge branch 'develop' into fix/anr-worker-threadhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/dad68a195be51befab1871256039fd246d4b9b58
dad68a1https://github.com/getsentry/sentry-javascript/pull/9789/commits/dad68a195be51befab1871256039fd246d4b9b58
https://github.com/timfish
Merge branch 'develop' into fix/anr-worker-threadhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/61dd30f13b4d5fd4caa32d6019ec9cf739ac669a
61dd30fhttps://github.com/getsentry/sentry-javascript/pull/9789/commits/61dd30f13b4d5fd4caa32d6019ec9cf739ac669a
https://github.com/timfish
timfishhttps://github.com/timfish
Dec 13, 2023https://github.com/getsentry/sentry-javascript/pull/9789#issuecomment-1854488592
#9823https://github.com/getsentry/sentry-javascript/pull/9823
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
https://github.com/timfish
timfishhttps://github.com/timfish
Dec 13, 2023https://github.com/getsentry/sentry-javascript/pull/9789#event-11239330004
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%2F9789
https://github.com/anonrig
anonrig https://github.com/anonrig
https://github.com/getsentry/sentry-javascript/pull/9789/files/d2465819e85e1ce49853d892e22c02570b8d0490
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
Node ANR tracking not getting trace context attached https://github.com/getsentry/sentry-javascript/issues/9324
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9789
https://github.com/timfish
https://github.com/anonrig
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.