CLI: babysit an existing open PR#76
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new factory babysit CLI command to spawn a standalone, one-shot babysitter agent that drives an existing open pull request to green. Feedback on the implementation highlights several key improvements: safely handling potentially undefined clone path configurations to prevent runtime TypeErrors, respecting dependency-injected error streams for CLI warnings, refining the regex logic for resolving linked issues to correctly handle multiple keys on a single line, and ensuring the PR body falls back to mounted metadata if the live description is empty.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Warning Review limit reached
Next review available in: 44 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: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (15)
✨ 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 |
There was a problem hiding this comment.
All reported issues were addressed across 11 files
You’re at about 94% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Closes #75
Adds factory babysit for a PR number or canonical GitHub PR URL. The command validates live PR metadata, rejects drafts, non-open states, and forks, derives a safe PR-keyed worker identity, and spawns a standalone babysitter without requiring babysitter.enabled.
Standalone prompts use a linked issue when unambiguous or the PR title/body as the definition of done, remove issue-team and state-transition claims, enforce isolated checkout and never-merge behavior, and stop safely on push/auth blockers.
Validation: