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
[v18.x backport] src: use CreateEnvironment instead of inlining its code where possible#46330
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
nodejs-github-bot commented Jan 24, 2023
Review requested:
|
nodejs-github-bot commented Jan 24, 2023
nodejs-github-bot commented Jan 28, 2023
nodejs-github-bot commented Jan 30, 2023
addaleax commented Jan 30, 2023
@juanarbol Are the CI failures here specific to this PR? There’s a lot of fs.watch failures so I assume they’re related to test changes having been backported but not code changes (specifically, 17ae2ab)? |
335f8dc to 466d7e2Compareaddaleax commented Feb 9, 2023
(did a clean rebase to be able to try CI again) |
Failed to start CI- Validating Jenkins credentials ✖ Jenkins credentials invalidhttps://github.com/nodejs/node/actions/runs/4136947306 |
0f29b57 to 5e1f213Comparenodejs-github-bot commented Feb 18, 2023
juanarbol 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.
LGTM
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: nodejs#45886 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
466d7e2 to 481bbb4Comparenodejs-github-bot commented Feb 24, 2023
juanarbol commented Feb 24, 2023
Dropped 0f29b57 to make ncu land clean |
nodejs-github-bot commented Feb 27, 2023
nodejs-github-bot commented Mar 1, 2023
nodejs-github-bot commented Mar 1, 2023
nodejs-github-bot commented Mar 1, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Backport-PR-URL: #46330 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
juanarbol commented Mar 1, 2023
Landed in 7f0b553 |
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Backport-PR-URL: #46330 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Only difference between the original PR and this is
ExitCode::kBootstrapFailurevs.BOOTSTRAP_ERROR.We had a number of places in which we created an
Environmentinstance by performing each step inCreateEnvironmentmanually. Instead, just call the function itself.PR-URL: #45886
Reviewed-By: Colin Ihrig [email protected]
Reviewed-By: James M Snell [email protected]
Reviewed-By: Chengzhong Wu [email protected]
Reviewed-By: Joyee Cheung [email protected]