-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
[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 <[email protected]> Reviewed-By: Giovanni Bucci <[email protected]> Reviewed-By: Daniel Lemire <[email protected]>
PR-URL: nodejs#58677 Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#58901 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vladimir Morozov <[email protected]>
PR-URL: nodejs#59110 Reviewed-By: Pietro Marchini <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
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 |
Almost no test runner change have landed on v22.x since #54881 wasn't backported, resulting in lots of conflicts and/or output difference. I've tried and quickly given up a few months ago. Given that there's only one v22.x release before it goes into maintenance, the situation is unlikely to change at this point. |
This PR backports #59110 and three other PRs needed to make it possible:
-Wno-unreachable-code
errors #58901