932 B
Implement the approved PR #481 child-reap bookkeeping update after the preceding Context.cancel() fix was committed separately.
git diff HEAD~1..HEAD -- tractor/runtime/_supervise.py
ActorNursery._mark_child_reaped() captures both reap-coordination entries and asserts that they are either both present or both absent. It intentionally does not require the reap-request event to be set, because backend cancellation can reap immediately after registration.
git diff HEAD~1..HEAD -- tests/test_to_actor.py
Existing real-runtime graceful and hard-reap tests verify that ActorNursery._children, ActorNursery._child_reap_requests, and ActorNursery._child_reaped are all empty before the one-shot call returns.
Run focused bookkeeping and real-runtime reap tests after the edit.