GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — test: use spawnSyncAndAssert in windowsHide test by ganjanggejang · Pull Request #65351 · nodejs/node Conversation
Contributor
Replace the manual status, signal, stdout and stderr assertions with The previous code asserted the status first, so a CI failure only Only changed sync spawn(), because there is no async helper yet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsSigned-off-by: Junsoo Ha <[email protected]>
aduh95
approved these changes
This comment was marked as outdated.
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #65351 +/- ## ========================================== - Coverage 90.13% 90.11% -0.02% ========================================== Files 752 752 Lines 251820 251820 Branches 47352 47350 -2 ========================================== - Hits 226974 226934 -40 - Misses 16158 16229 +71 + Partials 8688 8657 -31 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Commit Queue failed- Loading data for nodejs/node/pull/65351 ✔ Done loading data for nodejs/node/pull/65351 ----------------------------------- PR info ------------------------------------ Title test: use spawnSyncAndAssert in windowsHide test (#65351) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch ganjanggejang:replace-spawnsync -> nodejs:main Labels test, author ready, needs-ci, commit-queue Commits 1 - test: use spawnSyncAndAssert in windowsHide test Committers 1 - Junsoo Ha <[email protected]> PR-URL: https://github.com/nodejs/node/pull/65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 17 Aug 2026 11:58:51 GMT ✔ Approvals: 4 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/65351#pullrequestreview-4951952749 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/65351#pullrequestreview-4953484636 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/65351#pullrequestreview-4955316846 ✔ - Stefan Stojanovic (@StefanStojanovic): https://github.com/nodejs/node/pull/65351#pullrequestreview-4959345464 ✘ GitHub CI is still running ℹ Last Full PR CI on 2026-08-18T07:17:53Z: https://ci.nodejs.org/job/node-test-pull-request/75962/ - Querying data for job/node-test-pull-request/75962/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/32251410497 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in de31195 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Junsoo Ha <[email protected]> PR-URL: #65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]>
Signed-off-by: Junsoo Ha <[email protected]> PR-URL: #65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]>
Signed-off-by: Junsoo Ha <[email protected]> PR-URL: #65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]>
Signed-off-by: Junsoo Ha <[email protected]> PR-URL: #65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]>
Signed-off-by: Junsoo Ha <[email protected]> PR-URL: #65351 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: #65351 Refs: #65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: #65694 Reviewed-By: Luigi Pinca <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: #65351 Refs: #65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: #65694 Reviewed-By: Luigi Pinca <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: nodejs#65351 Refs: nodejs#65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: nodejs#65694 Reviewed-By: Luigi Pinca <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: #65351 Refs: #65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: #65694 Reviewed-By: Luigi Pinca <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: #65351 Refs: #65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: #65694 Reviewed-By: Luigi Pinca <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: #65351 Refs: #65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: #65694 Reviewed-By: Luigi Pinca <[email protected]>
The cpu-prof tests hand-rolled a partial version of what test/common/child_process already provides: log the child's stderr when the status is non-zero, then assert the status. That manual version never shows stdout, the signal, or the command that ran, so a CI failure gives less information than the helper would. Replace those blocks with spawnSyncAndExitWithoutError(). Every existing expectation is preserved -- status 0 is still required, and signal null is now checked as well, matching the helper defaults. Only success-path blocks whose assertions map one-to-one onto the helper defaults are converted. Refs: #65351 Refs: #65552 Assisted-by: claude:opus-5 Signed-off-by: Junhwan Choi <[email protected]> PR-URL: #65694 Reviewed-By: Luigi Pinca <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.