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

src: sync NODE_REPL_EXTERNAL_MODULE and kDisableNodeOptionsEnv by RafaelGSS · Pull Request #52905 · nodejs/node · GitHub

/ node Public

src: sync NODE_REPL_EXTERNAL_MODULE and kDisableNodeOptionsEnv - #52905

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
RafaelGSS:disable-external-module
May 23, 2024
Merged

src: sync NODE_REPL_EXTERNAL_MODULE and kDisableNodeOptionsEnv#52905
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
RafaelGSS:disable-external-module

Conversation

Copy link
Copy Markdown
Member

Fixes: #51227

Currently, I'm throwing kBootstrapError, but I'm almost sure this is not the appropriate error. In this case, should I create a new error?

Technically, this is a fix for kDisableNodeOptionsEnv, but it can be considered a breaking change for the ones relying on the current behavior (which is unlikely).

RafaelGSS requested a review from joyeecheung May 8, 2024 17:55

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. labels May 8, 2024
RafaelGSS force-pushed the disable-external-module branch from fce6acc to c031cfb Compare May 8, 2024 17:56

avivkeller commented May 8, 2024
edited
Loading

Copy link
Copy Markdown
Member

IMO if it's a breaking change it should be semver-minor or notable-change

(But as a triage member, this isn't my decision, nor my place)

avivkeller added the repl Issues and PRs related to the REPL subsystem. label May 8, 2024
RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label May 8, 2024
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 May 8, 2024

github-actions Bot commented May 8, 2024

Copy link
Copy Markdown
Contributor
Failed to start CI
   ⚠  No approving reviews found
   ✘  Refusing to run CI on potentially unsafe PR
https://github.com/nodejs/node/actions/runs/9008046172

RafaelGSS removed the request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. label May 9, 2024

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Trott 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

No opinion from me on semver for this, but the code change LGTM.

Comment thread doc/api/cli.md Outdated
Comment on lines 2783 to 2853

This comment was marked as resolved.

This comment was marked as resolved.

Trott commented May 14, 2024

Copy link
Copy Markdown
Member

No opinion from me on semver for this, but the code change LGTM.

Actually, with a little more thought, I think this is semver patch, so I agree with @RafaelGSS. But I'll defer to Releasers who think otherwise or collaborators more knowledgable about how these features are used.

RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label May 14, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 14, 2024

Copy link
Copy Markdown
Member

No opinion from me on semver for this, but the code change LGTM.

Actually, with a little more thought, I think this is semver patch

Whatever you say I'm happy with, I'm not a collaborator, so I really don't have much of an opinion (and experience) to really weigh in

RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label May 16, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 16, 2024

Copy link
Copy Markdown
Collaborator

RafaelGSS force-pushed the disable-external-module branch from ccfa477 to 0b16434 Compare May 17, 2024 14:21
RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label May 17, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 17, 2024

Copy link
Copy Markdown
Collaborator

RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label May 22, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 22, 2024

Copy link
Copy Markdown
Collaborator

RafaelGSS added the commit-queue Add this label to land a pull request using GitHub Actions. label May 23, 2024
nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels May 23, 2024

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/52905
✔  Done loading data for nodejs/node/pull/52905
----------------------------------- PR info ------------------------------------
Title      src: sync NODE_REPL_EXTERNAL_MODULE and kDisableNodeOptionsEnv (#52905)
Author     Rafael Gonzaga  (@RafaelGSS)
Branch     RafaelGSS:disable-external-module -> nodejs:main
Labels     c++, repl, author ready, needs-ci, commit-queue-squash
Commits    2
 - src: fix external module env and kDisableNodeOptionsEnv
 - fixup! src: fix external module env and kDisableNodeOptionsEnv
Committers 1
 - RafaelGSS 
PR-URL: https://github.com/nodejs/node/pull/52905
Fixes: https://github.com/nodejs/node/issues/51227
Reviewed-By: Rich Trott 
Reviewed-By: Joyee Cheung 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/52905
Fixes: https://github.com/nodejs/node/issues/51227
Reviewed-By: Rich Trott 
Reviewed-By: Joyee Cheung 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - fixup! src: fix external module env and kDisableNodeOptionsEnv
   ℹ  This PR was created on Wed, 08 May 2024 17:55:32 GMT
   ✔  Approvals: 2
   ✔  - Rich Trott (@Trott): https://github.com/nodejs/node/pull/52905#pullrequestreview-2056494543
   ✔  - Joyee Cheung (@joyeecheung) (TSC): https://github.com/nodejs/node/pull/52905#pullrequestreview-2069699196
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2024-05-22T14:10:03Z: https://ci.nodejs.org/job/node-test-pull-request/59352/
- Querying data for job/node-test-pull-request/59352/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/9200620708

RafaelGSS added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels May 23, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 23, 2024
nodejs-github-bot merged commit b9ad94b into nodejs:main May 23, 2024

Copy link
Copy Markdown
Collaborator

Landed in b9ad94b

StefanStojanovic added a commit to JaneaSystems/node that referenced this pull request May 27, 2024
2 PRs that landed independently caused this issue which makes every
native suites run in CI fail on Windows. This is just a quick patch to
unblock the CI.

Refs: nodejs#52905
Refs: nodejs#52646
nodejs-github-bot pushed a commit that referenced this pull request May 27, 2024
2 PRs that landed independently caused this issue which makes every
native suites run in CI fail on Windows. This is just a quick patch to
unblock the CI.

Refs: #52905
Refs: #52646
PR-URL: #53173
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
targos pushed a commit that referenced this pull request Jun 1, 2024
PR-URL: #52905
Fixes: #51227
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
targos pushed a commit that referenced this pull request Jun 1, 2024
2 PRs that landed independently caused this issue which makes every
native suites run in CI fail on Windows. This is just a quick patch to
unblock the CI.

Refs: #52905
Refs: #52646
PR-URL: #53173
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
RafaelGSS mentioned this pull request Jun 7, 2024
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#52905
Fixes: nodejs#51227
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
2 PRs that landed independently caused this issue which makes every
native suites run in CI fail on Windows. This is just a quick patch to
unblock the CI.

Refs: nodejs#52905
Refs: nodejs#52646
PR-URL: nodejs#53173
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #52905
Fixes: #51227
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
2 PRs that landed independently caused this issue which makes every
native suites run in CI fail on Windows. This is just a quick patch to
unblock the CI.

Refs: #52905
Refs: #52646
PR-URL: #53173
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.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++. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The kDisableNodeOptionsEnv option can be work around by using NODE_REPL_EXTERNAL_MODULE env

7 participants


Back | FazBrowse Home | New Git URL