-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
test_runner: remove redundant bootstrap boolean #54013
Conversation
Review requested:
|
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.
LGTM
The test runner bootstrap process awaits a Promise and then sets a boolean flag. This commit consolidates the Promise and boolean into a single value. This commit also ensures that the globalRoot test is always assigned in createTestTree() in order to better consolidate the CLI/run() and non-CLI configuration.
This reverts commit 383ec7f.
I've been trying to figure out how this seemingly very innocent change was introducing EPERM failures on Windows when trying to clean up the tmp directory. Then I saw the same failures in an unrelated CI run. So, I'm going to land this once I get a green CI. It looks like the flaky test in question was introduced in #53866 (cc @mcollina). Related to the EPERM issues - I only tried one run, but using |
Commit Queue failed- Loading data for nodejs/node/pull/54013 ✔ Done loading data for nodejs/node/pull/54013 ----------------------------------- PR info ------------------------------------ Title test_runner: remove redundant bootstrap boolean (#54013) Author Colin Ihrig <[email protected]> (@cjihrig) Branch cjihrig:bootstrap -> nodejs:main Labels author ready, commit-queue-squash, test_runner Commits 4 - test_runner: remove redundant bootstrap boolean - hmm - ugh - Revert "ugh" Committers 1 - cjihrig <[email protected]> PR-URL: https://github.com/nodejs/node/pull/54013 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/54013 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Wed, 24 Jul 2024 04:09:00 GMT ✔ Approvals: 3 ✔ - Chemi Atlow (@atlowChemi): https://github.com/nodejs/node/pull/54013#pullrequestreview-2195620030 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/54013#pullrequestreview-2196305917 ✔ - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/54013#pullrequestreview-2200309148 ✘ Last GitHub CI failed ℹ Last Full PR CI on 2024-07-25T22:32:06Z: https://ci.nodejs.org/job/node-test-pull-request/60631/ - Querying data for job/node-test-pull-request/60631/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/10105569552 |
@cjihrig this commit cannot land atm because GHA did not run for this. |
Green CI + 3 approvals, is this PR ready to land?
What is GHA? I tried to find it in glossary but not there yet 😄 edit: Oh is it Github Action? |
Landed in 14e7eb3 |
The test runner bootstrap process awaits a Promise and then sets a boolean flag. This commit consolidates the Promise and boolean into a single value. This commit also ensures that the globalRoot test is always assigned in createTestTree() in order to better consolidate the CLI/run() and non-CLI configuration. PR-URL: #54013 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
The test runner bootstrap process awaits a Promise and then sets a boolean flag. This commit consolidates the Promise and boolean into a single value. This commit also ensures that the globalRoot test is always assigned in createTestTree() in order to better consolidate the CLI/run() and non-CLI configuration. PR-URL: #54013 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
The test runner bootstrap process awaits a Promise and then sets a boolean flag. This commit consolidates the Promise and boolean into a single value. This commit also ensures that the globalRoot test is always assigned in createTestTree() in order to better consolidate the CLI/run() and non-CLI configuration.