Skip to content

feat(wasm): add execution-limit ledger - #45

Merged
zackees merged 4 commits into
mainfrom
feat/41-execution-limit-ledger
Aug 27, 2026
Merged

zackees merged 4 commits into
mainfrom
feat/41-execution-limit-ledger

Conversation

@zackees

@zackees zackees commented Aug 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add facade-owned compiler execution limits and consistent aggregate snapshots
  • reserve the exact 1 GiB threaded shared-memory contract before SharedMemory::new, with RAII release across close, failure, and drop
  • linearize cached-session close against root admission; account roots, stores, instances, and native guest threads without exposing Wasmtime types

Closes #41

Validation

  • RED: commit 90fa92d calls the ledger facade introduced by f7280f5, so it fails to compile without the implementation.
  • Windows: soldr fmt; focused ledger/root tests; no-default Wasm check and clippy; no-default tree confirms no Wasmtime, wasmparser, or wat; no-default tests; CI-equivalent all-features suite with the two PDB skips; all-features clippy.
  • Managed Linux Bosn 0.1.3 with CARGO_BUILD_JOBS=1: fmt, lint, test, and exact-tip focused ledger plus close/root barrier tests passed; status reported no active session afterward.

GHA was intentionally not awaited; local Windows and managed Linux validation passed.

@zackees
zackees merged commit e282de6 into main Aug 27, 2026
20 of 25 checks passed
@zackees
zackees deleted the feat/41-execution-limit-ledger branch August 27, 2026 13:46
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 private execution-limit policy and shared-memory ledger

1 participant