Skip to content

fix(core): bound search tool execution - #39238

Merged
rekram1-node merged 2 commits into
v2from
search-timeout
Jul 28, 2026
Merged

fix(core): bound search tool execution#39238
rekram1-node merged 2 commits into
v2from
search-timeout

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a 30-second deadline to the interactive glob and grep tools
  • return a focused error that tells the model to narrow the path or pattern

Fixes #39208

Checks

  • bun test test/ripgrep.test.ts test/tool-search.test.ts
  • bun typecheck
  • manually verified with a non-terminating ripgrep harness that timeout returns the expected error and terminates the child process
  • bun test --only-failures (host environment has no node executable; unrelated cross-spawn and process-contention tests fail)

Requested by: @rekram1-node (Aiden Cline via Slack)

@rekram1-node
rekram1-node merged commit 3bda0ce into v2 Jul 28, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the search-timeout branch July 28, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant