Repository navigation
doc,lib,src: throw on missing WebAssembly or RX support - #66533
ShogunPanda wants to merge 3 commits into
Conversation
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
|
Review requested:
|
|
Undici PR: nodejs/undici#5966 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #66533 +/- ##
==========================================
- Coverage 92.74% 90.42% -2.32%
==========================================
Files 422 791 +369
Lines 193170 276531 +83361
Branches 29783 53097 +23314
==========================================
+ Hits 179160 250064 +70904
- Misses 13682 16856 +3174
- Partials 328 9611 +9283
🚀 New features to boost your workflow:
|
|
What's the semverness of this change? IIUC there's already an error thrown, this change only improves the DX by throwing a proper one, so
semver-minor
|
|
@aduh95 Yes, I concur: minor. |
Failed to start CIFull Auto Start CI output |
|
@ShogunPanda can you please refrain from cancelling top-level jobs? Not only the cancellation does not propagate to the lower jobs (the ones that are actually stuck), but it also removes the possibility to resume the CI. In any case, launching a new CI is not going to help as long as the Windows CI is not available |
|
@aduh95 Noted, didn't know about it. Sorry. |
|
I don't know, I'm not part of the Build WG, but looking at https://ci.nodejs.org/job/node-test-commit-windows-fanned/, the situation has not evolved. I'm not sure anyone has even opened an issue to nodejs/build, in which case this is not even being investigated in all likeliness, that should be the first step |
Summary
When WebAssembly or RX memory are not available, eventually due to
--jitless, a catchable error is now thrown.In the docs is also clearly stated that if a feature requires one of the features above, Node.js guarantess no fallback.
Changes
ERR_WEBASSEMBLY_NOT_SUPPORTEDfor WASM module imports, including source-phase imports.ERR_RX_MEMORY_NOT_SUPPORTEDfor otherwise eligible FFI Fast API functions when the executable-memory probe fails.Notes
A Undici / Fetch similar change is deferred to a separate upstream change.
Assisted-By: OpenAI:GPT-6.1 Sol <openai/gpt-6.1-sol>