37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
|
|
---
|
||
|
|
model: openai/gpt-5.6-sol
|
||
|
|
service: opencode
|
||
|
|
session: unavailable
|
||
|
|
timestamp: 2026-08-13T18:19:01Z
|
||
|
|
git_ref: a2e0df4b
|
||
|
|
scope: code
|
||
|
|
substantive: true
|
||
|
|
raw_file: 20260813T181901Z_a2e0df4b_prompt_io.raw.md
|
||
|
|
---
|
||
|
|
|
||
|
|
## 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.
|