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
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Please add the ability to limit the depth of OpenCode directory scanning.
I use OpenCode with an AI Agent to assist me in compiling an Android ROM. The AOSP source code is extremely large and complex. When I started the OpenCode program, I immediately heard the hard drive storing the source code begin reading and writing (I stopped hearing this when I terminated the program). After start building, OpenCode's disk scanning severely slowed down the hard drive I/O, causing the compilation progress to be significantly slowed down. Any attempt to edit files became very slow (although CPU usage was not high).
Other tools like Codex or OpenClaw does not have this issue. I think they might only scan directories manually.
These issues describe similar problems with opencode scanning large directory trees and impacting performance. Your feature request for a configurable scan depth limit may address the root cause of several of these.
Activity
github-actions commentedon Jul 9, 2026
This issue might be a duplicate of or related to existing issues. Please check:
These issues describe similar problems with opencode scanning large directory trees and impacting performance. Your feature request for a configurable scan depth limit may address the root cause of several of these.
github-actions commentedon Sep 8, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.