Skip to content

feat(wasm): add killable worker containment foundation - #52

Merged
zackees merged 42 commits into
mainfrom
feat/28-killable-wasm-worker
Aug 27, 2026
Merged

zackees merged 42 commits into
mainfrom
feat/28-killable-wasm-worker

Conversation

@zackees

@zackees zackees commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

Implements the private, one-request Wasm worker foundation for killable sketch execution:

  • bounded, versioned worker protocol with post-assembly ExecuteAck, typed terminals, and a strict module-size cap;
  • cancellation/deadline/forced-containment paths with deferred cleanup ownership;
  • Windows Job assignment before resume, Linux process-group plus PR_SET_PDEATHSIG, and macOS process-group plus kqueue containment;
  • PID-plus-creation identity test support and retained parent accounting;
  • default-feature isolation: worker/Wasmtime stay opt-in.

Validation

  • Native Windows x86_64: full all-features suite passed (410 library, 79 kernal-symbolize, 14 worker-binary, containment 6 passed + 2 intended inner ignores); no-default suite passed (181); Windows ARM64 compile-only and macOS x86_64/ARM64 compile-only completed.
  • Managed Bosn Linux (CARGO_BUILD_JOBS=1): fmt, worker/test-support checks and clippy, parser/identity units, serial containment (6 passed + 2 intentional inner ignores), all-feature check/clippy/full suite (323 library, 54 kernal-symbolize, 14 worker-binary), plus no-default check/test/tree isolation all passed. Persisted jobs j15-cbae57c3 through j20-805af44d succeeded; final daemon status was online with zero sessions.
  • Formal review: clean. GitHub Actions intentionally not awaited because native Windows and managed Bosn Linux gates passed.

Remaining #28 scope

Refs #28

zackees added 30 commits August 27, 2026 10:47
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