mirror of
https://github.com/stablyai/orca.git
synced 2026-09-23 16:02:24 +00:00
Fix race between in-flight remote watcher install and unwatch/shutdown by tracking cancel tokens; emit overflow fs:changed when the 60s retry timeout gives up so renderer falls back to manual refresh. ### Findings addressed - [medium] src/main/ipc/filesystem-watcher.ts:445-480 — Race between in-flight installRemoteWatcher and unwatch/shutdown leaks watcher - [low] src/main/ipc/filesystem-watcher.ts:497-505 — Silent timeout: 60s give-up never notifies renderer Rebased onto current main. Co-authored-by: orca-bot <bot@stably.ai>