-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
[v22.x backport] src,test: fix config file parsing for flags defaulted to true #59947
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
base: v22.x-staging
Are you sure you want to change the base?
[v22.x backport] src,test: fix config file parsing for flags defaulted to true #59947
Conversation
PR-URL: nodejs#58073 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Giovanni Bucci <github@puskin.it> Reviewed-By: Daniel Lemire <daniel@lemire.me>
PR-URL: nodejs#58677 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#58901 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
PR-URL: nodejs#59110 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Review requested:
|
AddOption("--experimental-test-isolation", | ||
kAllowedInEnvvar, | ||
OptionNamespaces::kTestRunnerNamespace); | ||
AddOption("--test-isolation", |
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.
I don't think we have consensus to remove the experimental status from test isolation in 22.x? I don't even know if all of the relevant commits are on v22.x as a lot of test runner related PRs are awaiting manual backports cc @nodejs/test_runner
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.
Yeah, and there are a lot of things missing. I cherry-pick node_config stuff, and a bunch of testrunner tests fail.
@geeksilva97 This is failing linter and tests on GitHub actions. |
let me check |
Without manual intervention, the commit c1f090d doesn't even compile when picked to the ../src/node_options.cc:863:34: error: no member named 'test_global_setup_path' in 'node::EnvironmentOptions'
863 | &EnvironmentOptions::test_global_setup_path,
| ~~~~~~~~~~~~~~~~~~~~^
1 error generated.
make[1]: *** [/Users/edy/projects/contributions/node/out/Release/obj.target/libnode/src/node_options.o] Error 1
make[1]: *** Waiting for unfinished jobs.... It misses this |
Probably this should come first |
This was not enough. A bunch test_runner related tests are failing. I don't know exactly what should be the very first commit that should be picked. Would you have a clue @pmarchini ? |
Hey @geeksilva97, I'll take a look ASAP |
This PR backports #59110 and three other PRs needed to make it possible:
-Wno-unreachable-code
errors #58901