feat: Node.js conformance tests, kernel networking, and bridge improvements#51
Merged
NathanFlurry merged 1 commit intomainfrom Mar 25, 2026
Merged
Conversation
…rovements - Implement kernel socket table with TCP, UDP, Unix socket, and socketpair support - Add loopback routing, server sockets, shutdown/half-close, socket options/flags - Add network permissions, external routing via host adapter, Node.js HostNetworkAdapter - Add DNS cache, timer table, inode table, wait queue, signal handler registry - Migrate Node.js bridge to kernel: FD table, net.connect, http.createServer, SSRF, child process - Route WasmVM sockets through kernel, add bind/listen/accept/sendto/recvfrom WASI extensions - Add C sysroot patches and test programs for server/UDP/Unix/signal handling - Remove legacy networking Maps from Node.js driver and bridge - Fix CI crossterm build, wire TimerTable and handle tracking to bridge - Implement SA_RESTART, SA_RESETHAND, O_NONBLOCK, O_EXCL/O_TRUNC, backlog limits - Wire InodeTable into VFS for deferred unlink and real nlink/ino - Add readdir "." and "..", /proc filesystem population, poll timeout -1 - Implement blocking flock and pipe write with WaitQueue - Add getLocalAddr/getRemoteAddr, WasmVM getsockname/getpeername, setsockopt routing - Fix ESM parity: native V8 ESM mode, top-level await, dynamic import failures - Add Node.js conformance test runner (19.9% genuine pass rate, 704/3532 tests) - Add conformance report generator script and docs page - Add adversarial review of kernel consolidation PRD Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
a1ec33e to
463eb06
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.
Summary
expectations.jsontracking 7,600+ upstream Node.js v22.14.0 tests, with cross-validation mitigations to prevent overfittingTest plan
packages/core/test/kernel/)packages/secure-exec/tests/node-conformance/)packages/wasmvm/test/net-*.test.ts)packages/secure-exec/tests/kernel/)🤖 Generated with Claude Code