Skip to content

implement poisoned sandbox support#292

Merged
simongdavies merged 1 commit intohyperlight-dev:mainfrom
simongdavies:poisoned
Dec 8, 2025
Merged

implement poisoned sandbox support#292
simongdavies merged 1 commit intohyperlight-dev:mainfrom
simongdavies:poisoned

Conversation

@simongdavies
Copy link
Copy Markdown
Member

This pull request introduces robust support for handling, detecting, and recovering from poisoned sandboxes in the hyperlight-wasm. The changes include a new example demonstrating interruption and recovery, new API methods and documentation for poisoned state management, and tests to ensure correct behavior when sandboxes are interrupted or poisoned.

@simongdavies simongdavies added the kind/enhancement New feature or request label Dec 4, 2025
Comment thread src/hyperlight_wasm/examples/interruption/main.rs Outdated
Comment thread src/hyperlight_wasm/examples/interruption/main.rs Outdated
Comment thread src/hyperlight_wasm/examples/interruption/main.rs Outdated
Copy link
Copy Markdown
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are going to run the examples in CI I think they should fail if they are not doing what we expect.

Otherwise LGTM!

dblnz
dblnz previously approved these changes Dec 4, 2025
Copy link
Copy Markdown
Contributor

@dblnz dblnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

ludfjig
ludfjig previously approved these changes Dec 4, 2025
Comment thread src/hyperlight_wasm/src/sandbox/loaded_wasm_sandbox.rs
@simongdavies simongdavies dismissed stale reviews from ludfjig and dblnz via 7cfcde0 December 8, 2025 16:12
@simongdavies simongdavies force-pushed the poisoned branch 4 times, most recently from c01daae to 82e7778 Compare December 8, 2025 17:47
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies enabled auto-merge (squash) December 8, 2025 18:28
@simongdavies simongdavies merged commit 2bda460 into hyperlight-dev:main Dec 8, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants