Bump napi: re-raise guest WASI process exits (ECO-416) - #6829
Open
Arshia001 wants to merge 1 commit into
Open
Conversation
Arshia001
force-pushed
the
eco-416-tls-handshake
branch
from
July 28, 2026 14:31
ed866f2 to
0c13caf
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bumps the lib/napi git submodule to pick up ECO-416 behavior changes so that guest proc_exit/WasiError::Exit raised from inside a host→guest callback is re-propagated through the N-API import layers (instead of being swallowed), preventing hangs in the host event loop.
Changes:
- Updates the
lib/napisubmodule pointer from8224dc35e95f…tof3d5335f8bbc…. - (From PR description) Intended to restore correct process-exit propagation semantics for V8-imports callback trampolines, fixing
test-tls-handshake-exception.
Arshia001
force-pushed
the
eco-416-tls-handshake
branch
from
July 28, 2026 14:54
0c13caf to
504bfbb
Compare
Arshia001
force-pushed
the
eco-416-tls-handshake
branch
from
July 28, 2026 16:10
504bfbb to
dd51ecc
Compare
1 task
Arshia001
force-pushed
the
eco-416-tls-handshake
branch
from
August 4, 2026 13:56
dd51ecc to
0985808
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the
lib/napisubmodule to pull wasmerio/napi#47 (317fac4).The N-API callback trampoline now re-raises a guest
WasiError::Exit(Node's fatal-exceptionstd::_Exiton the main thread) through the N-API import layers instead of swallowing it. A guest thatproc_exits from inside a host→guest callback now tears down only its own instance cleanly, instead of leaving the host event loop spinning forever. Fixestest-tls-handshake-exceptionon the V8-imports lane (the last V8-only parity gap in theparallel/surface).Cargo.lock is unchanged (making
wasmer-wasixnon-optional in the napi crate changes only a feature edge; the CLI already links wasix). Stacked on #6825.🤖 Generated with Claude Code