- runtime: mailbox slots grow caller metadata (wo_msg), call parks on WO_PARK_INBOX (the DB-RPC protocol) and the resume consumes a SCALAR reply; FIBER_DONE ships the receive's return value home (same-shard unpark or kind-6 envelope); kind-5 carries cross-shard calls - actor death is real now: a receive trapping uncaught marks the actor dead, error-unparks the in-flight caller AND every queued caller, drops queued payloads + state, releases cap slots; send-to-dead drops silently, call-to-dead traps — a call never hangs. Fixes the pre-existing leak/dangle in TRAPF's fiber-death path (cur_msg leaked, a->active dangled, the mailbox rotted) - compiler: reply typing through actor-M erasure — every receive(M) program-wide must agree on one return type and it must be a copyable scalar (v1); WO-E226 names disagreeing classes / void receives / non-scalar replies; call's message moves exactly like send's (owner) - corpus: run/call-echo (park + ordered replies), run/call-dead-trap (mid-call + to-dead, both catchable), compile-fail/call-void-receive, compile-fail/call-reply-disagree; cross-shard call proof rides the chat gate next - battery 12/12 fresh-built (ASan+TSan lanes in fibers/db-actor green) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| actor | ||
| compile-fail | ||
| db | ||
| gc | ||
| lang | ||
| run | ||
| sample-logwatcher | ||
| sys | ||
| trap | ||
| README.md | ||
tests/corpus/ — the conformance spine
Fixture kinds, exact-outcome matching (byte-equal stdout / exact WO-E### / exact trap code / exact gc step+freed counts):
| dir | kind | landed by plan |
|---|---|---|
run/ |
compiles + runs, expected stdout | 3 |
compile-fail/ |
must fail with expected WO-E### |
3–4 |
trap/ |
must trap with expected code | 3–4 |
gc/ |
cycle collection scenarios | 3 |
actor/ |
shard/spawn/send (ASan+TSan) | 4 |
db/ |
insert/select + crash/replay | 5 |
lang/ |
Haxe-parity adoptions | 8 |
sys/ |
fs/proc/net/time/json stdlib | 9 |
sample-logwatcher/ |
ported log-watcher fixtures | 10 |
Runner: scripts/oop-e2e.sh (plan 3, task 2 — includes the how-to-add-a-fixture doc pointer docs/plan/oop-vm/02-corpus.md).