tractor/tests/ipc
Gud Boi 643e1c861b Complete IPC frames before sender cancellation
Cancellation inside `send_all()` can publish a partial frame. Closing
the actor-wide stream preserved framing but destroyed every context
on the channel and replaced primary errors with `TransportClosed`.

Deats,
- shield complete frame publication, then deliver pending
  cancellation
- keep the shared channel reusable after context-local cancellation
- absorb transport closure while reporting an unshippable overrun
- cover mid-frame cancellation and failed overrun error shipment

This deliberately defers cancellation until the current frame write
resolves; channel teardown remains the fallback for broken peers.

Prompt-IO: ai/prompt-io/opencode/20260819T234824Z_557065d8_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-21 15:03:34 -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 Complete IPC frames before sender cancellation 2026-08-21 15:03:34 -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