Skip to content

Revert "deps: update libuv to 1.52.1"#62497

Open
jasnell wants to merge 1 commit intonodejs:mainfrom
jasnell:jasnell/revert-5bebd7e
Open

Revert "deps: update libuv to 1.52.1"#62497
jasnell wants to merge 1 commit intonodejs:mainfrom
jasnell:jasnell/revert-5bebd7e

Conversation

@jasnell
Copy link
Copy Markdown
Member

@jasnell jasnell commented Mar 29, 2026

This reverts commit 5bebd7e.

The update appears to be causing persistent flakiness in test-http(s), test-net-, and test-tls- tests on Windows. The flakiness manifests as an abort apparently caused by a race condition introduced in connection cleanup on process teardown. Root cause still needs to be fully determined. Reverting the update will hopefully get us back to a stable state while the underlying issue is investigated and resolved.

This reverts commit 5bebd7e.

The update appears to be causing persistent flakiness in test-http(s),
test-net-*, and test-tls-* tests on Windows. The flakiness manifests
as an abort apparently caused by a race condition introduced in
connection cleanup on process teardown. Root cause still needs to be
fully determined. Reverting the update will hopefully get us back to
a stable state while the underlying issue is investigated and resolved.
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added libuv Issues and PRs related to the libuv dependency or the uv binding. needs-ci PRs that need a full CI run. labels Mar 29, 2026
@jasnell
Copy link
Copy Markdown
Member Author

jasnell commented Mar 29, 2026

Note that i was able to repro the issue on windows locally; and after applying the revert locally it has not reoccurred yet.

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anonrig
Copy link
Copy Markdown
Member

anonrig commented Mar 29, 2026

cc @nodejs/libuv

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.71%. Comparing base (e78ccd8) to head (8d72d50).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main   #62497    +/-   ##
========================================
  Coverage   89.70%   89.71%            
========================================
  Files         691      692     +1     
  Lines      213935   214039   +104     
  Branches    41050    41065    +15     
========================================
+ Hits       191907   192015   +108     
+ Misses      14095    14092     -3     
+ Partials     7933     7932     -1     

see 53 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.

@lpinca
Copy link
Copy Markdown
Member

lpinca commented Mar 29, 2026

@jasnell I see the issue on CI runs for #62165 and #62158 and that was one week before the libuv update landed, so I don't think the regression is in libuv. I'll try to run git-bisect if I find a way to reproduce, a Windows machine, and time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libuv Issues and PRs related to the libuv dependency or the uv binding. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants