Visitar URL original
test: re-enable Node.js tests that now pass with BoringSSL by claude[bot] · Pull Request #55071 · electron/electron · GitHub
Skip to content

test: re-enable Node.js tests that now pass with BoringSSL - #55071

Merged
MarshallOfSound merged 2 commits into
mainfrom
claude/reenable-node-tests
Oct 18, 2026
Merged

MarshallOfSound merged 2 commits into
mainfrom
claude/reenable-node-tests

Conversation

@claude

@claude claude Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Requested by David Babenko-Sanders · Slack thread

Description of Change

This removes 76 entries from script/node-disabled-tests.json. Most of these tests were disabled because BoringSSL behaves differently from OpenSSL. Upstream Node.js made them BoringSSL-aware in nodejs/node#63161 (v24.18.0) and fixed the ML-KEM expectations in nodejs/node#65966 (v24.22.0), so they pass now. The es-module/test-esm-wasm entry was a stale prefix: tools/test.py matches entries as substrings of the test path, so that one entry was also hiding 13 split files that pass (the source-phase files stay disabled under their own entries). A handful of entries are dropped because the tests now skip themselves under Electron. Four tests that pass but could be timing- or GC-sensitive (parallel/test-cluster-primary-error, parallel/test-cluster-primary-kill, parallel/test-diagnostics-channel-memory-leak, parallel/test-worker-resource-limits) go to script/node-flaky-tests.json instead, so they run but a failure doesn't fail the job. es-module/test-vm-compile-function-lineoffset and parallel/test-domain-error-types stay disabled because they crash on the dcheck testing build (a V8 Smi::IsValid debug check, and a segfault under --stress-compaction). I ran the tests locally on Linux x64 against nightly 46.0.0-nightly.20261015 (Node 24.21.0), several runs each, and they passed every time. The Node 24.22 nightly (20261016) wasn't on the mirror yet, so none of these have run on a Node 24.22 binary. In particular, parallel/test-sqlite-backup, parallel/test-crypto-pqc-key-objects-ml-kem, the parallel/test-crypto-keygen* files and parallel/test-tls-hello-parser-failure have only been checked against the 24.21 binary, so this PR's own node test run on the testing build is the first check on 24.22.

Checklist

🤖 Generated with Claude Code

https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

Release Notes

Notes: none


Generated by Claude Code

Most of these were disabled because BoringSSL behaved differently from
OpenSSL. Upstream Node.js made the tests BoringSSL-aware in
nodejs/node#63161 (v24.18.0) and fixed the ML-KEM expectations in
nodejs/node#65966 (v24.22.0), so they now pass.

The es-module/test-esm-wasm entry is a stale prefix: test.py matches
entries as substrings of the path, so it was hiding 13 split files that
pass. A few entries are dropped because the tests now skip themselves.

parallel/test-cluster-primary-error, parallel/test-cluster-primary-kill,
parallel/test-diagnostics-channel-memory-leak and
parallel/test-worker-resource-limits move to the flaky list instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M
@claude

claude Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

CI note on the linux-x64 / test / test (linux, 1) failure (job):

No spec actually failed in that shard (46 files passed, 19 skipped; 1546 tests passed, 0 failed). Vitest exited 1 because of one unhandled pool error: the Electron worker for api-dialog.spec.ts died before it reported ready.

Error: [vitest-pool]: Failed to start electron worker for test files .../spec/api-dialog.spec.ts.
Caused by: Error: Electron spec worker exited before it was ready (code 1, signal null)

This PR didn't cause it. The diff only edits script/node-disabled-tests.json and script/node-flaky-tests.json, which only script/node-spec-runner.js reads for the Node.js test job, so the Electron spec suite never sees them. The same shard passed on the latest main push runs (for example 38938731419 and 38937168651), so this looks like an intermittent worker-startup flake. I didn't find a fix for it on main.

I tried to re-run the job, but GitHub refused because the run is still in progress ("The workflow run containing this job is already running"). It can be re-run once the rest of the run finishes.


Generated by Claude Code

test-vm-compile-function-lineoffset hits a V8 Smi::IsValid debug check and test-domain-error-types segfaults under --stress-compaction.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M
@dsanders11
dsanders11 marked this pull request as ready for review October 17, 2026 00:41
@dsanders11 dsanders11 added target/43-x-y PR should also be added to the "43-x-y" branch. target/44-x-y PR should also be added to the "44-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. labels Oct 17, 2026
@MarshallOfSound
MarshallOfSound merged commit bcc5c51 into main Oct 18, 2026
94 checks passed
@release-clerk

release-clerk Bot commented Oct 18, 2026

Copy link
Copy Markdown

No Release Notes

@MarshallOfSound
MarshallOfSound deleted the claude/reenable-node-tests branch October 18, 2026 04:16
@trop

trop Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "43-x-y" cleanly;
you will need to perform this backport manually.

@trop

trop Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "45-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/43-x-y and removed target/43-x-y PR should also be added to the "43-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. labels Oct 18, 2026
@trop

trop Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "44-x-y" cleanly;
you will need to perform this backport manually.

@trop

trop Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

claude[bot] has manually backported this PR to "43-x-y", please check out #55094

@trop

trop Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

claude[bot] has manually backported this PR to "44-x-y", please check out #55095

@trop

trop Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

claude[bot] has manually backported this PR to "45-x-y", please check out #55096

jkleinsc pushed a commit that referenced this pull request Oct 19, 2026
test: re-enable Node.js tests that now pass with BoringSSL (#55071)

* test: re-enable Node.js tests that now pass with BoringSSL

Most of these were disabled because BoringSSL behaved differently from
OpenSSL. Upstream Node.js made the tests BoringSSL-aware in
nodejs/node#63161 (v24.18.0) and fixed the ML-KEM expectations in
nodejs/node#65966 (v24.22.0), so they now pass.

The es-module/test-esm-wasm entry is a stale prefix: test.py matches
entries as substrings of the path, so it was hiding 13 split files that
pass. A few entries are dropped because the tests now skip themselves.

parallel/test-cluster-primary-error, parallel/test-cluster-primary-kill,
parallel/test-diagnostics-channel-memory-leak and
parallel/test-worker-resource-limits move to the flaky list instead.


Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

* test: keep two node tests disabled that crash on the testing build

test-vm-compile-function-lineoffset hits a V8 Smi::IsValid debug check and test-domain-error-types segfaults under --stress-compaction.


Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

---------


(cherry picked from commit bcc5c51)


Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

Co-authored-by: Claude <noreply@anthropic.com>
@trop trop Bot added merged/45-x-y PR was merged to the "45-x-y" branch. and removed in-flight/45-x-y labels Oct 19, 2026
jkleinsc pushed a commit that referenced this pull request Oct 19, 2026
test: re-enable Node.js tests that now pass with BoringSSL (#55071)

* test: re-enable Node.js tests that now pass with BoringSSL

Most of these were disabled because BoringSSL behaved differently from
OpenSSL. Upstream Node.js made the tests BoringSSL-aware in
nodejs/node#63161 (v24.18.0) and fixed the ML-KEM expectations in
nodejs/node#65966 (v24.22.0), so they now pass.

The es-module/test-esm-wasm entry is a stale prefix: test.py matches
entries as substrings of the path, so it was hiding 13 split files that
pass. A few entries are dropped because the tests now skip themselves.

parallel/test-cluster-primary-error, parallel/test-cluster-primary-kill,
parallel/test-diagnostics-channel-memory-leak and
parallel/test-worker-resource-limits move to the flaky list instead.


Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

* test: keep two node tests disabled that crash on the testing build

test-vm-compile-function-lineoffset hits a V8 Smi::IsValid debug check and test-domain-error-types segfaults under --stress-compaction.


Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

---------


(cherry picked from commit bcc5c51)


Claude-Session: https://claude.ai/code/session_01CfxP4tDxnGgFhy1kPesp3M

Co-authored-by: Claude <noreply@anthropic.com>
@trop trop Bot added merged/44-x-y PR was merged to the "44-x-y" branch. merged/43-x-y PR was merged to the "43-x-y" branch. and removed in-flight/44-x-y in-flight/43-x-y labels Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

46-x-y merged/43-x-y PR was merged to the "43-x-y" branch. merged/44-x-y PR was merged to the "44-x-y" branch. merged/45-x-y PR was merged to the "45-x-y" branch. semver/none

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants