FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v18.x backport] src: use CreateEnvironment instead of inlining its code where possible by addaleax · Pull Request #46330 · nodejs/node · GitHub

/ node Public

[v18.x backport] src: use CreateEnvironment instead of inlining its code where possible - #46330

Closed
addaleax wants to merge 1 commit into
nodejs:v18.x-stagingfrom
addaleax:backport-45886-v18.x
Closed

[v18.x backport] src: use CreateEnvironment instead of inlining its code where possible#46330
addaleax wants to merge 1 commit into
nodejs:v18.x-stagingfrom
addaleax:backport-45886-v18.x

Conversation

Copy link
Copy Markdown
Member

Only difference between the original PR and this is ExitCode::kBootstrapFailure vs. BOOTSTRAP_ERROR.


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
Reviewed-By: Colin Ihrig cjihrig@gmail.com
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Chengzhong Wu legendecas@gmail.com
Reviewed-By: Joyee Cheung joyeec9h3@gmail.com

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/startup

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem. v18.x labels Jan 24, 2023
addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 24, 2023
addaleax changed the title [v18.x backkport] src: use CreateEnvironment instead of inlining its code where possible [v18.x backport] src: use CreateEnvironment instead of inlining its code where possible Jan 24, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 24, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 30, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 30, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member Author

@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)?

addaleax commented Feb 9, 2023

Copy link
Copy Markdown
Member Author

(did a clean rebase to be able to try CI again)

addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 9, 2023
github-actions Bot added request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Feb 9, 2023

github-actions Bot commented Feb 9, 2023

Copy link
Copy Markdown
Contributor
Failed to start CI
- Validating Jenkins credentials
✖  Jenkins credentials invalid
https://github.com/nodejs/node/actions/runs/4136947306

MylesBorins added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 18, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 18, 2023

Copy link
Copy Markdown
Collaborator

juanarbol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

juanarbol added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 24, 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: nodejs#45886
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
juanarbol force-pushed the backport-45886-v18.x branch from 466d7e2 to 481bbb4 Compare February 24, 2023 00:40

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member

Dropped 0f29b57 to make ncu land clean

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

juanarbol pushed a commit that referenced this pull request 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 <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>

Copy link
Copy Markdown
Member

Landed in 7f0b553

juanarbol closed this Mar 1, 2023
juanarbol pushed a commit that referenced this pull request Mar 5, 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 <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem. request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL