tractor/tractor/trionics
Gud Boi e076296cda Guard `stdout=PIPE`/`capture_*` footguns
Two `supervise_run_process()` caller-kwarg footguns that
previously failed obscurely now raise a clear, early
`ValueError`:

- a bare `stdout=subprocess.PIPE` override spawned NO drain
  reader (only `relay_stdout` does), so a child emitting
  >64KiB would deadlock on a full ~64KiB pipe buffer.
- `trio`'s `capture_stdout`/`capture_stderr` alias our
  MANAGED `stdout`/`stderr` keys; forwarding them made
  `trio.run_process` raise an opaque "can't specify both"
  error, so reject them up-front pointing at `relay_*` /
  the `stdout=` override.

Review: PR #465 (copilot-pull-request-reviewer)
https://github.com/goodboy/tractor/pull/465#pullrequestreview-4548191641

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-06-24 19:04:35 -04:00
..
patches Add `tractor.trionics.patches` subpkg + first fix 2026-06-17 17:39:44 -04:00
__init__.py Add `supervise_run_process` to `trionics._subproc` 2026-06-24 18:19:16 -04:00
_beg.py Mk temp collapser bp work outside runtime as well.. 2025-08-18 10:46:37 -04:00
_broadcast.py Drop `name=__name__` from all `get_logger()` calls 2026-02-11 21:04:49 -05:00
_mngrs.py Drop commented-out `tractor.pause()` debug hooks 2026-04-09 17:41:28 -04:00
_subproc.py Guard `stdout=PIPE`/`capture_*` footguns 2026-06-24 19:04:35 -04:00
_taskc.py Tighten `start_or_cancel`'s startup-RTE match 2026-06-24 13:34:37 -04:00