test: use spawnSyncAndAssert in windowsHide test by ganjanggejang · Pull Request #65351 · nodejs/node · GitHub
Skip to content

test: use spawnSyncAndAssert in windowsHide test - #65351

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
ganjanggejang:replace-spawnsync
Aug 23, 2026
Merged

test: use spawnSyncAndAssert in windowsHide test#65351
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
ganjanggejang:replace-spawnsync

Conversation

@ganjanggejang

Copy link
Copy Markdown
Contributor

Replace the manual status, signal, stdout and stderr assertions with
spawnSyncAndAssert() from test/common/child_process.

The previous code asserted the status first, so a CI failure only
reported the exit status and the child's output was never shown. On
failure the helper prints stdout, stderr, status, signal and the
command that was run.

Only changed sync spawn(), because there is no async helper yet.

Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Aug 17, 2026
@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Aug 17, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 17, 2026
@nodejs-github-bot

This comment was marked as outdated.

@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 18, 2026
@nodejs-github-bot nodejs-github-bot added commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. and removed commit-queue PRs queued for automated landing through the Commit Queue. labels Aug 19, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
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 <junsoo2018@naver.com>
PR-URL: https://github.com/nodejs/node/pull/65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
--------------------------------------------------------------------------------
   ℹ  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/.ncu
https://github.com/nodejs/node/actions/runs/32251410497

@daeyeon daeyeon added request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. and removed commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. labels Aug 20, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 20, 2026
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@trivikr trivikr added the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 23, 2026
@nodejs-github-bot
nodejs-github-bot merged commit de31195 into nodejs:main Aug 23, 2026
97 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 23, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
PR-URL: #65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
PR-URL: #65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
aduh95 pushed a commit that referenced this pull request Aug 27, 2026
Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
PR-URL: #65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
aduh95 pushed a commit that referenced this pull request Sep 7, 2026
Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
PR-URL: #65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
aduh95 pushed a commit that referenced this pull request Sep 7, 2026
Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
PR-URL: #65351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants