Skip to content

Make bash timeout configurable#368

Open
farrelmahaztra wants to merge 2 commits intomainfrom
hud-969
Open

Make bash timeout configurable#368
farrelmahaztra wants to merge 2 commits intomainfrom
hud-969

Conversation

@farrelmahaztra
Copy link
Contributor

@farrelmahaztra farrelmahaztra commented Mar 12, 2026

Note

Medium Risk
Changes command execution timeout behavior for the persistent bash tool and alters timeout error handling, which could affect long-running commands and session restart flows. Test updates reduce risk but runtime behavior still changes for shell execution.

Overview
Makes ClaudeBashSession/BashTool support a configurable per-command timeout (defaulting to 120s) and ensures restarts recreate sessions using the same configured timeout.

Updates timeout handling to emit a clearer error message (including guidance that background processes may still be running and to use restart=true) and adjusts/extends tests to cover the new message and custom timeout behavior.

Written by Cursor Bugbot for commit 7387596. This will update automatically on new commits. Configure here.

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.

1 participant