mirror of
https://github.com/stablyai/orca.git
synced 2026-10-25 08:04:05 +00:00
Resolving a distro home shells out to wsl.exe, which returns nothing for a stopped or slow distro (the call has a 5s timeout) or when wsl.exe is not resolvable from the Electron process. That case dropped the distro bucket source silently and still reported the scan complete, so the empty answer was memoized for the whole process lifetime. That is the STA-4472 defect re-entering through the back door: the distro is exactly where a WSL workspace's agent history lives, so a workspace whose directory is gone leaves its only surviving evidence unread, and the next generated create reissues that cwd. It does not self-heal either — the scan key is derived from the probe path, which is unchanged by a failed home resolution. An unresolved distro now marks the scan incomplete, which serves the names that were found while leaving the hole to be retried after the backoff.