-
Notifications
You must be signed in to change notification settings - Fork 177
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
ci vitest fails "handle integrity checks" on Windows Node.js 23 #597
Comments
The assertion is set here: https://github.com/libuv/libuv/blob/be8eec8c5a99bcce5a1b8435237dad588cfd9f28/src/win/async.c#L76 We could try updating the other dev dependencies (in particular, the Yarn fslib that's listed in the error message). If that doesn't help, it might be worth opening as an issue on the libuv repo as it could be an upstream bug. |
Thank you for looking at this. I did try updating dependencies i.e. corepack yarn add better-sqlite3@latest -D
corepack yarn up
corepack yarn build
corepack yarn test however that still failed in the same way on Windows 11 with Node.js As you say, it could be an upstream issue. I don't have the skills and experience to solve this. I also wouldn't be the right person to open an issue on |
I've opened nodejs/node#56645 |
Thanks for taking a look at this issue and providing repro steps for I did observe the test passing once, so that could be consistent with nodejs/node#56645 (comment), if this is perhaps a race condition. I also saw that Node.js 23.0.0 included several commits involving |
Issue
When running
corepack yarn test
on Windows with Node.js 23.x the test fails with:The issue does not occur on Windows with Node.js 18, 20 or 22, for example Node.js 22.13.0 LTS.
This is a problem preventing CI updating to testing on Node.js 23.At this time it is not identified as an end-user issue.Edit: CI has been updated to run Node.js 23, with the exception of on Windows.
The error only occurs testing an error condition, so potentially for an end-user it may mean that an incorrect error message is issued if an attempt is made to use an invalid package manager version. This has however so far not been observed outside of internal tests.
Steps to reproduce
Windows 11 24H2
Node.js
v23.0.0
,v23.6.0
orv23.7.0
Use Drive
C:
for cloneIt is also reproducible in GitHub runners
windows-2022
andwindows-2025
git clone https://github.com/nodejs/corepack cd corepack corepack yarn corepack yarn build corepack yarn run vitest --run
or to only run the test section which fails:
corepack yarn run vitest -t "handle integrity checks" --run
Logs
The text was updated successfully, but these errors were encountered: