Files
hermes-agent/tools
Teknium 0b8dee00fa fix(terminal): no poll() fallback for a macOS PTY
Review follow-up: the EMFILE fallback handed a PTY master a PollSelector,
and macOS poll() reports devices as always ready, so an idle terminal
would busy-loop. On macOS a character-device fd now re-raises the setup
error instead; PtyBridge.spawn closes the child and raises, so the
terminal open fails visibly rather than spinning. Pipes keep the poll
fallback on every OS. The PTY test forces selector creation to fail and
asserts the bridge either still waits on idle reads or refuses to spawn.
2026-10-20 17:41:05 -07:00
..