bin-runner #36

Merged
zacheryasc merged 103 commits from bin-runner into master 2026-02-13 14:11:40 +00:00
2 changed files with 1 additions and 1 deletions
Showing only changes of commit 1be0281056 - Show all commits

View file

@ -50,6 +50,7 @@ impl ActorInterface for WasmActor {
// 3. Call guest handle
if self.handle.call(&mut self.store, (ptr, len)).is_err() {
self.store.data_mut().outbox.clear(); // discard sends from incomplete operation
return; // handle trapped — drop message, keep actor alive
}

View file

@ -743,7 +743,6 @@ fn native_actor_communicates_with_wasm_actor() {
// ── Stale outbox: sends before trap leak into next handle ─────────────────────
#[test]
#[ignore] // BUG: outbox not cleared on handle trap — stale entries leak into next call
fn outbox_entries_from_trapped_handle_do_not_leak_into_next_call() {
// A guest that calls swactor.send() successfully, then traps.
// The outbox contains the send from before the trap.