René's URL Explorer Experiment


Title: executionAsyncId doesn't return expected value in context of process.on('unhandledRejection') · Issue #26794 · nodejs/node · GitHub

Open Graph Title: executionAsyncId doesn't return expected value in context of process.on('unhandledRejection') · Issue #26794 · nodejs/node

X Title: executionAsyncId doesn't return expected value in context of process.on('unhandledRejection') · Issue #26794 · nodejs/node

Description: Version: 12.0.0-pre (78162ad) Platform: Darwin geegaw.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 Subsystem: async_hooks https://gist.github.com/isaacs/1f8c5092ba7d...

Open Graph Description: Version: 12.0.0-pre (78162ad) Platform: Darwin geegaw.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 Subsystem: async_hooks htt...

X Description: Version: 12.0.0-pre (78162ad) Platform: Darwin geegaw.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 Subsystem: async_hooks htt...

Opengraph URL: https://github.com/nodejs/node/issues/26794

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"executionAsyncId doesn't return expected value in context of process.on('unhandledRejection')","articleBody":"Version: 12.0.0-pre (78162ad570bfb991e2416c7850be546848a6fcc0)\r\nPlatform: Darwin geegaw.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64\r\nSubsystem: async_hooks\r\n\r\nhttps://gist.github.com/isaacs/1f8c5092ba7d67d9a5f4e342ff7778b7\r\n\r\nI am building a domain-like implementation to catch errors using async_hooks.  However, the executionAsyncId is reset to 0 on an `unhandledRejection` event, making it impossible for me to know if I ought to handle the error or crash.\r\n\r\nThe weird thing is that it only fails in this way when the promise rejection is within an async hop, such as a setTimeout.  If the promise rejection happens at the top level, then I get the expected value of `1` as the executionAsyncId.\r\n\r\nThis is preventing me moving node-tap off of core domains.  Fewer modules using domains means that it could be deprecated sooner :)","author":{"url":"https://github.com/isaacs","@type":"Person","name":"isaacs"},"datePublished":"2019-03-20T01:48:33Z","url":"https://github.com/nodejs/node/issues/26794"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:16547933-8faa-0d3b-7598-816c2fceda2b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9AEA:2B3418:55A96F:6F5885:6AED2819
html-safe-nonce66a0969312c6ae4d51a06052bc332fdc455c57a6630e1051267554aebfa3b260
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUVBOjJCMzQxODo1NUE5NkY6NkY1ODg1OjZBRUQyODE5IiwidmlzaXRvcl9pZCI6Ijg2NTY3ODUyNTI5NTAwMjYyNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0287f9d2af0c759ee929288372da0d359be10827e191fa794b000acbbffd4df3
hovercard-subject-tagissue:423028568
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/nodejs/node/26794/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f9deace805daa8de9e27225c8cc0097fe0a936347f86e6be71ffb1d31e2c437c/nodejs/node/issues/26794
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f9deace805daa8de9e27225c8cc0097fe0a936347f86e6be71ffb1d31e2c437c/nodejs/node/issues/26794
og:image:altVersion: 12.0.0-pre (78162ad) Platform: Darwin geegaw.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 Subsystem: async_hooks htt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameisaacs
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release98b41fa4b5635ceb45a4c54320fced73817ff290
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/26794#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F26794
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%2Fnodejs%2Fnode%2Fissues%2F26794
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/26794
Reloadhttps://github.com/nodejs/node/issues/26794
Reloadhttps://github.com/nodejs/node/issues/26794
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues657 (657)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/26794
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/26794
executionAsyncId doesn't return expected value in context of process.on('unhandledRejection')https://github.com/nodejs/node/issues/26794#top
async_hooksIssues and PRs related to the async hooks subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22async_hooks%22
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
promisesIssues and PRs related to ECMAScript promises.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22promises%22
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Mar 20, 2019https://github.com/nodejs/node/issues/26794#issue-423028568
78162adhttps://github.com/nodejs/node/commit/78162ad570bfb991e2416c7850be546848a6fcc0
https://gist.github.com/isaacs/1f8c5092ba7d67d9a5f4e342ff7778b7https://gist.github.com/isaacs/1f8c5092ba7d67d9a5f4e342ff7778b7
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Dec 13, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565651124
https://github.com/ruyadorno
ruyadornohttps://github.com/ruyadorno
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565671058
@jasnellhttps://github.com/jasnell
@addaleaxhttps://github.com/addaleax
devsnekhttps://github.com/devsnek
async_hooksIssues and PRs related to the async hooks subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22async_hooks%22
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
promisesIssues and PRs related to ECMAScript promises.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22promises%22
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#event-2883120803
https://github.com/devsnek
devsnekhttps://github.com/devsnek
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565674665
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565683012
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565728307
#30959https://github.com/nodejs/node/pull/30959
https://github.com/coreyfarrell
coreyfarrellhttps://github.com/coreyfarrell
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565729618
@addaleaxhttps://github.com/addaleax
Async Hooks | Promise execution trackinghttps://nodejs.org/api/async_hooks.html#async_hooks_promise_execution_tracking
promise introspection APIhttps://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk/edit
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
on Dec 14, 2019https://github.com/nodejs/node/issues/26794#issuecomment-565729733
@coreyfarrellhttps://github.com/coreyfarrell
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Dec 10, 2020https://github.com/nodejs/node/issues/26794#issuecomment-742700627
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
on Dec 10, 2020https://github.com/nodejs/node/issues/26794#issuecomment-742718272
@isaacshttps://github.com/isaacs
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
on Dec 10, 2020https://github.com/nodejs/node/issues/26794#issuecomment-742720833
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Dec 10, 2020https://github.com/nodejs/node/issues/26794#issuecomment-742724469
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Dec 10, 2020https://github.com/nodejs/node/issues/26794#issuecomment-742725726
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
on Dec 10, 2020https://github.com/nodejs/node/issues/26794#issuecomment-742729790
@isaacshttps://github.com/isaacs
#36082https://github.com/nodejs/node/pull/36082
https://github.com/sajal50
sajal50https://github.com/sajal50
on Feb 10, 2021https://github.com/nodejs/node/issues/26794#issuecomment-776423332
#37244https://github.com/nodejs/node/issues/37244
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
on Feb 13, 2021https://github.com/nodejs/node/issues/26794#issuecomment-778629761
#37281 (comment)https://github.com/nodejs/node/pull/37281#issuecomment-778629585
@sajal50https://github.com/sajal50
benjamingrhttps://github.com/benjamingr
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 13, 2021https://github.com/nodejs/node/issues/26794#event-4327839098
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Feb 16, 2021https://github.com/nodejs/node/issues/26794#issuecomment-780142175
@sajal50https://github.com/sajal50
https://github.com/sajal50
sajal50https://github.com/sajal50
on Feb 16, 2021https://github.com/nodejs/node/issues/26794#issuecomment-780152421
@isaacshttps://github.com/isaacs
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/26794
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/26794
async_hooksIssues and PRs related to the async hooks subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22async_hooks%22
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
promisesIssues and PRs related to ECMAScript promises.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22promises%22
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.