-
Notifications
You must be signed in to change notification settings - Fork 5k
Preserve AsyncLocalStorage context in unhandledRejection handlers #31721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
robobun
wants to merge
19
commits into
main
Choose a base branch
from
farm/71122839/als-unhandled-rejection
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
836ed6c
Preserve AsyncLocalStorage context in unhandledRejection handlers
robobun 62338a6
Add direct test for AsyncLocalStorage context in unhandledRejection
robobun 9087c43
Replay undefined context for contextless rejections in drain
robobun 1e15474
Drain and assert stderr in unhandledRejection context test
robobun 4fc817a
Address review: use the AsyncContextFrame helper, keep drains out of …
robobun 2d9a56d
[autofix.ci] apply automated fixes
autofix-ci[bot] 10d2df8
Cite Node's dispatch window instead of the timer path in the drain co…
robobun d03ce04
Pin WebKit to the AsyncFunctionResume context-ordering fix
robobun df18d22
Restore the context before a throwing unhandledRejection listener rea…
robobun a007e0b
Pin PromiseFinallyAwaitJob and AsyncGenerator rejection context with …
robobun 57756f6
[autofix.ci] apply automated fixes
autofix-ci[bot] d8faac1
Pin WebKit to the PromiseFinallyAwaitJob context fix
robobun 172fbdd
Pin the halt-on-throw behavior of the unhandledRejection emit
robobun 72a9750
Replace iteration-count bailout with a wall-clock deadline in the fix…
robobun 09844f2
Bump to the WebKit preview rebased on #295
robobun b621e72
Pin that a throwing unhandledRejection listener reaches uncaughtExcep…
robobun 39f7967
Assert {stdout, stderr, exitCode} as one object in the new subprocess…
robobun 00b8f4c
Bump WebKit to the RAII-based PromiseFinallyAwaitJob preview
robobun 30e1f88
[autofix.ci] apply automated fixes
autofix-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.