Choose an available provider for new sessions - #208
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughChangesAvailability-aware defaults
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant App
participant HarnessAvailability
participant SessionState
App->>HarnessAvailability: Probe harness availability
HarnessAvailability-->>App: Return availability
App->>SessionState: Reassign eligible empty sessions
App->>SessionState: Create sessions with available defaults
Suggested reviewers: Merge Risk: ⚪ Minimal · up to New and empty sessions now select available providers, and Settings reflects that effective choice. The change is ready to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
- Start new sessions on an available provider instead of a missing one (hardbeat920#208) - Add Close All Tabs to the menu, keyboard and tab commands (hardbeat920#215) - Hide gitignored and .git entries in the explorer by default, with a toggle (hardbeat920#217) - Show GitHub PR diffs with full file context (hardbeat920#189) - Silence the Windows console window for background commands (hardbeat920#221) - Raise the skill picker cap from 50 to 300 (hardbeat920#168)
What changed
New sessions now choose an installed provider when the saved/default provider is unavailable. The initial blank session is corrected after provider discovery, creation paths share the same availability-aware selection, and unavailable providers cannot be made the effective default in Settings.
Why
A clean install could open on Cursor Composer 2.5 even when Cursor was missing and Codex or OpenCode was installed. Settings also presented unavailable providers as valid defaults.
UI
Provider Settings now disables the default action for unavailable CLIs and labels the effective installed provider as the default.
Checklist
npm run check:webSummary by CodeRabbit