tea comment never exits without a closed stdin, as CLAUDE.md shows it #39

Closed
opened 2026-09-19 08:15:41 -07:00 by rays · 1 comment
Owner

Run from a script or an agent with no terminal, /src/tea comment <n> "text" waits on stdin and never exits, before posting or after it. A script from 2026-09-18 that commented on and closed #15-#29 sat hung on #16 for a day, and a comment on #38 hung the same way on 2026-09-19. The example CLAUDE.md gives for it has the same problem. Give tea a closed stdin (< /dev/null) and a timeout.

Run from a script or an agent with no terminal, `/src/tea comment <n> "text"` waits on stdin and never exits, before posting or after it. A script from 2026-09-18 that commented on and closed #15-#29 sat hung on #16 for a day, and a comment on #38 hung the same way on 2026-09-19. The example CLAUDE.md gives for it has the same problem. Give tea a closed stdin (`< /dev/null`) and a timeout.
rays added the bug label 2026-09-19 08:15:41 -07:00
Author
Owner

Fixed in 321c9e0: CLAUDE.md's tea example now runs tea through t() { timeout 30 /src/tea "$@" < /dev/null; }, with a note on why. The stale 2026-09-18 script was stopped; #15-#29 were already commented on and closed, each once, so it had nothing left to do but post duplicates.

Fixed in 321c9e0: CLAUDE.md's tea example now runs tea through `t() { timeout 30 /src/tea "$@" < /dev/null; }`, with a note on why. The stale 2026-09-18 script was stopped; #15-#29 were already commented on and closed, each once, so it had nothing left to do but post duplicates.
rays closed this issue 2026-09-19 08:15:53 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipodderx-rs#39