feat(setup): guide remote browser sign-in - #254
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 22 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughGuided setup now offers a ChangesRemote sign-in onboarding
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant GuidedSetup
participant NativeOAuth
participant Config
User->>GuidedSetup: Choose remote sign-in
GuidedSetup->>NativeOAuth: Start OAuth discovery
NativeOAuth->>Config: Write discovered configuration
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/setup-command.test.ts`:
- Around line 407-447: Extend the test around runSetupCommand to assert that the
generated config contains the expected native OAuth binding, using the validated
config object and existing OAuth-related symbols. Also assert the upstream probe
recorded no registration, authorization, or token-exchange requests, while
preserving the existing metadata and discovery assertions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 3a10d88b-5bed-4323-921e-be5a94b4a033
📒 Files selected for processing (7)
README.mddocs/presets-and-clients.mdsrc/cli/setup.tssrc/console/console-assets.tstests/console-server.test.tstests/readme-product-contract.test.tstests/setup-command.test.ts
Summary
Security boundary
Validation
Part of #204.
Summary by CodeRabbit
New Features
Documentation
Tests