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
When performing large operations, the tool often seems to return to the "enter send" ready mode, and sit there for 30 seconds to a minute, it then returns to the "working .... " state. its often very hard to determine if the tool has finished working.
I was using grok-fast-code-1 I was running an implementation pass on a
phase of development after building a plan from a specification markdown
file.
I also been seeing some json errors coming back from the model I belive, I
will try to capture one and
This could not be a fix, but its still best practice, you can add your large lock file to be ignored by OpenCode, that way the model doesnt mistakenly use it as context, and spend forever on it.
Create and add this to a opencode.json file in the root of the project
Firstly it is only enabled if you have set OPENCODE_EXPERIMENTAL_WATCHER to true and most people don't have that
Also it doesn't have anything to do with context given to llm
So no need to do this:
Create and add this to a opencode.json file in the root of the project
{
"$schema": "https://opencode.ai/config.json",
"watcher": {
"ignore": ["Cargo.lock"]
}
}
When performing large operations, the tool often seems to return to the "enter send" ready mode, and sit there for 30 seconds to a minute, it then returns to the "working .... " state. its often very hard to determine if the tool has finished working.
Are you saying when the llm is making edits and stuff? Just trying to confirm what you mean by "large operations" here.
There is a chance it could involve the rust lsp if you see long hangs on file edits to rust files which would probably be fixed by:
Activity
github-actions commentedon Oct 13, 2025
This issue might be a duplicate of existing issues. Please check:
rghangs indefinitely in 0.14.7 in a linux/amd64 container; works on 0.14.6 #3089:rghangs indefinitely in 0.14.7 - reports hanging behavior in recent versionFeel free to ignore if none of these address your specific case.
OpeOginni commentedon Oct 13, 2025
What model and what type of operation example causes the issue?
thawkins commentedon Oct 13, 2025
OpeOginni commentedon Oct 13, 2025
This could not be a fix, but its still best practice, you can add your large lock file to be ignored by OpenCode, that way the model doesnt mistakenly use it as context, and spend forever on it.
Create and add this to a
opencode.jsonfile in the root of the project{ "$schema": "https://opencode.ai/config.json", "watcher": { "ignore": ["Cargo.lock"] } }thawkins commentedon Oct 13, 2025
OpeOginni commentedon Oct 13, 2025
@thawkins Depends on you, if it adds no important context to your agent, but its large enough to confuse it, then its best to add it as well.
rekram1-node commentedon Oct 13, 2025
@OpeOginni @thawkins the file watcher shouldn't be related here
Firstly it is only enabled if you have set OPENCODE_EXPERIMENTAL_WATCHER to true and most people don't have that
Also it doesn't have anything to do with context given to llm
So no need to do this:
rekram1-node commentedon Oct 13, 2025
@thawkins in regards to
Are you saying when the llm is making edits and stuff? Just trying to confirm what you mean by "large operations" here.
There is a chance it could involve the rust lsp if you see long hangs on file edits to rust files which would probably be fixed by:
But if it is just in general hangs and not limited to file edits then ignore this suggestion since there is no need to add that config needlessly
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.