-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Revert "fs: add v8 fast api to closeSync" #53904
Revert "fs: add v8 fast api to closeSync" #53904
Conversation
This reverts commit ed6f45b.
Let's wait for landing this PR for a couple days in case we can find a solution that doesn't require a revert, unless we ship a new version soon. |
This comment was marked as outdated.
This comment was marked as outdated.
Re-opening per #53902 (comment) |
@anonrig (I know it's only been a few hours) The other PR (according to #53902 (comment)) only resolves part of the issue, and reverting it will resolve the other part. IMO the revert should be sent out in a patch for 22.5.X, so that users have a stable 22.5? |
What other issue are you referring to? #53910 fixes the crash. |
According to #53902 (comment), Yarn scripts fail with:
I've confirmed this is the case with 22.5.0, but I haven't tested your patch. |
I'm cloning your PR now, so I'll test whether or not it fixes the yarn issue |
Quoting myself from #53902 (comment):
So that issue isn't reproduced by |
Does @anonrig's PR fix the issue? |
After testing:
|
@RedYetiDev Reverting this PR will fix this problem but postpone the timeline to find the root cause of the underlying problem. Since V8 fast APIs are added constantly, and will be added in the future, it is important to gather as much as evidence as we can in order to increase our test suite to prevent regressions. Since, we have time, we should merge this PR as a last resort in case we can't find a solution before we create a new Node.js release. Right now, we have time, and without finding the root cause, merging this PR will not help the project. I understand your eagerness but we need to learn from our bugs/mistakes and missing test coverage so that we don't break Yarn in the future specific to this. As of now, I recommend gathering as much as data we can, to find a suitable regression, that doesn't force us to run an external script. |
Got it. Thanks, I exaggerated, and you are right. We do have time to find the cause. I'll look into it more rather than to just revert. |
Not the issue affecting Yarn, no. |
Given the widespread issues, I agree. CI has passed for this PR. |
cc @nodejs/releasers can we release a new version with this commit? |
Fast-track has been requested by @anonrig. Please 👍 to approve. |
Landed in c0c7e86 |
Agreed. as discussed here, other issues, and slack, I believe the best course of action is to release a patch, and urge users to update. |
This reverts commit ed6f45b. PR-URL: #53904 Refs: yarnpkg/berry#6398 Refs: npm/cli#7657 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
This reverts commit ed6f45b (#53627). That commit appears to have introduced regressions into 22.5.0, so this PR reverts it.
Fixes #53902
Ref: yarnpkg/berry#6398
Ref: npm/cli#7657
(And all linked issues in the ones above)
CC @anonrig