-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
deps: cherry-pick e7f4e9e from upstream libuv #16724
Conversation
Original commit message: tty, win: get SetWinEventHook pointer at startup SetWinEventHook is not available on some Windows versions. Fixes: nodejs#16603 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> fixes: nodejs#16603
I would like to see this patch land ASAP so we can land on 9.x, 8.x, 6.x and test over the weekend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I guess, but I'm old and set in my ways: why float a patch when we can just upgrade libuv wholesale?
@bnoordhuis I'm guessing since this will go into an LTS release almost immediately. If we release 1.16.0 and update to that, there is a chance of other regressions going directly into v6. |
That makes sense, and I'm okay with it because it's Windows. Floating a UNIX fix as a patch however means distro builds miss out on it because they link to libuv.so, not our bundled copy. What I mean to say is, let's not turn it into a new tradition. |
Good point, as usual.
Completely agree. |
@cjihrig @bnoordhuis if y'all want to cut a 1.15.1 with this patch I'd be more than happy to do a more official upgrade. Open to whatever y'all think it best |
In this case I think I'd rather just go with a cherry-pick. I'll likely be doing a full 1.16.0 release early next week and updating Node with that. |
CI against rebased master: https://ci.nodejs.org/job/node-test-pull-request/11181/ if this is green I plan to land on master, 9.x-staging, 8.x-staging, and 6.x-staging /cc @nodejs/tsc @nodejs/lts please lmk if you have any objects to landing quickly |
+1 to landing quickly. |
landed in 92f8663 |
Original commit message: tty, win: get SetWinEventHook pointer at startup SetWinEventHook is not available on some Windows versions. Fixes: #16603 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> PR-URL: #16724 Fixes: #16603 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Original commit message: tty, win: get SetWinEventHook pointer at startup SetWinEventHook is not available on some Windows versions. Fixes: #16603 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> PR-URL: #16724 Fixes: #16603 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Original commit message: tty, win: get SetWinEventHook pointer at startup SetWinEventHook is not available on some Windows versions. Fixes: #16603 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> PR-URL: #16724 Fixes: #16603 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Original commit message: tty, win: get SetWinEventHook pointer at startup SetWinEventHook is not available on some Windows versions. Fixes: #16603 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> PR-URL: #16724 Fixes: #16603 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
landed on v9.x-staging, v8.x-staging, and v6.x-staging |
Original commit message:
tty, win: get SetWinEventHook pointer at startup
fixes: #16603
A change in libuv has broken the ability to compile node in Windows NanoServer container. Floating this patch fixes it 🎉