Skip to content

Request Copilot and CodeRabbit Reviews Explicitly After Checks Pass - #1218

Merged
ptr727 merged 1 commit into
developfrom
chore/explicit-review-policy
Nov 7, 2026
Merged

ptr727 merged 1 commit into
developfrom
chore/explicit-review-policy

Conversation

@ptr727

@ptr727 ptr727 commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Regenerates the review policy from the hub registry with scripts/agent_policy.py write, at hub develop 3f776355, as a live test of explicit bot review that the maintainer directed:

  • Copilot: explicit, requested after checks pass, a round per push, capped at 3 rounds, and it gates.
  • CodeRabbit: explicit, requested once after checks pass, and it does not gate. .coderabbit.yaml turns its automatic review off to match.
  • Qodo stays automatic, so .pr_agent.toml is unchanged.

This pull request's own review still runs under the old automatic policy, since pr_review.py reads the policy from the base branch. Once it merges, the hub's configure.sh apply takes the Copilot rule off the rulesets.

🤖 Generated with Claude Code

Copilot AI lite review requested due to automatic review settings November 7, 2026 20:48
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. 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

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@ptr727

ptr727 commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head df1c8514afb1b4553a56f18e6b43d1c37b6681a5, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Request Copilot and CodeRabbit reviews after checks pass

⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Request Copilot and CodeRabbit reviews explicitly after checks pass instead of on PR open.
• Cap gating Copilot reviews at three rounds; request one nongating CodeRabbit review.
• Disable CodeRabbit auto-review while leaving Qodo's automatic review unchanged.
Diagram

graph TD
  E["PR events"] --> H["Hub reviewer"] --> P["Review policy"] --> C{"Checks passed?"} -->|"gating, max 3"| CP["Copilot review"]
  C -->|"once, nongating"| CR["CodeRabbit review"]
  P -->|"unchanged automatic"| Q["Qodo review"]
  CFG["CodeRabbit settings"] -->|"auto disabled"| CR
Loading
High-Level Assessment

Keep the policy in the hub-consumed registry and disable CodeRabbit's separate automatic trigger. Changing only one configuration surface would leave the intended explicit-review behavior inconsistent.

Files changed (2) +7 / -7

Other (2) +7 / -7
.coderabbit.yamlDisable CodeRabbit automatic reviews +1/-1

Disable CodeRabbit automatic reviews

• Turns off CodeRabbit's auto-review so its own settings do not initiate reviews independently of the explicit policy.

.coderabbit.yaml

agent-policy.jsonSet explicit, post-check review rules +6/-6

Set explicit, post-check review rules

• Changes Copilot to explicit post-check requests, retains per-push rounds, and caps them at three while keeping it gating. Changes CodeRabbit to one explicit post-check, nongating review; Qodo remains automatic.

.github/agent-policy.json

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The static policy files align with the hub-generated policy, but repository-wide review triggers, Copilot gating, live after-check behavior, and CodeRabbit manual-review behavior still require maintainer runtime validation.

No open issues 🎉

What changed in this PR

Updates repository review automation so Copilot and CodeRabbit are explicitly requested after checks pass, while Qodo remains automatic.

Changes:

  • Configures Copilot for gated, post-check reviews with up to three rounds per push.
  • Configures CodeRabbit for one non-gating, post-check review and disables automatic reviews.
  • Preserves Qodo’s automatic review behavior.

The CodeRabbit configuration omits the repository’s default branch, creating drift with the generated policy.

This pull request requires changes.

File Summary Review
.github/​agent-policy.json Defines the updated Copilot, CodeRabbit, and Qodo review behavior. No issues identified.
.coderabbit.yaml Disables automatic CodeRabbit reviews and configures eligible base branches. Add the default-branch pattern to keep the base-branch configuration aligned with the policy.

Review effort: Lite

@ptr727

ptr727 commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Declining the headline as a blocker: it confirms the static files match the hub-generated policy, and names runtime validation as what remains. That runtime validation is the purpose of this change. It is a live test that the maintainer directed, observed on the next ordinary pull requests after this merges and the rulesets are applied, and reported back to the hub session that owns the policy. Nothing in the two files needs changing for it.

@ptr727
ptr727 merged commit f1a1b88 into develop Nov 7, 2026
16 checks passed
@ptr727
ptr727 deleted the chore/explicit-review-policy branch November 7, 2026 20:59
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.

2 participants