Skip to content

test: fix Windows report cleanup and mark SmartOS flake - #66428

Open
panva wants to merge 3 commits into
nodejs:mainfrom
panva:test-process-timeout-deflake
Open

panva wants to merge 3 commits into
nodejs:mainfrom
panva:test-process-timeout-deflake

Conversation

@panva

@panva panva commented Oct 1, 2026

Copy link
Copy Markdown
Member

Address JS failures from https://github.com/nodejs/reliability/blob/main/reports/2026-10-01.md

Split the blocked-worker report case added by #66304 into its own test. Give the grandchild a working directory outside the temporary directory so it cannot block cleanup on Windows while waiting to detect its parent's exit.

Mark test-worker-init-failure flaky on Solaris/SmartOS. #65796 made V8 entropy collection open /dev/urandom there, which can abort under the test's deliberate descriptor exhaustion. The libuv update in #66282 includes libuv/libuv#5187 which ought to resolve this.

panva added 3 commits October 1, 2026 08:16
Move the blocked Worker case into its own test.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
The grandchild can briefly outlive the timed-out process while it waits
to detect its parent's exit. Give it a working directory outside the
test's temporary directory so it does not block cleanup on Windows.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
Track the descriptor-dependent V8 entropy failure until the libuv update
in nodejs#66282 removes the dependency on opening /dev/urandom.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
@panva
panva requested a review from trivikr October 1, 2026 06:27
@panva panva added flaky-test Issues and PRs involving tests that fail intermittently in CI. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. labels Oct 1, 2026
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. report Issues and PRs related to Node.js diagnostic reports. test Issues and PRs related to Node.js core tests and test infrastructure. labels Oct 1, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.37%. Comparing base (cede7e6) to head (a8fb011).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #66428      +/-   ##
==========================================
- Coverage   90.39%   90.37%   -0.02%     
==========================================
  Files         792      792              
  Lines      275697   275697              
  Branches    52868    52866       -2     
==========================================
- Hits       249208   249166      -42     
- Misses      16892    16929      +37     
- Partials     9597     9602       +5     

see 32 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@panva panva added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Oct 1, 2026
@panva panva added the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 1, 2026
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. commit-queue PRs queued for automated landing through the Commit Queue. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. flaky-test Issues and PRs involving tests that fail intermittently in CI. needs-ci PRs that need a full CI run. report Issues and PRs related to Node.js diagnostic reports. 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.

4 participants