Skip to content

fff scan timed out when starting opencode from home directory containing OneDrive File Provider trees 1.17.0+ #31747

Closed

Description

@MattPark

Description

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:

  1. scan over 5 sec changed to non-fatal error and accept partial results
  2. background the scan
  3. create exclude / async config option where a user could set ~/Library/CloudStorage
  4. expose timeout setting rather than hardcode / magic number 5 sec.

Plugins

N/A

OpenCode version

1.17.2

Steps to reproduce

  1. cd ~
  2. opencode debug file list .

Screenshot and/or share link

No response

Operating System

macos 26.3.1

Terminal

default term

Activity

  1. 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
  2. github-actions commented on Jun 10, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    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.

  3. MattPark commented on Jun 10, 2026

    @MattPark
    Author

    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

  4. ozhanozen commented on Jun 10, 2026

    @ozhanozen

    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

    I think 1.17.3 is fixing this.

  5. MattPark commented on Jun 10, 2026

    @MattPark
    Author

    @ozhanozen yep! looks like they employed async approach and added the ability to disable with OPENCODE_DISABLE_FFF=1 opencode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions