Skip to content

chore: enable CodeRabbit config + issue triage#162

Draft
thomasttvo wants to merge 2 commits intomasterfrom
thomas/coderabbit-config
Draft

chore: enable CodeRabbit config + issue triage#162
thomasttvo wants to merge 2 commits intomasterfrom
thomas/coderabbit-config

Conversation

@thomasttvo
Copy link
Copy Markdown
Collaborator

@thomasttvo thomasttvo commented Apr 13, 2026

Summary

What this enables

Issue Triage

  • Auto-enrich enabled: duplicate detection, similar issues, related PRs, suggested assignees
  • Auto-labeling with instructions for: bug, enhancement, question, needs-reproduction, platform: ios, platform: android
  • Auto-planning for bug and enhancement issues (excludes question)

Knowledge Base

  • Learns from issues, PRs, and code in this repo (scope: "auto")

What's NOT included

  • PR reviews — disabled (auto_review.enabled: false). Claude Code Review handles all PR review on this repo.
  • Repro request bot comment — no dedicated config key exists; the needs-reproduction label is the closest mechanism
  • Auto-close stale issues — not a CodeRabbit feature; use GitHub's actions/stale if needed

How to tune after merging

  • Adjust labeling_instructions to add/remove labels or change criteria
  • Tweak tone_instructions at the top of the file to change review voice
  • Set early_access: false if experimental features cause noise
  • Full schema reference: https://docs.coderabbit.ai/reference/configuration

Closes phase 1 of #161.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Apr 13, 2026

PR Summary

Low Risk
Low risk: repo automation/config-only change with no runtime/library code impact; risk is limited to potential review/labeling noise or mislabeling.

Overview
Adds a new .coderabbit.yaml to enable CodeRabbit automation for this repo.

Configures non-blocking PR reviews (auto-review on master, high-level summaries/diagrams, and path-specific guidance for src/**, example/**, and tests), plus issue enrichment with auto-labeling and auto-planning rules.

Reviewed by Cursor Bugbot for commit ab7c00c. Configure here.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 13, 2026

📝 Walkthrough

Walkthrough

A new .coderabbit.yaml configuration file is added that defines CodeRabbit review behavior, including review language, PR review profiles, path-specific guidance for different code areas, automated issue enrichment with duplicate detection and labeling rules, and planning automation with label-based triggers.

Changes

Cohort / File(s) Summary
CodeRabbit Configuration
.coderabbit.yaml
New configuration file defining review language, response tone, PR review settings (chill profile, high-level summaries, sequence diagrams), path-specific instructions for src/** (stricter TypeScript standards), example/** (relaxed), and test files (quality focus). Includes issue enrichment with auto-duplicate detection, auto-labeling rules for bug/enhancement/question/needs-reproduction and platform labels (iOS/Android), plus planning automation with label-based triggers.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding CodeRabbit configuration and enabling issue triage automation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description clearly explains the changes: adding .coderabbit.yaml for issue triage with PR reviews disabled, enabling auto-labeling and auto-planning, and referencing Phase 1/4 of the automation roadmap (#161).

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch thomas/coderabbit-config

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.coderabbit.yaml (1)

29-34: Optional: add title keyword guards to reduce review noise on WIP PRs.

Consider ignore_title_keywords (e.g., WIP, DO NOT MERGE) so auto-review skips intentionally in-progress PRs that aren’t marked as drafts. This helps keep review feedback timely and relevant.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 29 - 34, Add an optional ignore_title_keywords
setting under the auto_review block so the auto-reviewer skips WIP PRs; update
the .coderabbit.yaml auto_review section (where auto_review.enabled and drafts
are defined) to include an ignore_title_keywords list (e.g., ["WIP","DO NOT
MERGE"]) so PRs containing those keywords in the title are ignored by the
auto-reviewer.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.coderabbit.yaml:
- Around line 29-34: Add an optional ignore_title_keywords setting under the
auto_review block so the auto-reviewer skips WIP PRs; update the
.coderabbit.yaml auto_review section (where auto_review.enabled and drafts are
defined) to include an ignore_title_keywords list (e.g., ["WIP","DO NOT MERGE"])
so PRs containing those keywords in the title are ignored by the auto-reviewer.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: fe7f9f3f-eb74-4e05-b89c-53b95ebdbbf3

📥 Commits

Reviewing files that changed from the base of the PR and between 5c0ce1f and ab7c00c.

📒 Files selected for processing (1)
  • .coderabbit.yaml

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@thomasttvo thomasttvo marked this pull request as draft April 13, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant