René's URL Explorer Experiment


Title: system suspension is detected as a blocked event loop · Issue #13 · getsentry/sentry-javascript-node-native-stacktrace · GitHub

Open Graph Title: system suspension is detected as a blocked event loop · Issue #13 · getsentry/sentry-javascript-node-native-stacktrace

X Title: system suspension is detected as a blocked event loop · Issue #13 · getsentry/sentry-javascript-node-native-stacktrace

Description: Environment @sentry-internal/node-native-stacktrace@npm:0.2.1 On linux and macos. Steps to Reproduce Enable eventLoopBlockIntegration. Run node instance with eventLoopBlockIntegration enabled on Google Cloud Run with the instance in requ...

Open Graph Description: Environment @sentry-internal/node-native-stacktrace@npm:0.2.1 On linux and macos. Steps to Reproduce Enable eventLoopBlockIntegration. Run node instance with eventLoopBlockIntegration enabled on Go...

X Description: Environment @sentry-internal/node-native-stacktrace@npm:0.2.1 On linux and macos. Steps to Reproduce Enable eventLoopBlockIntegration. Run node instance with eventLoopBlockIntegration enabled on Go...

Opengraph URL: https://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"system suspension is detected as a blocked event loop","articleBody":"### Environment\n\n@sentry-internal/node-native-stacktrace@npm:0.2.1\n\nOn linux and macos.\n\n### Steps to Reproduce\n\n1. Enable [eventLoopBlockIntegration](https://docs.sentry.io/platforms/javascript/guides/react-router/configuration/event-loop-block/).\n2. Run node instance with eventLoopBlockIntegration enabled on Google Cloud Run with the instance in request billing mode. This will also work from a laptop.\n3. Observe EventLoopBlocked notifications every time the system suspends.\n\n### Expected Result\n\nSystem suspension should not be detected as a blocked event loop.\n\n### Actual Result\n\nSystem suspension is detected and reported as a blocked event loop\n\n### Additional information\n\nThe event loop block integration currently uses `std::chrono::system_clock::now()` for detecting when the event loop is blocked ([code](https://github.com/getsentry/sentry-javascript-node-native-stacktrace/blob/56f301aeb5be6d4084bd31683b41fd90373fb8b5/module.cc#L279)). On linux, Gcc's libstdc++ uses [`clock_gettime()`](https://www.man7.org/linux/man-pages/man3/clock_gettime.3.html) with `CLOCK_REALTIME` to or `gettimeofday()` get the time depending on the settings. The documentation specifically states that `CLOCK_MONOTONIC` can be used to ignore time when the system is suspended. The `std::chrono::steady_clock::now()` implementation on linux uses this call, but on macos [llvm's libcxx specifically chooses](https://github.com/llvm/llvm-project/blob/4ae26783724a8cb29b448920f5b4066ebbbf3a95/libcxx/src/chrono.cpp#L175-L185) `CLOCK_MONOTONIC_RAW` on that platform so that the clock tracks suspends ([docs](https://www.manpagez.com/man/3/clock_gettime_nsec_np/)). On macos you want `CLOCK_UPTIME_RAW` or `CLOCK_UPTIME_RAW_APPROX`. On windows you want [`QueryUnbiasedInterruptTimePercise()`](https://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryunbiasedinterrupttimeprecise) or [`QueryUnbiasedInterruptTime()`](https://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryunbiasedinterrupttime).\n\nSo basically, you need to implement a custom time function that does the right thing on each platform as there doesn't appear to be one in the standard library.","author":{"url":"https://github.com/matthew-nicholson-anrok","@type":"Person","name":"matthew-nicholson-anrok"},"datePublished":"2025-07-25T00:39:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/13/sentry-javascript-node-native-stacktrace/issues/13"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:31d7f285-81fa-3b34-9225-260975feaa16
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9106:3F4FF7:1B1B6:226AE:696B3147
html-safe-nonce068d73524cfd6aef50bc466ff6bc52c4fa50d19f7723552c6477c3288eb14711
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTA2OjNGNEZGNzoxQjFCNjoyMjZBRTo2OTZCMzE0NyIsInZpc2l0b3JfaWQiOiIzOTMzMzgxNjg5MTA5ODUyNDg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbf23bf68f108aa3229eed4a7238b5a04b05b134b6d724f2cc3c618bffa60cd90
hovercard-subject-tagissue:3261597969
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript-node-native-stacktrace/13/issue_layout
twitter:imagehttps://opengraph.githubassets.com/98c22c1960b199e074a312e65b0b742e9e5e91cefb12574b6316188fbaa44a0d/getsentry/sentry-javascript-node-native-stacktrace/issues/13
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/98c22c1960b199e074a312e65b0b742e9e5e91cefb12574b6316188fbaa44a0d/getsentry/sentry-javascript-node-native-stacktrace/issues/13
og:image:altEnvironment @sentry-internal/node-native-stacktrace@npm:0.2.1 On linux and macos. Steps to Reproduce Enable eventLoopBlockIntegration. Run node instance with eventLoopBlockIntegration enabled on Go...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamematthew-nicholson-anrok
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript-node-native-stacktrace git https://github.com/getsentry/sentry-javascript-node-native-stacktrace.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id990851629
octolytics-dimension-repository_nwogetsentry/sentry-javascript-node-native-stacktrace
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id990851629
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript-node-native-stacktrace
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript-node-native-stacktrace%2Fissues%2F13
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript-node-native-stacktrace%2Fissues%2F13
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript-node-native-stacktrace
Reloadhttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
Reloadhttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
Reloadhttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
getsentry https://github.com/getsentry
sentry-javascript-node-native-stacktracehttps://github.com/getsentry/sentry-javascript-node-native-stacktrace
Please reload this pagehttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
Notifications https://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript-node-native-stacktrace
Fork 2 https://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript-node-native-stacktrace
Star 2 https://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript-node-native-stacktrace
Code https://github.com/getsentry/sentry-javascript-node-native-stacktrace
Issues 1 https://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues
Pull requests 0 https://github.com/getsentry/sentry-javascript-node-native-stacktrace/pulls
Actions https://github.com/getsentry/sentry-javascript-node-native-stacktrace/actions
Projects 0 https://github.com/getsentry/sentry-javascript-node-native-stacktrace/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/getsentry/sentry-javascript-node-native-stacktrace/security
Please reload this pagehttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
Insights https://github.com/getsentry/sentry-javascript-node-native-stacktrace/pulse
Code https://github.com/getsentry/sentry-javascript-node-native-stacktrace
Issues https://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues
Pull requests https://github.com/getsentry/sentry-javascript-node-native-stacktrace/pulls
Actions https://github.com/getsentry/sentry-javascript-node-native-stacktrace/actions
Projects https://github.com/getsentry/sentry-javascript-node-native-stacktrace/projects
Security https://github.com/getsentry/sentry-javascript-node-native-stacktrace/security
Insights https://github.com/getsentry/sentry-javascript-node-native-stacktrace/pulse
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13
#14https://github.com/getsentry/sentry-javascript-node-native-stacktrace/pull/14
system suspension is detected as a blocked event loophttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13#top
#14https://github.com/getsentry/sentry-javascript-node-native-stacktrace/pull/14
https://github.com/matthew-nicholson-anrok
https://github.com/matthew-nicholson-anrok
matthew-nicholson-anrokhttps://github.com/matthew-nicholson-anrok
on Jul 25, 2025https://github.com/getsentry/sentry-javascript-node-native-stacktrace/issues/13#issue-3261597969
eventLoopBlockIntegrationhttps://docs.sentry.io/platforms/javascript/guides/react-router/configuration/event-loop-block/
codehttps://github.com/getsentry/sentry-javascript-node-native-stacktrace/blob/56f301aeb5be6d4084bd31683b41fd90373fb8b5/module.cc#L279
clock_gettime()https://www.man7.org/linux/man-pages/man3/clock_gettime.3.html
llvm's libcxx specifically chooseshttps://github.com/llvm/llvm-project/blob/4ae26783724a8cb29b448920f5b4066ebbbf3a95/libcxx/src/chrono.cpp#L175-L185
docshttps://www.manpagez.com/man/3/clock_gettime_nsec_np/
QueryUnbiasedInterruptTimePercise()https://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryunbiasedinterrupttimeprecise
QueryUnbiasedInterruptTime()https://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryunbiasedinterrupttime
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

Viewport: width=device-width


URLs of crawlers that visited me.