Skip to content

feat(wasm): bootstrap owned threaded guest instances - #40

Merged
zackees merged 25 commits into
mainfrom
feat/35-owned-thread-bootstrap
Aug 27, 2026
Merged

zackees merged 25 commits into
mainfrom
feat/35-owned-thread-bootstrap

Conversation

@zackees

@zackees zackees commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

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

@zackees
zackees merged commit 696df60 into main Aug 27, 2026
21 of 25 checks passed
@zackees
zackees deleted the feat/35-owned-thread-bootstrap branch August 27, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant