Skip to content

chore(coderabbit): enable proplus review config#2

Merged
ANcpLua merged 1 commit into
mainfrom
dev/coderabbit-proplus-20260516155428
May 16, 2026
Merged

chore(coderabbit): enable proplus review config#2
ANcpLua merged 1 commit into
mainfrom
dev/coderabbit-proplus-20260516155428

Conversation

@ANcpLua
Copy link
Copy Markdown
Owner

@ANcpLua ANcpLua commented May 16, 2026

What changed

  • Replace or add the repo-root CodeRabbit v2 config with a Pro+ / Enterprise-grade setup.
  • Enable request-changes workflow, failing commit status, expanded review details, linked issues/PRs, sequence diagrams, cross-repository knowledge, web search, MCP knowledge, code generation guidance, issue enrichment, slop detection, and custom finishing-touch recipes.
  • Add repo-aware path instructions while preserving existing bespoke guidance where present.
  • Enable relevant security/static-analysis tools and explicit pre-merge checks for generated-file drift, secrets/PII, async/cancellation safety, public contract drift, CI/release safety, test risk, dependency hygiene, observability, hidden fallbacks, and copy-paste tables.

Why

We have the paid CodeRabbit capacity; this makes CodeRabbit spend it on review depth instead of staying on the old advisory baseline.

Validation

  • Generated from the current CodeRabbit v2 schema reference (https://coderabbit.ai/integrations/schema.v2.json, docs last updated 2026-05-10).
  • Validated .coderabbit.yaml locally against the live schema before pushing this branch.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 16, 2026

Warning

Rate limit exceeded

@ANcpLua has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 51 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 513202db-b454-4d27-a6a4-5ea21ff06be6

📥 Commits

Reviewing files that changed from the base of the PR and between 8d68623 and e21e7d9.

📒 Files selected for processing (1)
  • .coderabbit.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev/coderabbit-proplus-20260516155428
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch dev/coderabbit-proplus-20260516155428
  • 🛠️ architecture hardening
  • 🛠️ security pass
  • 🛠️ test gap closure
  • 🛠️ docs and changelog alignment
  • 🛠️ performance and allocation pass

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

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@ANcpLua ANcpLua merged commit 75404af into main May 16, 2026
4 checks passed
@ANcpLua ANcpLua deleted the dev/coderabbit-proplus-20260516155428 branch May 16, 2026 14:02
Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

While the PR successfully implements the Pro+ assertive posture and comprehensive security toolset, there is a critical logical conflict that will prevent the configuration from working as intended. The current path_filters exclude generated files and lockfiles, which directly contradicts the pre_merge_checks configured to validate those same files. This will result in the bot being unable to verify regeneration consistency or dependency hygiene.

Codacy results indicate the PR is up to standards, but the following issues should be resolved before merging to ensure the automated gates function correctly:

  • Remove exclusions for generated files and lockfiles to allow automated checks to run.
  • Align languagetool settings with the 'no style nits' instruction.
  • Fix duplicated labeling logic to prevent configuration drift.

About this PR

  • The ignore_usernames list is now empty (line 188), whereas it previously ignored 'renovate[bot]'. This will result in CodeRabbit reviewing automated dependency PRs. If this was not intentional, the bot should be added back to the ignore list.

Test suggestions

  • Verify path_filters correctly exclude generated files (.g.cs, .g.ts, bin/obj) and package lockfiles.
  • Confirm pre_merge_checks use 'error' mode for CI safety, secrets, and async safety.
  • Ensure linked_repositories includes all specified ANcpLua sister projects for cross-repo context.
  • Validate that C# path instructions specifically prompt for sync-over-async and missing CancellationToken usage.
  • Verify that custom finishing touches include a specific 'security pass' looking for injection risks and CI token permissions.
Low confidence findings
  • The file contains a hardcoded generation date (line 4) which may become misleading as the configuration is manually edited over time.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread .coderabbit.yaml
Comment on lines +93 to +112
- "!**/*.g.cs"
- "!**/*.g.ts"
- "!**/*.g.sql"
- "!**/*.g.tsp"
- "!**/*.Designer.cs"
- "!**/Generated/**"
- "!**/generated/**"
- "!**/bin/**"
- "!**/obj/**"
- "!**/dist/**"
- "!**/node_modules/**"
- "!**/coverage/**"
- "!**/.angular/**"
- "!**/.vite/**"
- "!**/.next/**"
- "!**/*.min.js"
- "!**/*.min.css"
- "!**/package-lock.json"
- "!**/pnpm-lock.yaml"
- "!**/yarn.lock"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 HIGH RISK

Excluding generated files and lockfiles in path_filters prevents the AI from seeing the diffs required to satisfy the Generated Files Regenerated (line 249) and Dependency Hygiene (line 301) checks. Since the AI won't see these files in the PR diff, it cannot verify if they were updated alongside source changes. Remove these exclusions to enable the automated gates.

Try running the following prompt in your coding agent:

In .coderabbit.yaml, remove the following patterns from the path_filters list: !**/*.g.cs, !**/*.g.ts, !**/*.g.sql, !**/*.g.tsp, !**/*.Designer.cs, !**/Generated/**, !**/generated/**, !**/package-lock.json, !**/pnpm-lock.yaml, and !**/yarn.lock.

Comment thread .coderabbit.yaml
data structures. Apply low-risk improvements with tests or benchmarks where
the repo already has them.
pre_merge_checks:
override_requested_reviewers_only: true
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

Suggestion: The setting override_requested_reviewers_only: true may prevent the automated gates from blocking unsafe PRs unless the bot is specifically added as a reviewer. To ensure the 'Principal/staff-level review' posture applies consistently to all PRs as described on line 10, set this to false.

Suggested change
override_requested_reviewers_only: true
override_requested_reviewers_only: false

Comment thread .coderabbit.yaml
Comment on lines +542 to +575
labeling_instructions:
- label: area:api
instructions: Apply when REST, RPC, MCP, public endpoints, contracts, or request/response
models change.
- label: area:ui
instructions: Apply when frontend UI, styling, accessibility, or client-side
state changes.
- label: area:build
instructions: Apply when build scripts, NUKE/MSBuild, package managers, Docker,
CI, or release automation change.
- label: area:test
instructions: Apply when tests, fixtures, test infrastructure, coverage, or
snapshots change.
- label: area:docs
instructions: Apply when docs, AGENTS.md, CLAUDE.md, README, changelogs, specs,
or generated reference docs change.
- label: area:security
instructions: Apply when authentication, authorization, secrets, token handling,
logging of sensitive data, or dependency security changes.
- label: area:data
instructions: Apply when database schema, persistence, migrations, queues, storage,
serialization, generated data, or data contracts change.
- label: area:agents
instructions: Apply when agent prompts, MCP tools, AI workflow code, model calls,
tool schemas, or agent-facing instructions change.
- label: area:generated
instructions: Apply when generated files, generators, schemas, OpenAPI/TypeSpec/semconv
models, lockfiles, or generated docs change.
- label: breaking
instructions: Apply when public APIs, CLI flags, package surfaces, endpoint
schemas, storage formats, config keys, or emitted artifacts change incompatibly.
- label: review:slop
instructions: Auto-applied by CodeRabbit slop detection for low-quality AI-generated
changes. Do not apply manually.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚪ LOW RISK

Suggestion: The labeling_instructions block is duplicated between the reviews section (line 46) and the issue_enrichment section (line 542). This duplication increases maintenance overhead and risk of drift. Use a YAML anchor (e.g., &label_defs) to define the list once in the reviews section and a YAML alias (e.g., *label_defs) to reuse it in issue_enrichment.labeling.

Comment thread .coderabbit.yaml
Comment on lines +318 to +320
languagetool:
enabled: true
level: picky
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚪ LOW RISK

Suggestion: Setting languagetool to picky produces cosmetic style nits that contradict the instructions on line 16 and line 158 to maintain a direct engineering focus without filler. Disable the tool or lower the pickiness level to align with the defined review posture.

Suggested change
languagetool:
enabled: true
level: picky
languagetool:
enabled: false

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