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
Opened #684 with a fix. Root cause: AppState.loadLibrary() (which re-scans every added folder on every launch) called the filesystem walk synchronously on the main actor. For an iCloud Drive folder that walk can require the OS to fetch remote metadata for every not-yet-downloaded placeholder, which is slow enough to trip iOS's main-thread hang watchdog — perceived by the user as a crash on every startup once a slow folder is configured.
Note: the report had no crash log, device, or iOS version attached, so I couldn't directly confirm this is the exact mechanism — I ruled out force-unwraps/uncaught throws anywhere in the folder-add/bookmark-resolve/scan path first (all of it already degrades gracefully), and this watchdog-timeout path was the only concrete way I found for "iCloud folder" + "crashes every time on startup" to fit together. If QA/CI can't confirm this resolves it, a crash log from the reporter (via TestFlight's own crash report, or Settings → Privacy → Analytics & Improvements → Analytics Data on their device) would help narrow it down further.
Activity
test(ios): guard folder scanning against regressing onto the main actor
github-actions commentedon Aug 27, 2026
Opened #684 with a fix. Root cause:
AppState.loadLibrary()(which re-scans every added folder on every launch) called the filesystem walk synchronously on the main actor. For an iCloud Drive folder that walk can require the OS to fetch remote metadata for every not-yet-downloaded placeholder, which is slow enough to trip iOS's main-thread hang watchdog — perceived by the user as a crash on every startup once a slow folder is configured.Note: the report had no crash log, device, or iOS version attached, so I couldn't directly confirm this is the exact mechanism — I ruled out force-unwraps/uncaught throws anywhere in the folder-add/bookmark-resolve/scan path first (all of it already degrades gracefully), and this watchdog-timeout path was the only concrete way I found for "iCloud folder" + "crashes every time on startup" to fit together. If QA/CI can't confirm this resolves it, a crash log from the reporter (via TestFlight's own crash report, or Settings → Privacy → Analytics & Improvements → Analytics Data on their device) would help narrow it down further.
fix(ios): scan library folders off the main actor (#683) (#685)
github-actions commentedon Aug 27, 2026
Closed automatically: PR #685, which resolves this issue, was merged.