-
-
Notifications
You must be signed in to change notification settings - Fork 32k
[v22.x backport] deps: update libuv to 1.51.0 #57316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v22.x backport] deps: update libuv to 1.51.0 #57316
Conversation
Review requested:
|
PR-URL: nodejs#56616 Backport-PR-URL: nodejs#57316 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Richard Lau <[email protected]>
cf9a573
to
c80bee4
Compare
This still has the same CI failures as #56616 (comment). Most likely this version of libuv has broken something on 32-bit Windows. We no longer build on 32-bit Windows for Node.js 23 which is why this would not have been noticed until attempting to land on Node.js 22 (where we still test and release on 32-bit Windows). cc @nodejs/libuv @nodejs/platform-windows |
I only see this error. Are there more?
That's node's wrapper around |
On 32-bit Windows, the error is:
Coming from Lines 1708 to 1713 in 2a6f908
|
I'll spin a VM and inspect. Please do not expect anything, I do this on my spare time |
Can anyone from @nodejs/build help me out setting up the box? I haven't be able to setup visual studio, not even with Boxstarter. Apparently 32bits vs stuff is not longer distributed or something. |
Cc @nodejs/platform-windows |
Not quite sure, libuv has jobs for Win321; any idea about how should I debug this one? Footnotes |
FWIW I downloaded C:\Users\rlau\Downloads\test>node -p process.versions
{
node: '22.14.1-pre',
acorn: '8.14.0',
ada: '2.9.2',
amaro: '0.3.0',
ares: '1.34.4',
brotli: '1.1.0',
cjs_module_lexer: '1.4.1',
cldr: '46.0',
icu: '76.1',
llhttp: '9.2.1',
modules: '127',
napi: '10',
nbytes: '0.1.1',
ncrypto: '0.0.1',
nghttp2: '1.64.0',
nghttp3: '1.6.0',
ngtcp2: '1.10.0',
openssl: '3.0.15+quic',
simdjson: '3.10.1',
simdutf: '6.0.3',
sqlite: '3.47.2',
tz: '2024b',
undici: '6.21.1',
unicode: '16.0',
uv: '1.50.0',
uvwasi: '0.0.21',
v8: '12.4.254.21-node.22',
zlib: '1.3.0.1-motley-82a5fec'
}
C:\Users\rlau\Downloads\test>node -p process.arch
ia32
C:\Users\rlau\Downloads\test> So maybe this is something more subtle affecting Node.js being executed by the Python-based test runner (either not capturing stdout or exiting with a non zero exit code)? |
Maybe, I tried to move the "binary artifacts" into a fresh Node.js repo in my VM; tests are running "normally". It was as simple as copying the "binary/Release" folder and paste it into "node/out/"; tests seems ok
Just FYI, I haven't been able to compile Node.js in that VM; that's why I'm using the artefacts. Re-ran the the win job with a print of the command addition. https://ci.nodejs.org/job/node-test-commit-windows-fanned/69059/ |
Hi @juanarbol, just a FYI, I'll issue a v22 release soon this week, and this PR might not go due to red-CI. |
I'm ok tho, I don't have the bandwidth to have a deadline or something; I'll keep working on this one on my spare time. |
50b18e3
to
215d717
Compare
11b0fda
to
b9c3fa9
Compare
fa10ba0
to
ef212a4
Compare
Just FYI, I've introduced 78eb583fd3cf55fa6e08d2bcf2e528eb0709a6fd as seems required (see #58124 (comment)) |
Just for the record, I think this fixed thew win32bits issues. libuv/libuv#4679 |
Failed to start CI⚠ Commits were pushed since the last approving review: ⚠ - test: reduce iteration count in test-child-process-stdout-flush-exit ⚠ - deps: update libuv to 1.51.0 ✘ Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/15259273781 |
Humble ping to @nodejs/collaborators. Coverage is failing due to OOM, and It has failed due to OOM 3 times in a row. Is there anything I can/should be doing? |
PR-URL: #58273 Backport-PR-URL: #57316 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #58124 Backport-PR-URL: #57316 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Landed in cb39e4c...e397980 🎉 |
FWIW landing stuff on staging branches is not up to Collaborators, those are managed by the Release WG – typically, whoever prepares the next 22.x release would have taken care of landing it. |
I'm a releaser. |
FWIW #58124 hasn't gone out in a current (i.e. v24.x) release yet, so landing this on |
I'll be more careful next time, I was rushing landing this particular PR due to CI flakes, I don't wanna fight it back again (with the CI); having to re-run CI cuz' target branch diverged is a waste of time. At least that helped pinpointing a flake. I'm sorry. |
According to #58587, the libuv updagrade is causing compilation problems on some platforms |
It's not the libuv update that broke builds for Android, but rather it was the ndk r28. The error in the PR does not happen with NDK r27c. Also anyways what is the usual process of backporting commits to the LTS branches? Are PRs accepted by external contributors for LTS branches (all PRs I see to lts staging branch are from core maintainers)? |
@thunder-coding backport PRs are needed only for changes that do not land cleanly (i.e. either git conflict or red CI). For most cases, there's no action to take to see the change land on Active LTS branches, releasers will cherry-pick the commit as part of the usual release preparation steps after it's been on a Current release for some time. |
PR-URL: #58124
Backport-PR-URL: #57316
Reviewed-By: Anna Henningsen [email protected]
Reviewed-By: Colin Ihrig [email protected]
Reviewed-By: Rafael Gonzaga [email protected]
Reviewed-By: Santiago Gimeno [email protected]
Reviewed-By: Juan José Arboleda [email protected]
Reviewed-By: Antoine du Hamel [email protected]
I had 0 problems locally, I'll kick a CI