1.7 KiB
1.7 KiB
Raw AI output (diff-ref mode)
Step-B code lives on wkt/to_actor_subpkg after 5cd190c5; per diff-ref mode the verbatim content is reachable via the pointer below.
Generated files
git diff 5cd190c5..wkt/to_actor_subpkg -- tractor/runtime/_supervise.py
ActorNursery.__init__:ria_nurseryparam removed;self._ria_nursery = ria_nurseryblock deleted;_cancel_after_result_on_exitcomment refreshed.start_actor():nursery=param removed; body usesself._da_nursery.start(...)directly._open_and_supervise_one_cancels_all_nursery(): the innerasync with (collapse_eg(), trio.open_nursery() as ria_nursery)layer removed;an = ActorNursery(actor, da_nursery, errors)constructed once under the singleda_nursery; the inner-try body de-indented one level; both error handlers retained; the da-nursery lead comment and the outer-exceptTODO refreshed to describe the single-nursery reality + flag the (deferred) handler-merge.
git diff 5cd190c5..wkt/to_actor_subpkg -- ai/conc-anal/ria_nursery_removal_plan.md
Added a “Step-B outcome” section (collapse rationale, handler-merge deferral, safety argument, gate result).
Test runs (verbatim)
targeted gate (trio):
tests/test_cancellation.py tests/test_spawning.py
tests/test_local.py tests/test_rpc.py tests/test_to_actor.py
-> 49 passed, 1 xfailed in 88.62s
signature checks:
ActorNursery.__init__ params: ['self', 'actor', 'da_nursery', 'errors']
start_actor has nursery param: False
full-suite gate: in progress (see stepB_full.log)