Skip to content

Bound subprocess draining and routing intervals - #99

Merged
phieri merged 1 commit into
mainfrom
copilot/examine-codebase-for-issues
Oct 14, 2026
Merged

phieri merged 1 commit into
mainfrom
copilot/examine-codebase-for-issues

Conversation

Copilot AI commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Subprocesses could outlive their direct child and keep output pipes open indefinitely. Tiny routing intervals could also trigger excessive polling.

  • Subprocess cleanup: Bound pipe draining by the command deadline; kill lingering process-group descendants when pipes remain open.
  • Polling: Require --interval to be at least one second and document the limit.
bt-intercom run --interval 1

Co-authored-by: phieri <12006381+phieri@users.noreply.github.com>
@phieri
phieri marked this pull request as ready for review October 14, 2026 23:33
@phieri
phieri merged commit 58f2ae5 into main Oct 14, 2026
@phieri
phieri deleted the copilot/examine-codebase-for-issues branch October 14, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants