You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rg hangs indefinitely in 0.14.7 in a linux/amd64 container; works on 0.14.6 #3089
This issue might be a duplicate of existing issues. Please check:
Program is stuck on initialization #3082: Similar hanging behavior in v0.14.7 on Linux, though that issue focuses on initialization hanging rather than ripgrep specifically
Feel free to ignore if none of these address your specific case.
As in anything that opencode uses ripgrep for (like u looked at processes and saw rg specifically?) Or are you saying the grep tool (which uses rg under hood) is hanging suddenly?
I was referring to the grep tool. ripgrep seems to just timeout and have no output. I was able to repro that 0.14.6 didn't hang, but now it's hanging too. I no longer suspect a recent regression in opencode, but a problem in my environment (0.14.6 has been fine for me prior to today).
I am having the same issue, when bash tool calls any command that includes rg it takes forever. Is opencode doing something weird for commands that have rg in them?
Activity
github-actions commentedon Oct 11, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 11, 2025
As in anything that opencode uses ripgrep for (like u looked at processes and saw rg specifically?) Or are you saying the grep tool (which uses rg under hood) is hanging suddenly?
rescrv commentedon Oct 11, 2025
I was referring to the grep tool. ripgrep seems to just timeout and have no output. I was able to repro that 0.14.6 didn't hang, but now it's hanging too. I no longer suspect a recent regression in opencode, but a problem in my environment (0.14.6 has been fine for me prior to today).
rekram1-node commentedon Oct 11, 2025
okay that kinda helps narrow down, I will take a look over it. If I don't spot anything i may have some additional questions
remorses commentedon Oct 11, 2025
I am having the same issue, when bash tool calls any command that includes
rgit takes forever. Is opencode doing something weird for commands that havergin them?When I manually run rg it is instant
I am on macOS
rekram1-node commentedon Oct 11, 2025
Hmmm
remorses commentedon Oct 11, 2025
I finally found the issue. Ripgrep waits for the process stdin, we need to pass stdin ignore or rg will hang waiting for stdin to end
Opening a PR right now
rekram1-node commentedon Oct 11, 2025
Yo thanks!
rekram1-node commentedon Oct 12, 2025
should be fixed in next release
seaweeduk commentedon Oct 12, 2025
thankyou for fixing this one I was so confused why it started taking ages to call rg