1.2 KiB
1.2 KiB
Prompt
Continue PR #481 review remediation after committing the debugger-state sampler. The human selected “keep” for the paired review request to use Aid objects as keys in the newly added reap-coordination maps.
Response summary
Migrate only ActorNursery._child_reap_requests and ActorNursery._child_reaped to Aid keys. Preserve the legacy ActorNursery._children .uid key and pass full actor identities through the narrow process-monitor bookkeeping path.
Files changed
tractor/runtime/_supervise.py- key fresh reap maps byAid.tractor/spawn/_spawn.py- passAidinto completed-reap cleanup.tests/test_to_actor.py- exerciseAidregistration keys.
Human edits
The human explicitly selected “keep” after reviewing the scope, performance, and mutability tradeoffs. The human retained the legacy tuple key for _children and accepted Aid for only the two fresh private mappings. No direct source-line edits were made by the human.