Repository navigation
perf(workspace): cancel local worktree scans - #10107
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughWorkspace cleanup and workspace space analysis now pass 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
their selected distro instead of host Git.
and Git command behavior.
ELI5
When a Space scan was cancelled, the screen stopped waiting but up to two Git helpers could keep
running for 30 seconds. Orca now tells those helpers to stop too. On Windows, it also sends Space and
cleanup Git work to the WSL distro selected for that project instead of accidentally asking Windows
Git to inspect the Linux checkout.
Proof of zero regression
cancellation coverage.
git diff --checkpassed.
return before local runtime resolution. Cleanup still uses its existing 8-second timeout and error
text. Space still scans at most two repositories concurrently. No Git command or Git 2.25
compatibility behavior changed.
pnpm run lintreaches the unrelated releasedorca-clirevision-9 manifest blocker; directlocalization catalog verification finds only pre-existing keys missing from three unrelated
renderer files. This diff changes no skill or renderer/localization files.
Proof of performance improvement
remain alive until the 30,000 ms command timeout.
AbortErrorand both process IDs disappeared within 50.983 ms of cancellation.
abort. Repository concurrency remains 2.
1,000—negligible beside Git process startup.