process: move more dependency of environment variables to pre-execution#26466
Closed
joyeecheung wants to merge 3 commits intonodejs:masterfrom
Closed
process: move more dependency of environment variables to pre-execution#26466joyeecheung wants to merge 3 commits intonodejs:masterfrom
joyeecheung wants to merge 3 commits intonodejs:masterfrom
Conversation
Since we should treat the node-inspect as third-party user code.
Since it depends on environment variables.
Since this depends on environment variable, and the worker threads do not need to persist the variable value because they cannot switch cwd.
Member
Author
addaleax
approved these changes
Mar 6, 2019
BridgeAR
approved these changes
Mar 6, 2019
Member
Author
|
Landed in e029bc9...f617a73 |
joyeecheung
added a commit
that referenced
this pull request
Mar 8, 2019
Since we should treat the node-inspect as third-party user code. PR-URL: #26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
joyeecheung
added a commit
that referenced
this pull request
Mar 8, 2019
Since it depends on environment variables. PR-URL: #26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
joyeecheung
added a commit
that referenced
this pull request
Mar 8, 2019
Since this depends on environment variable, and the worker threads do not need to persist the variable value because they cannot switch cwd. PR-URL: #26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Member
|
This breaks on v11. @joyeecheung I guess we should try to backport this to reduce other conflicts. Would you be so kind and have a look? |
Member
|
The first commit and third commit seem fine but the warning handler breaks. The third relies on the second one though. |
2 tasks
Member
Author
|
I think this should land cleanly after #25685 is backported? |
Member
Author
|
Oh wait, this needs a non-semver-major form of #25828 as well |
joyeecheung
added a commit
to joyeecheung/node
that referenced
this pull request
Mar 13, 2019
Since we should treat the node-inspect as third-party user code. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
joyeecheung
added a commit
to joyeecheung/node
that referenced
this pull request
Mar 13, 2019
Since it depends on environment variables. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
joyeecheung
added a commit
to joyeecheung/node
that referenced
this pull request
Mar 13, 2019
Since this depends on environment variable, and the worker threads do not need to persist the variable value because they cannot switch cwd. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Member
Member
|
@ZYSzys do you know if the tests pass as well? If so, I'll remove the label. In that case it will be pulled in the next release. |
Member
|
@BridgeAR Sadly tests weren't passed. This PR dependent on #25828(that was |
Member
|
@ZYSzys thanks for checking again! |
Closed
2 tasks
Contributor
|
PR to backport #26662 |
4 tasks
joyeecheung
added a commit
to joyeecheung/node
that referenced
this pull request
Mar 15, 2019
Since we should treat the node-inspect as third-party user code. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
joyeecheung
added a commit
to joyeecheung/node
that referenced
this pull request
Mar 15, 2019
Since it depends on environment variables. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
joyeecheung
added a commit
to joyeecheung/node
that referenced
this pull request
Mar 15, 2019
Since this depends on environment variable, and the worker threads do not need to persist the variable value because they cannot switch cwd. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
refack
pushed a commit
to refack/node
that referenced
this pull request
Mar 17, 2019
Since we should treat the node-inspect as third-party user code. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
refack
pushed a commit
to refack/node
that referenced
this pull request
Mar 17, 2019
Since it depends on environment variables. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
refack
pushed a commit
to refack/node
that referenced
this pull request
Mar 17, 2019
Since this depends on environment variable, and the worker threads do not need to persist the variable value because they cannot switch cwd. PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
targos
pushed a commit
to targos/node
that referenced
this pull request
Mar 27, 2019
Since we should treat the node-inspect as third-party user code. Backport-PR-URL: nodejs#26662 PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
targos
pushed a commit
to targos/node
that referenced
this pull request
Mar 27, 2019
Since it depends on environment variables. Backport-PR-URL: nodejs#26662 PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
targos
pushed a commit
to targos/node
that referenced
this pull request
Mar 27, 2019
Since this depends on environment variable, and the worker threads do not need to persist the variable value because they cannot switch cwd. Backport-PR-URL: nodejs#26662 PR-URL: nodejs#26466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
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
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.


process: call
prepareMainThreadExecutioninnode inspectSince we should treat the node-inspect as third-party
user code.
process: set up process warning handler in pre-execution
Since it depends on environment variables.
process: handle process.env.NODE_V8_COVERAGE in pre-execution
Since this depends on environment variable, and the worker threads
do not need to persist the variable value because they cannot
switch cwd.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes