tractor/ai/prompt-io/opencode/20260812T213117Z_51185487_p...

1.0 KiB

Prompt

For Tractor PR 490 item four, expose raise_on_lag through the public IPC and asyncio linked-channel subscription wrappers. Review, verify and return a complete commit plan before applying the API downstream in piker.

Response summary

Added public per-subscription lag policy to both wrappers, preserved first-call root policy, documented the semantics, and covered forwarding plus real fan-out paths.

Files changed

  • tractor/_streaming.py - MsgStream lag policy forwarding.
  • tractor/to_asyncio.py - linked-channel lag policy forwarding.
  • docs/guide/streaming.rst - IPC fan-out policy docs.
  • docs/guide/asyncio.rst - linked-channel fan-out policy docs.
  • tests/test_task_broadcasting.py - wrapper policy regression.

Human edits

None - generated output follows the requested fourth iterative item.