Skip to content

chore: configure coderabbit reviews - #18771

Merged
DanRibbens merged 1 commit into
mainfrom
chore/coderabbit-review-config
Oct 16, 2026
Merged

DanRibbens merged 1 commit into
mainfrom
chore/coderabbit-review-config

Conversation

@DanRibbens

Copy link
Copy Markdown
Contributor

Written with AI

Description

Enable CodeRabbit auto-reviews for PRs targeting 3.x in addition to the default main branch, and disable generated PR description summaries.

Changes

  • Add .coderabbit.yaml with an exact 3.x base-branch pattern and high_level_summary: false.
  • Document that CodeRabbit settings should be maintained in YAML instead of the website admin interface.

Test Plan

  • Parsed the YAML and verified the summary setting is disabled.
  • Confirmed the regex matches 3.x and excludes 3ax, 3.x-fix, and release/3.x.
  • Staged diff whitespace check and commit hooks passed.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

This pull request changes a CodeRabbit configuration file. Because it comes from a fork or its author is not a repository collaborator, reviews use only the configuration from the target branch. The proposed configuration will take effect after it is merged.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 55841ffe-a515-4008-b309-8c12fbdeb369
📥 Commits

Reviewing files that changed from the base of the PR and between c7c6db6 and e41cd8b.

📒 Files selected for processing: 1
  • .coderabbit.yaml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The pull request adds a .coderabbit.yaml configuration with schema metadata. It disables high-level summaries and limits automatic reviews to branches matching ^3\.x$.

Changes: Review configuration

Layer / File(s) Summary
Review settings
.coderabbit.yaml
The configuration adds schema metadata and comments. It disables high-level summaries and targets automatic reviews to branches matching ^3\.x$.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to e41cd

This adds review configuration only and does not change runtime behavior. It is safe to merge.

### Architecture Summary

Architecture risk: 🔵 Low · up to e41cd

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .coderabbit.yaml: Adds YAML schema metadata and comments directing configuration management to this version-controlled file.
  • observed — Modified behavior in .coderabbit.yaml: Adds CodeRabbit review settings: high-level summaries are disabled, and automatic reviews target branches matching ^3\.x$.
Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description directly explains the CodeRabbit configuration changes, target branch pattern, disabled summary setting, documentation update, and validation steps.
Title check Passed The title clearly and concisely identifies the main change: configuring CodeRabbit reviews.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Git: CodeRabbit could not clone the repository, so clone-backed analysis was skipped and this review may be incomplete. Verify repository clone access, such as SSH credentials, before requesting another full review. If clone access is intentionally unavailable, use path_filters to narrow the review scope.

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

@DanRibbens
DanRibbens marked this pull request as ready for review October 16, 2026 15:10

@denolfe denolfe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, glad they allow this, and I don't have to do everything in the interface.

Comment thread .coderabbit.yaml
reviews:
high_level_summary: false
auto_review:
base_branches:

@DanRibbens DanRibbens Oct 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

no need to add main according to docs.

@DanRibbens
DanRibbens merged commit 4341bad into main Oct 16, 2026
29 checks passed
@DanRibbens
DanRibbens deleted the chore/coderabbit-review-config branch October 16, 2026 15:37
@github-actions

Copy link
Copy Markdown
Contributor

🚀 This is included in version v4.0.0-beta.3

denolfe added a commit that referenced this pull request Oct 23, 2026
Backport of #18771 to `3.x`. Adds `.coderabbit.yaml` so CodeRabbit
auto-reviews PRs that target `3.x`.

## Root Cause

CodeRabbit reads `.coderabbit.yaml` from the PR's branch, not from
`main`. The `3.x` branch has no config file. CodeRabbit falls back to
the repository UI settings. Those settings skip base branches other than
the default branch, so every PR into `3.x` gets a "Review skipped"
comment (e.g. #18980).

🤖 Written with AI

Co-authored-by: Dan Ribbens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants