Repository navigation
feat(wasm): bootstrap owned threaded guest instances - #40
Merged
Merged
Conversation
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\n- Execute admitted threaded Rust command guests through exported _start, with one engine-owned shared memory/prelink and fresh root/child Stores and Instances.\n- Own synchronous wasi::thread-spawn: bounded TIDs/capacity/closing rejection (-1 ABI plus bounded facade diagnostics), cooperative drain, and deterministic typed child outcomes.\n- Add the private validation-artifact lane: fixed 64-byte atomic report validated after root and child completion; the source-only Rust 1.95 guest proves two std::thread children, Arc/atomic, Mutex, mpsc, and pinned DashMap 6.1.0. This is independent of fp-bindgen.\n\n## Validation\n- Windows Soldr: fmt; wasm-feature check/clippy; focused admission/root/profile/report tests; plain no-default check/clippy/tree/tests (no wasmtime, wasmparser, or wat); and CI-equivalent all-features suite with the two Windows PDB quarantines.\n- Direct Rust 1.95 diagnostic artifact: C:\Users\niteris\.clud\tmp\kernal-api-35-validation\command.wasm, 141,722 bytes, SHA-256 BA33416332CCCF7F4DA879C6BC04D7BF6A3DDBBBF8D068546ACC3EFC7F157A21; private validation execution passed.\n- Bosn 0.1.3 jobs with CARGO_BUILD_JOBS=1: fmt j1-f88e2059, lint j2-402e92f4, test j3-2f40af15, all return 0.\n\nGHA was intentionally not awaited because the local and managed Bosn gates passed. Normal Cargo production of the guest artifact remains blocked by soldr#2919, so this PR Refs #35 rather than closing it.\n\nRefs #35