FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix Linux debug skip in SEA test guard by guhyunwoo · Pull Request #63751 · nodejs/node · GitHub

/ node Public

test: fix Linux debug skip in SEA test guard - #63751

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
guhyunwoo:fix/sea-linux-debug-skip
Aug 21, 2026
Merged

test: fix Linux debug skip in SEA test guard#63751
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
guhyunwoo:fix/sea-linux-debug-skip

Conversation

Copy link
Copy Markdown
Contributor

process.config.variables.is_debug is only populated by the GN build flow (tools/generate_config_gypi.py). As a result, on the gyp builds used by CI the guard never fired, causing SEA tests to run on Linux debug builds contrary to the original intent.

Verified locally that 'is_debug' in process.config.variables evaluates to false on a gyp release build.

Switch to checking process.config.target_defaults.default_configuration === 'Debug' instead, matching the approach already used in test/common/index.js.

Fixes: #63749
Refs: #61483

process.config.variables.is_debug is only populated by the GN build
flow (tools/generate_config_gypi.py), so on the gyp builds used by CI
the guard never fired and SEA tests ran on Linux debug builds against
the original intent. Switch to
process.config.target_defaults.default_configuration === 'Debug',
matching the pattern used in test/common/index.js.

Fixes: nodejs#63749
Refs: nodejs#61483
Signed-off-by: Hyunwoo Gu <realization0327@gmail.com>
nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Jun 5, 2026
Comment thread test/common/sea.js Outdated
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
guhyunwoo requested a review from joyeecheung July 14, 2026 23:39
joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 20, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 20, 2026

Copy link
Copy Markdown
Collaborator

joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 19, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

richardlau added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Aug 21, 2026
nodejs-github-bot merged commit 9ea6182 into nodejs:main Aug 21, 2026
48 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 9ea6182

nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 21, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
process.config.variables.is_debug is only populated by the GN build
flow (tools/generate_config_gypi.py), so on the gyp builds used by CI
the guard never fired and SEA tests ran on Linux debug builds against
the original intent. Switch to
process.config.target_defaults.default_configuration === 'Debug',
matching the pattern used in test/common/index.js.

Fixes: #63749
Refs: #61483
Signed-off-by: Hyunwoo Gu <realization0327@gmail.com>
PR-URL: #63751
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
process.config.variables.is_debug is only populated by the GN build
flow (tools/generate_config_gypi.py), so on the gyp builds used by CI
the guard never fired and SEA tests ran on Linux debug builds against
the original intent. Switch to
process.config.target_defaults.default_configuration === 'Debug',
matching the pattern used in test/common/index.js.

Fixes: #63749
Refs: #61483
Signed-off-by: Hyunwoo Gu <realization0327@gmail.com>
PR-URL: #63751
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SEA tests flaky on Linux ARM debug mode

5 participants


Back | FazBrowse Home | New Git URL