tractor/tests/ipc
Gud Boi 23e26b5b32 Bound `Portal.cancel_actor()` frame sends
A cancel RPC could stall forever in complete-frame transport
shielding before the peer received it, bypassing the outer ack
timeout and blocking graceful supervision.

- thread one absolute deadline from `Portal.cancel_actor()` through
  the private `Start` publication path
- force-close a partial-frame stream before releasing its send lock
- keep ordinary sends unbounded and preserve pending cancellation
- document the current `Start -> StartAck -> CancelAck` exchange and
  link the dedicated `Cancel` msg follow-up in #506
- cover partial publication and the shared send/ack timeout budget

Prompt-IO: ai/prompt-io/opencode/20260821T023537Z_ae6f2ac3_prompt_io.md

(this patch was generated in some part by `opencode` using
`gpt-5.6-sol` (`openai`))
2026-08-21 15:03:35 -04:00
..
__init__.py Start a very basic ipc-server unit test suite 2025-07-13 15:26:37 -04:00
test_each_tpt.py Bound `Portal.cancel_actor()` frame sends 2026-08-21 15:03:35 -04:00
test_multi_tpt.py Add `enable_transports`/`registry_addrs` proto guard 2026-06-17 17:39:44 -04:00
test_server.py Traverse `BaseExceptionGroup` peer-close errors 2026-08-14 18:54:56 -04:00