Skip to content

pool 0.1.2

Choose a tag to compare

@sonic182 sonic182 released this 13 Nov 22:25
· 40 commits to main since this release
b23c369

Needs Agentica 0.31.0.

Fixed

  • A body that crashes at the moment its caller is cancelled no longer goes unobserved: the caller watches the task of the body itself, so a crash whose notice came in counts as observed (it was a flaky RUNTIME-TASK-CRASHED, or "N task crashes were not observed", at exit).

Documented

  • checkin with TimedOut may come for a body that never ran: with lease_ms above 0 the task of the body is sent to the pool before the body starts, and a cancel in between ends it before its first step. The pool prefers one checkin too many to a resource that keeps what the body took, so a checkin that counts uses (a model, a counter) must not assume that the body ran.