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
fff scan timed out when starting opencode from home directory containing OneDrive File Provider trees 1.17.0+ #31747
Upon running user@machine ~ % opencode
Error: Unexpected server error. Check server logs for details.
at (/$bunfs/root/chunk-j3wpssn9.js:8:7615)
at processTicksAndRejections (native:7:39)
Working* 1.16.2, broken 1.17.0 and later.
The issue is that fff times out fatally after 5 sec. when I run opencode in ~/ and not a project directory.
I have OneDrive installed and a large library of 10000 files across 1800 folders. When the startup scan hits ~/Library it dies.
Ways it could be fixed:
scan over 5 sec changed to non-fatal error and accept partial results
background the scan
create exclude / async config option where a user could set ~/Library/CloudStorage
expose timeout setting rather than hardcode / magic number 5 sec.
changed the title [-]fff scan timed out when starting opencode from home directory containing OneDrive File Provider trees[/-][+]fff scan timed out when starting opencode from home directory containing OneDrive File Provider trees 1.17.0+[/+]on Jun 10, 2026
If your issue is specifically about the fff 5-second timeout being fatal (vs. a UI blocking issue), it may be a distinct code path worth tracking separately. Please take a look and let us know if one of the above covers your case.
Sure, these are all related issues and likely there are far more, but no action has been taken. The symptom is this case is different since it crashes the TUI on startup after 6 sec
Sure, these are all related issues and likely there are far more, but no action has been taken. The symptom is this case is different since it crashes the TUI on startup after 6 sec
Activity
[-]fff scan timed out when starting opencode from home directory containing OneDrive File Provider trees[/-][+]fff scan timed out when starting opencode from home directory containing OneDrive File Provider trees 1.17.0+[/+]github-actions commentedon Jun 10, 2026
This issue might be a duplicate of existing issues. Please check:
~/Librarycontains large number of files — same symptom of startup failure due to large home directory on macOSFSEventStreamSetExclusionPathsblocks 21–35s when HOME has large directories — deeper root cause analysis of the same startup hang, likely the same underlying issue as reported hereIf your issue is specifically about the fff 5-second timeout being fatal (vs. a UI blocking issue), it may be a distinct code path worth tracking separately. Please take a look and let us know if one of the above covers your case.
MattPark commentedon Jun 10, 2026
Sure, these are all related issues and likely there are far more, but no action has been taken. The symptom is this case is different since it crashes the TUI on startup after 6 sec
ozhanozen commentedon Jun 10, 2026
I think 1.17.3 is fixing this.
MattPark commentedon Jun 10, 2026
@ozhanozen yep! looks like they employed async approach and added the ability to disable with
OPENCODE_DISABLE_FFF=1 opencodefix: disable FFF background scans in managed OpenCode engines (#298)