Only `EndOfChannel` and direct cancellation woke tasks waiting behind the subscriber which owned the underlying receive. Any other failure cleared `BroadcastState.recv_ready` while peers remained blocked on its unreachable event. Publish ordinary receive exceptions as terminal broadcast state. The owner keeps the original failure while peers drain retained values and then raise `BroadcastReceiveError` from that cause. Also wake peers on process-control exits without retaining them as state. Document the public owner/peer contract and cover current, late and control-flow subscribers with deterministic bounded regressions. Prompt-IO: ai/prompt-io/opencode/20260812T030608Z_1095e7f7_prompt_io.md (this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`)) |
||
|---|---|---|
| .. | ||
| claude | ||
| opencode | ||
| prompts | ||