1.1 KiB
1.1 KiB
Prompt
For Tractor PR 490 item three, prevent subscriber closure from waking another receiver’s shared event or stranding peers. Preserve close-safe source-read ownership handoff, then review, verify and return a complete commit plan.
Response summary
Introduced receiver-local wait/source cancellation, owner-specific handoff, and close precedence over shielded source values/errors/EOC. Clarified that private scope cancellation means explicit close while outer task cancellation remains trio.Cancelled for both source-read and peer-wait scopes, with deterministic receiver-close regressions.
Files changed
tractor/trionics/_broadcast.py- receiver-local close and ownership scopes.tests/test_task_broadcasting.py- peer close and owner handoff regressions.
Human edits
None - generated output follows the requested third iterative item.