Skip to content

test: deflake recent CI failures - #66887

Open
panva wants to merge 2 commits into
nodejs:mainfrom
panva:reliability-2026-10-21
Open

panva wants to merge 2 commits into
nodejs:mainfrom
panva:reliability-2026-10-21

Conversation

@panva

@panva panva commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Deflake tests found during the October 17–21 CI sweep that aren't addressed by other PRs yet:

  • parallel/test-http-agent-keepalive: wait for socket closure before checking agent state.
  • addons/stringbytes-external-exceed-max/*: recognize ERR_MEMORY_ALLOCATION_FAILED for the existing low-memory skip.

E.g.

panva added 2 commits October 21, 2026 09:32
The cleanup assertions can run before the socket closes when I/O is
delayed. Wait for the socket's close event in both the remote-close and
remote-error paths.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
Buffer.allocUnsafe() can throw ERR_MEMORY_ALLOCATION_FAILED under
memory pressure. Accept it alongside the V8 allocation-failure
message so the tests take their intended low-memory skip.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
@panva panva added flaky-test Issues and PRs involving tests that fail intermittently in CI. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. labels Oct 21, 2026
@nodejs-github-bot nodejs-github-bot added addons Issues and PRs related to native addons. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Oct 21, 2026
@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.58%. Comparing base (221b47d) to head (2e1948b).
⚠️ Report is 21 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #66887   +/-   ##
=======================================
  Coverage   90.57%   90.58%           
=======================================
  Files         797      797           
  Lines      278362   278362           
  Branches    53497    53502    +5     
=======================================
+ Hits       252138   252146    +8     
+ Misses      16574    16565    -9     
- Partials     9650     9651    +1     

see 24 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 21, 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 Oct 21, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva panva added the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Oct 21, 2026
@github-actions github-actions Bot removed the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Oct 21, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva panva added the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addons Issues and PRs related to native addons. 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. 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.

5 participants