Skip to content

ci: enable CodeRabbit auto-reviews on the v7 branch - #29828

Merged
aqrln merged 1 commit into
v7from
ci/coderabbit-auto-review-on-v7
Jul 28, 2026
Merged

aqrln merged 1 commit into
v7from
ci/coderabbit-auto-review-on-v7

Conversation

@tensordreams

@tensordreams tensordreams commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

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 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

  • All commits are signed off per the DCO.
  • The change is scoped to one logical concern.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 145731b0-8210-4c9e-ab7b-a2ac8fa8134c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/coderabbit-auto-review-on-v7
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch ci/coderabbit-auto-review-on-v7

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.

❤️ Share

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

@github-actions

github-actions Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
packages/client/runtime/index-browser.js 2.29 KB (0%)
packages/client/runtime/index-browser.d.ts 3.37 KB (0%)
packages/cli/build/index.js 110 B (0%)
packages/client/prisma-client-0.0.0.tgz 25.58 MB (0%)
packages/cli/prisma-0.0.0.tgz 13.51 MB (0%)
packages/bundle-size/da-workers-libsql/output.tgz 1.28 MB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1.35 MB (0%)
packages/bundle-size/da-workers-pg/output.tgz 1.34 MB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 1.28 MB (0%)
packages/bundle-size/da-workers-d1/output.tgz 1.26 MB (0%)

CodeRabbit reviews only the repository's default branch unless a base
branch is named in reviews.auto_review.base_branches, so pull requests
against this branch 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 carried the entry was
still skipped, reporting "Configuration used: Organization UI". The same
entry is therefore on the default branch and here, so the setting takes
effect under either behaviour rather than silently doing nothing.

The profile is set explicitly rather than left to the schema default of
"chill": reviews on this branch run on the organisation UI's "assertive"
profile today, and introducing a repository config would otherwise relax
them as a side effect.

The path filter mirrors the default branch's, projects/ holding transient
workspaces on both.

Signed-off-by: Alexey Orlenko's AI Agent <[email protected]>
@tensordreams
tensordreams force-pushed the ci/coderabbit-auto-review-on-v7 branch from 8ff579c to 7aabe08 Compare July 28, 2026 14:14
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 28, 2026
@aqrln
aqrln merged commit 277a3f4 into v7 Jul 28, 2026
252 checks passed
@aqrln
aqrln deleted the ci/coderabbit-auto-review-on-v7 branch July 28, 2026 14:42
lh0x00 pushed a commit to lh0x00/prisma that referenced this pull request Aug 9, 2026
## 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants