Repository navigation
ci: review pull requests based on v7 as well as the default branch - #29829
tensordreams wants to merge 1 commit into
Conversation
CodeRabbit reviews only the default branch unless a base branch is named in reviews.auto_review.base_branches, so pull requests against v7 come back with "Auto reviews are disabled on base/target branches other than the default branch" and no review. Which copy of the configuration governs that gate is not clear. The documentation says the file is read from the pull request's feature branch, but a pull request whose feature branch carries the entry was still skipped, reporting "Configuration used: Organization UI". The same entry is therefore on the v7 branch, and here, so the setting takes effect under either behaviour rather than silently doing nothing. Signed-off-by: Alexey Orlenko's AI Agent <[email protected]>
|
Warning Ignoring CodeRabbit configuration file changes. For security, only the configuration from the base branch is applied for open source repositories. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdates ChangesAuto-review configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
size-limit report 📦
|
## Summary Pull requests against this branch come back with: > **Review skipped** — Auto reviews are disabled on base/target branches other than the default branch. CodeRabbit reviews only the default branch unless a base branch is named in `reviews.auto_review.base_branches`, which defaults to `[]`. This branch has no `.coderabbit.yml` at all, so it adds one naming `v7`. ## Why this lands in two places #29829 adds the same entry to the copy on `main`. Belt and braces, deliberately, because which copy governs the gate is genuinely unclear: - The [documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) says *"The configuration present in the **feature branch** under review will be automatically detected and used by CodeRabbit for that review."* - **This pull request falsifies that as stated.** Its own feature branch carries the file below, and CodeRabbit skipped it anyway, reporting `Configuration used: Organization UI`. The observed behaviour is equally consistent with the file being read from the **base** branch — `v7`, which has no file yet, hence the fallback to organisation settings — and with the gate being evaluated from a repository-level configuration before any branch file is consulted. CodeRabbit's `Configuration used` line does separate one thing cleanly: PRs based on `main` report `Path: .coderabbit.yml` while PRs based on `v7` report `Organization UI`, so `main`'s copy is certainly not what is consulted here today. Rather than pick a model and risk a change that merges cleanly and does nothing, the entry goes in both places. It is a handful of lines, and harmless wherever it proves redundant. If both file copies turn out to be ignored, the configuration demonstrably in force for these pull requests is **Organization UI**, and setting the base branch there is the lever that must work — an org settings change rather than anything a PR can carry. ## The profile is pinned, not defaulted `reviews.profile` is set to `assertive` explicitly. Reviews on this branch run on the organisation UI's assertive profile today, and merely introducing a repository config would otherwise take the schema default of `chill` and relax them as a silent side effect of enabling auto-review. The maintenance line keeps the stricter profile; the default branch, which sets no profile, keeps `chill`. ## Testing performed - Confirmed `reviews.auto_review.base_branches` against the published schema: *"Base branches (other than the default branch) to review. Accepts regex patterns."* - Confirmed `chill` is the schema default for `reviews.profile`, which is what made pinning it necessary rather than cosmetic. - Confirmed the file parses and resolves to the intended values. - Confirmed `projects/` exists on this branch and holds transient workspaces, as on `main`, so mirroring that path filter is meaningful rather than copied blindly. This cannot be verified before merge, and this PR being skipped is itself the evidence above. The check is the first pull request opened against this branch afterwards — both that it is reviewed at all, and that the review runs assertive. Note also that `.coderabbit.yml` is not in `test.yml`'s `paths-ignore`, so this configuration-only change runs the full test matrix. That list is duplicated across five workflow files with a comment requiring them to be kept in step, so I left it alone rather than widen this PR. ## Checklist - [x] All commits are signed off per the DCO. - [x] The change is scoped to one logical concern. Signed-off-by: Alexey Orlenko's AI Agent <[email protected]>
|
Reviews on |
## Summary Pull requests against this branch come back with: > **Review skipped** — Auto reviews are disabled on base/target branches other than the default branch. CodeRabbit reviews only the default branch unless a base branch is named in `reviews.auto_review.base_branches`, which defaults to `[]`. This branch has no `.coderabbit.yml` at all, so it adds one naming `v7`. ## Why this lands in two places prisma#29829 adds the same entry to the copy on `main`. Belt and braces, deliberately, because which copy governs the gate is genuinely unclear: - The [documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) says *"The configuration present in the **feature branch** under review will be automatically detected and used by CodeRabbit for that review."* - **This pull request falsifies that as stated.** Its own feature branch carries the file below, and CodeRabbit skipped it anyway, reporting `Configuration used: Organization UI`. The observed behaviour is equally consistent with the file being read from the **base** branch — `v7`, which has no file yet, hence the fallback to organisation settings — and with the gate being evaluated from a repository-level configuration before any branch file is consulted. CodeRabbit's `Configuration used` line does separate one thing cleanly: PRs based on `main` report `Path: .coderabbit.yml` while PRs based on `v7` report `Organization UI`, so `main`'s copy is certainly not what is consulted here today. Rather than pick a model and risk a change that merges cleanly and does nothing, the entry goes in both places. It is a handful of lines, and harmless wherever it proves redundant. If both file copies turn out to be ignored, the configuration demonstrably in force for these pull requests is **Organization UI**, and setting the base branch there is the lever that must work — an org settings change rather than anything a PR can carry. ## The profile is pinned, not defaulted `reviews.profile` is set to `assertive` explicitly. Reviews on this branch run on the organisation UI's assertive profile today, and merely introducing a repository config would otherwise take the schema default of `chill` and relax them as a silent side effect of enabling auto-review. The maintenance line keeps the stricter profile; the default branch, which sets no profile, keeps `chill`. ## Testing performed - Confirmed `reviews.auto_review.base_branches` against the published schema: *"Base branches (other than the default branch) to review. Accepts regex patterns."* - Confirmed `chill` is the schema default for `reviews.profile`, which is what made pinning it necessary rather than cosmetic. - Confirmed the file parses and resolves to the intended values. - Confirmed `projects/` exists on this branch and holds transient workspaces, as on `main`, so mirroring that path filter is meaningful rather than copied blindly. This cannot be verified before merge, and this PR being skipped is itself the evidence above. The check is the first pull request opened against this branch afterwards — both that it is reviewed at all, and that the review runs assertive. Note also that `.coderabbit.yml` is not in `test.yml`'s `paths-ignore`, so this configuration-only change runs the full test matrix. That list is duplicated across five workflow files with a comment requiring them to be kept in step, so I left it alone rather than widen this PR. ## Checklist - [x] All commits are signed off per the DCO. - [x] The change is scoped to one logical concern. Signed-off-by: Alexey Orlenko's AI Agent <[email protected]>
Linked issue
n/a — follows from the
v7/mainbranch swap.Summary
Pull requests against
v7come back with:CodeRabbit reviews only the default branch unless a base branch is named in
reviews.auto_review.base_branches, which defaults to[]. This namesv7.Why this lands in two places
#29828 adds the same entry on
v7. Belt and braces, deliberately, because which copy governs the gate is genuinely unclear:.coderabbit.ymlwithbase_branches: ["v7"], and CodeRabbit skipped it anyway, reportingConfiguration used: Organization UI.So the documented rule does not describe what actually happened, and the observed behaviour is equally consistent with the config being read from the base branch (
v7, which has no file yet, hence the fallback to organisation settings) and with the gate being evaluated from a repository-level configuration before any branch file is consulted.Rather than pick one and risk a change that merges cleanly and does nothing, the entry goes in both. It is one line, and harmless wherever it turns out to be redundant.
If neither takes effect
The configuration demonstrably in force for
v7-based pull requests today is Organization UI. If both file copies turn out to be ignored, setting the same base branch there is the lever that must work, since that is the configuration CodeRabbit reports itself as using. That is an org settings change rather than anything a PR can carry.Testing performed
reviews.auto_review.base_branchesagainst the published schema: "Base branches (other than the default branch) to review. Accepts regex patterns."path_filtersintact.Configuration usedline across PRs based onmain(Path: .coderabbit.yml) and onv7(Organization UI), which is what established that the file onmainis not consulted forv7-based PRs.This cannot be verified before merge — a configuration change takes effect only once it is on the branch CodeRabbit reads. The check is the first pull request opened against
v7afterwards; if it is still skipped, the organisation UI is the remaining lever.Skill update
n/a — CI configuration only.
Checklist
git commit -s) per the DCO.TML-NNNN: <sentence-case title>form — no Linear ticket exists for this change; happy to retitle if one should be raised.Summary by CodeRabbit
v7base branch.