tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Docs: why supervision uses links, and how to test actors (issue #159)

An ADR 0004 note: a supervisor can't be a handler around its children,
since a child runs on its own fiber (maybe another thread) and panics are
not effects; spawn_link is one operation for the same reason. Mocking
proc with a handler is not practical: 14 operations, and scripted replies
aren't type-safe (subjects are made inside the code under test, and issue
#169, filed with this, found handler clauses unchecked against an
operation's polymorphism: a clause returning 42 for `a` crashes natively).
What works: real actors as fakes, subjects as parameters, virtual time.
The roadmap's "tests can mock <proc>" is corrected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 0d877dd780101802811d149bb2f0f7a08105dd22

Parents 63ecd66

2 fichiers modifiés, 23 ajouts, 2 suppressions