Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
Modules bootstrap refactoring#29937
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
guybedford commented Oct 11, 2019 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
880166a to aa4e8b5CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
e662b3e to c4b3832CompareTrott commented Oct 13, 2019
@nodejs/modules-active-members This could use some reviews. |
MylesBorins left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM assuming tests are all passing.
nodejs-github-bot commented Oct 14, 2019
c4b3832 to 521f518Comparedfd3398 to ab9f8cdCompareab9f8cd to c750488CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PR-URL: #29937 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
guybedford commented Oct 17, 2019
Landed in a6b030d. |
PR-URL: #29937 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #29937 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#29937 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
targos commented Jan 8, 2020
this lands cleanly on v12.x-staging, but it breaks a test: |
MylesBorins commented Jan 10, 2020
/cc @bmeck@guybedford could you please take a look... i did some digging and can't figure out what is broken here... seems related to domains 😅 |
guybedford commented Jan 11, 2020
I had a quick look at this this morning, and it seems like this is some interaction with domain where the error being thrown in I'm not sure what code paths this would be corresponding to personally. @joyeecheung@addaleax perhaps you have some ideas on this? |
guybedford commented Jan 11, 2020
@targos@MylesBorins I finally tracked down where in the PR this code change was coming from. The following patch should fix the issue: |
PR-URL: #29937 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
MylesBorins commented Jan 12, 2020
@guybedford it looks like the repl test isn't failing on 13.x because #30907 refactored the code that was throwing. Thanks @BridgeAR I don't think we need a backport-pr anymore tbh and have pushed to staging. |
PR-URL: #29937 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
This PR includes refactoring parts of the
--experimental-modulesunflagging in #29866, without actually unflagging--experimental-modulesyet, in turn simplifying the unflagging PR.The main aspect of this is separating out the runMain bootstrap from CJS, and very carefully ensuring that the async bootstrap and modules promise creation only applies when absolutely necessary, to avoid any async hooks noise.
The various other changes are there to fix test cases that fail under unflagging, I will provide context with code comments below.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes