Repository navigation
feat: wire CodeRabbit + Copilot review bots - #2
Conversation
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
|
|
Warning Review limit reached
Next review available in: 46 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Analysis CompleteGenerated ECC bundle from 1 commits | Confidence: 50% View Pull Request #3Repository Profile
Changed Files (3)
Top hotspots
Top directories
Analysis Depth Readiness (commit-history, 21%)ECC Tools uses this to decide whether recommendations should stay at commit-history/setup guidance or expand into CI, security, harness, reference-set, AI-routing, and team backlog work.
Reference Set Readiness (0/7, 0%)
Likely Future Issues (2)
Suggested Follow-up Work (2)
Copy-ready bodies ci: add failure-mode evidence for .github/workflows/coderabbit-trigger.yml + .github/workflows/copilot-review.yml ## Summary
- Add CI failure-mode evidence for the recently changed workflow or test-runner surface.
## Why
- Backfill CI failure-mode evidence before another workflow or test-runner change lands on the touched surface.
## Touched paths
- `.github/workflows/coderabbit-trigger.yml`
- `.github/workflows/copilot-review.yml`
## Validation
- Add or update a CI failure fixture, captured failing log, troubleshooting note, workflow dry-run evidence, or regression test for the changed CI/test-runner behavior.
- Run the affected workflow or test-runner entrypoint locally or in CI and record pass/fail evidence.chore: refresh lockfile and validate CI after dependency updates ## Summary
- Refresh the lockfile and rerun CI after the dependency or workflow changes in this PR.
## Why
- Package or workflow changes without a lockfile refresh tend to turn into noisy follow-up fixes after merge.
## Touched paths
- `.github/workflows/coderabbit-trigger.yml`
- `.github/workflows/copilot-review.yml`
## Validation
- Refresh the lockfile in the same package manager used by the repo.
- Run the repo typecheck / test / CI entrypoints that depend on the updated package graph.Generated Instincts (17)
After merging, import with: Files
|
|
Warning Gemini encountered an error creating the review. You can try again by commenting |
Agent Task Evaluation Results: 0/3 (0%)View detailed results
Check the evaluate-tasks job for detailed task execution logs. |
Up to standards ✅🟢 Issues
|
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
There was a problem hiding this comment.
Pull request overview
This PR wires up automated PR-review tooling by adding CodeRabbit configuration and two GitHub Actions workflows that request reviews from CodeRabbit/Gemini and GitHub Copilot on relevant pull request events.
Changes:
- Add a
.coderabbit.yamlconfig to enable auto-review with an assertive, security-focused profile and path filters. - Add a workflow to request CodeRabbit + Gemini Code Assist reviews on PR events.
- Add a workflow to request GitHub Copilot PR reviews on non-draft PRs.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/copilot-review.yml |
Adds an Actions workflow that requests Copilot as a PR reviewer on key PR events for same-repo, non-draft PRs. |
.github/workflows/coderabbit-trigger.yml |
Adds an Actions workflow that requests CodeRabbit and Gemini Code Assist as PR reviewers on key PR events for same-repo PRs. |
.coderabbit.yaml |
Configures CodeRabbit review behavior (profile, auto-review, path filters, and KB opt-out). |
| repo, | ||
| pull_number: prNumber, | ||
| reviewers: ['coderabbitai', 'gemini-code-assist[bot]'], | ||
| }); | ||
| core.info('Review requested from coderabbitai and gemini-code-assist[bot]'); |
| } catch (e) { | ||
| const status = e.status ?? e.response?.status; | ||
| const msg = e.response?.data?.message ?? e.message; | ||
| if (status === 422) { | ||
| core.warning(`Reviewer request returned 422 (benign): ${msg}`); | ||
| } else { | ||
| core.error(`Reviewer request failed: ${status ?? ''} ${msg}`); | ||
| throw e; | ||
| } | ||
| } |
| } catch (e) { | ||
| const status = e.status ?? e.response?.status; | ||
| const msg = e.response?.data?.message ?? e.message; | ||
| if (status === 422) { | ||
| core.warning(`Reviewer request returned 422 (benign): ${msg}`); | ||
| } else { | ||
| core.error(`Reviewer request failed: ${status ?? ''} ${msg}`); | ||
| throw e; | ||
| } | ||
| } |
Summary
.coderabbit.yaml(root) — assertive review profile, security/data-loss focus, knowledge base opt-out.github/workflows/coderabbit-trigger.yml— requests CodeRabbit + Gemini reviews on PR events (v2: job-level permissions, graceful 422 handling, pinned action SHA).github/workflows/copilot-review.yml— requests Copilot review on ready PRs (v2: job-level permissions, graceful 422 handling, pinned action SHA)Test plan
claude/review-bot-setup-hlqtzmto trigger workflowsGenerated by Claude Code