tractor/ai
Gud Boi 13ffb13be5 Test SIGINT teardown with stalled IPC transports
Add `examples.advanced_faults.ipc_stalls` and an external
`RootMonitor` so SIGINT delivery and shutdown evidence stay
independent of the stalled actor channels. Exercise six Linux
TCP cases with the `trio` spawner: healthy IPC, context receive,
send, both directions, context cancel send, and both directions
plus the subactor `Portal` cancel send.

Deats,
- Split cancellable send gates from buffered receive gates, and
  require actual parked operations before publishing readiness.
- Keep the OOB context `Channel` distinct from the child-control
  `Portal`; context-only faults retain cooperative child exit.
- Require finite cancel-send expiry, runtime hard-reap logs,
  SIGKILL status and completed `waitpid` for the control fault.
- Bound readiness and shutdown with an independent stdout
  watchdog; rescue cleanup cannot satisfy teardown assertions.
- Use `get_rando_addr()` for unreserved registry port selection,
  raise `TimeoutError` on watchdog expiry, and retain structured
  shutdown evidence through `record_property`.

These waits model cancellable runtime unresponsiveness, not
kernel TCP loss or an uninterruptible syscall. Preserve human
review decisions and historical working-tree verification in
the prompt provenance; exact-tree plan checks remain pending.

Prompt-IO: ai/prompt-io/opencode/20260923_ipc_fault_regressions.md

(this commit msg was generated in some part by `opencode` using
`gpt-6.1-sol` (`openai`))
2026-10-30 13:13:37 -04:00
..
conc-anal Restore high-fanout startup cancellation stress 2026-08-26 17:00:44 -04:00
prompt-io Test SIGINT teardown with stalled IPC transports 2026-10-30 13:13:37 -04:00
tooling-todos Add `logspec` leaf-mod Route B follow-up doc 2026-06-17 15:47:07 -04:00
tpt-backends Model bindspaces as scoped capabilities 2026-09-01 15:47:26 -04:00