tractor/ai/prompt-io/opencode/20260813T181901Z_a2e0df4b_p...

1.1 KiB

Prompt

Continue Tractor PR 490 after the paired piker EMS consumer commit. Clean cancelled-task diagnostics, define or reject zero-buffer broadcast behavior, review and verify the change, then stop at a complete commit plan.

Response summary

Bound cancellation diagnostics to receiver progress, terminal state and resource lifetime; made EOC durable across peers; released wrapper-owned root broadcasters without breaking graceful EOC or subclass overrides; and rejected non-positive fan-out retention capacity.

Files changed

  • tractor/trionics/_broadcast.py - diagnostic lifecycle, durable EOC and buffer validation.
  • tractor/_streaming.py - safe MsgStream root broadcaster cleanup.
  • tractor/to_asyncio.py - linked-channel root broadcaster cleanup.
  • tests/test_task_broadcasting.py - cancellation, EOC, wrapper and capacity regressions.

Human edits

None - generated output follows the requested fifth iterative item.