Skip to content

fix: add timeout to BunProc.run to fix network monitor related hangs#4701

Closed
ryanwinchester wants to merge 1 commit into
anomalyco:devfrom
ryanwinchester-forks:feature/timeouts
Closed

fix: add timeout to BunProc.run to fix network monitor related hangs#4701
ryanwinchester wants to merge 1 commit into
anomalyco:devfrom
ryanwinchester-forks:feature/timeouts

Conversation

@ryanwinchester

@ryanwinchester ryanwinchester commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

When using a network monitor like LuLu or Little Snitch that requires permission to make network requests, opencode hangs and never recovers requiring it to be forcefully quit or killed.

This seems to stop that from happening.

i added increasing timeouts because waiting a long time sucks, so the first one is quicker, but in case some people are on slow connections they get a better shot after that? ¯\_(ツ)_/¯

Fixes #421

@ryanwinchester ryanwinchester changed the title Timeout on Bun proc to fix network monitor hangs Timeout on BunProc.run to fix network monitor hangs Nov 24, 2025
@ryanwinchester ryanwinchester changed the title Timeout on BunProc.run to fix network monitor hangs fix: add timeout to BunProc.run to fix network monitor hangs Nov 30, 2025
@ryanwinchester ryanwinchester changed the title fix: add timeout to BunProc.run to fix network monitor hangs fix: add timeout to BunProc.run to fix network monitor related hangs Dec 5, 2025
@thdxr
thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Feb 2, 2026
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.

bug: hangs with firewall/network monitor

1 participant