Uh oh!
There was an error while loading. Please reload this page.
async_hooks: fix AsyncLocalStorage in unhandledRejection cases - #41202
async_hooks: fix AsyncLocalStorage in unhandledRejection cases#41202bmeck wants to merge 8 commits into
Conversation
bmeck
commented
Dec 17, 2021
there is some kind of bug with the async id stack with this PR, DO NOT MERGE yet |
bmeck
commented
Dec 17, 2021
vdeturckheim
left a comment
There was a problem hiding this comment.
LGTM with the call stack issues to be fixed. This would actually help me for implementing an idea I have for #40954
vdeturckheim
commented
Dec 17, 2021
@bmeck does that mean only the tests are broken and not the actual feature? |
bmeck
commented
Dec 17, 2021
@vdeturckheim the feature isn't fully fixed it looks like, if you register |
bmeck
commented
Dec 20, 2021
@Qard please re-review |
Qard
left a comment
There was a problem hiding this comment.
Looks to be some lint errors, but after those are resolved should be good to go.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Dec 20, 2021
nodejs-github-bot
commented
Dec 20, 2021
bmeck
commented
Dec 21, 2021
Landed in c3866b0 |
PR-URL: #41202 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
PR-URL: #41202 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
PR-URL: #41202 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
PR-URL: #41202 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Right now async local storage doesn't properly propagate through unhandledRejections. This fixes that.