Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The PR makes a focused correction to existing editor discovery: it reuses PATH listings and preserves editors found before a slow probe times out. Runtime changes are confined to this discovery path, with fallback behavior and partial-result caching covered by targeted tests. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 9cbe17114685f839dd79edca10ece8ca25de97c0 and 1be2536. 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughChangesThe shell resolver now caches PATH directory listings and handles listing errors. Editor discovery now returns and caches completed probes after a four-second timeout. Command discovery and editor probing
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Completed editor discoveries remain available when a later probe times out, with no confirmed merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
9cbe171 to
1be2536
Compare
|
@coderabbitai help |
ChatThere are 3 ways to chat with CodeRabbit:
CodeRabbit commands
Other keywords and placeholders
Status, support, documentation and community
|
|
@coderabbitai run pre-merge checks |
✅ Actions performedRunning Pre-merge checks. Results will be posted in the summary comment once complete. |
What Changed
Reuse PATH directory listings during editor discovery to reduce repeated filesystem checks. Return and cache editors found within four seconds if the scan takes longer. Preserve filesystem case-sensitivity behaviour and add tests for directory caching, fallback checks, and partial results.
Why
T3 Code on my Windows 11 machine would show an empty 'Open' list as it would timeout while looking for available editors. Even if some were found, they were thrown out if it reached the timeout.
The reason was 29,568 file checks being performed (22 commands (editors), 56 paths (my windows PATH), 12 file extensions and 2 case checks)
UI Changes
Before:

After:

Checklist
Summary by CodeRabbit
Bug Fixes
Performance