Link asyncio cancellation regression provenance

Point `test_tractor_cancels_aio()`'s anti-hang guard at the original
fix commit and the detailed ria-removal analysis plan.

Review: PR #484 (goodboy)
https://github.com/goodboy/tractor/pull/484#discussion_r3859956368

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
wkt/macos_ci_reruns
Gud Boi 2026-08-26 17:00:54 -04:00
parent d5e66dffaa
commit b3e8ed18d1
1 changed files with 2 additions and 0 deletions

View File

@ -253,6 +253,8 @@ def test_tractor_cancels_aio(
# CPU-headroom-scaled bc this is an anti-hang guard, not # CPU-headroom-scaled bc this is an anti-hang guard, not
# a perf assertion; a wedged ria-reaper once hung this # a perf assertion; a wedged ria-reaper once hung this
# test forever (the `._ria_nursery`-removal regression). # test forever (the `._ria_nursery`-removal regression).
# Regression fix: commit `d1fb4a1a`, documented in
# `ai/conc-anal/ria_nursery_removal_plan.md`.
from .conftest import cpu_perf_headroom from .conftest import cpu_perf_headroom
with trio.fail_after(9 * cpu_perf_headroom()): with trio.fail_after(9 * cpu_perf_headroom()):
async with tractor.open_nursery( async with tractor.open_nursery(