-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
weak-napi
broken in Node 14.7.0 (working in 14.6.0)
#34636
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I’ve confirmed that reverting it fixes the
@nodejs/citgm I’d be 👍 on this. That being said, I don’t think the |
Hmm, interesting! We'll have to do something similar in Jest then, as it has 2 failing tests on 14.7. Is 4 |
@SimenB There isn’t really any strong guarantee, partly because V8 itself also doesn’t give us any strong guarantees. 2 × |
Cool, thanks! Using 4 fixed both failing tests, but I can do 10 just to be safe |
@addaleax close this then? CI is passing with the added |
Yeah, unless this is causing any trouble besides the timing difference, I think there’s nothing actionable here. Let us know if we should reopen :) |
|
Darwin Simens-MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64 x86_64
What steps will reproduce the bug?
Clone https://github.com/node-ffi-napi/weak-napi, run install and run the tests. They fail on node 14.7.0, but pass on node 14.6.0.
I discovered this via Jest's tests failing (which use
weak-napi
). I assume Jest's--detect-leaks
feature is broken for this version of Node.(
weak-napi
could probably be added to CITGM)How often does it reproduce? Is there a required condition?
It always fails
What is the expected behavior?
Tests should pass 🙂
What do you see instead?
Tests fail 🙁
Additional information
I haven't bisected, but #34386 seems like the obvious candidate looking at the changelog
/cc @addaleax
The text was updated successfully, but these errors were encountered: