Skip to content

feat(wasm): enforce threaded sketch module admission - #30

Merged
zackees merged 13 commits into
mainfrom
feat/25-wasm-engine-admission
Aug 27, 2026
Merged

zackees merged 13 commits into
mainfrom
feat/25-wasm-engine-admission

Conversation

@zackees

@zackees zackees commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Fixes #25.

Refs #15, #13, and #14. The managed-Linux CARGO_BUILD_JOBS=1 setting is the temporary safe mitigation tracked by #29.

Summary

  • Add a private, feature-gated Wasmtime 45 / Cranelift sketch-module compiler with strict pre-JIT admission.
  • Reject nonconforming imports, exports, metadata, start functions, alternate or duplicate memories, unsupported memory forms, custom pages, ambient WASI, oversized metadata, and invalid ABI type references before compilation.
  • Keep default = [] and full free of Wasmtime, wasmparser, and wat; preserve facade-owned errors and private backend handles.
  • Stabilize managed Linux validation of the heavyweight graph with one Cargo job while Soldr pre-Cargo admission is unavailable (ci(bosn): adapt Cargo jobs from Soldr admission #29).

Validation

  • Windows: formatting; focused Wasm admission/isolation; feature-gated all-target check and clippy with warnings denied; default-feature tree/tests; all-features tests with only the two existing PDB skips.
  • Managed Linux: Bosn doctor, fmt, lint, and full all-features test passed with CARGO_BUILD_JOBS=1.
  • Review/cleanliness: git diff --check origin/main...HEAD and final clean worktree.

@zackees
zackees merged commit ffc3cb9 into main Aug 27, 2026
21 of 25 checks passed
@zackees
zackees deleted the feat/25-wasm-engine-admission branch August 27, 2026 08:31
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.

feat(wasm): add engine policy and strict module admission validation

1 participant