Skip to content

Modify .pr_agent.toml for PR commands and settings#1137

Merged
sbryngelson merged 2 commits intoMFlowCode:masterfrom
sbryngelson:qodo
Feb 12, 2026
Merged

Modify .pr_agent.toml for PR commands and settings#1137
sbryngelson merged 2 commits intoMFlowCode:masterfrom
sbryngelson:qodo

Conversation

@sbryngelson
Copy link
Member

@sbryngelson sbryngelson commented Feb 12, 2026

User description

User description

Description

Summarize your changes and the motivation behind them.

Fixes #(issue)

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other: Make qodo run every push

PR Type

Enhancement


Description

  • Reorganized PR commands list for improved readability

  • Removed /describe command from automatic PR execution

  • Added push trigger support with dedicated push commands

  • Enabled automatic improvements on every push event


Diagram Walkthrough

flowchart LR
  A["PR Agent Configuration"] --> B["PR Commands"]
  A --> C["Push Trigger Settings"]
  B --> D["review, improve"]
  C --> E["handle_push_trigger enabled"]
  C --> F["push_commands: improve"]
Loading

File Walkthrough

Relevant files
Configuration changes
.pr_agent.toml
Add push triggers and restructure PR commands                       

.pr_agent.toml

  • Reformatted pr_commands list with improved formatting and removed
    /describe command
  • Added handle_push_trigger = true to enable push event handling
  • Added push_commands array with /improve command for automatic
    execution on push
  • Maintained existing pr_reviewer configuration settings
+7/-2     


CodeAnt-AI Description

Run review and improve on PRs; run improve automatically on pushes

What Changed

  • PRs now trigger review and improve actions automatically; the automatic /describe action was removed
  • Repository now treats pushes as events: every push automatically runs the /improve command
  • PR command list reordered for clarity and push handling explicitly enabled

Impact

✅ Automatic improvements on every push
✅ Fewer automatic PR descriptions
✅ Consistent review and improve runs on new PRs

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Updated PR agent configuration to include new commands and settings.
Refactor command lists in .pr_agent.toml for clarity.
Copilot AI review requested due to automatic review settings February 12, 2026 22:57
@codeant-ai
Copy link
Contributor

codeant-ai bot commented Feb 12, 2026

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Warning

Rate limit exceeded

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

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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 and usage tips.

@qodo-code-review
Copy link
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Config Validity

Verify that handle_push_trigger and push_commands are valid, supported keys for the PR Agent version used in this repo, and that the command strings (including leading /) match what the agent expects for both PR and push events.

pr_commands = [
  "/review",
  "/improve",
]

handle_push_trigger = true
push_commands = ["/improve"]
CI Load

Enabling automatic /improve on every push may increase CI/runtime cost and produce noisy updates; confirm this behavior is intended for all branches/PRs and aligns with team workflow (e.g., avoiding repeated auto-commits or comment spam).

handle_push_trigger = true
push_commands = ["/improve"]

@codeant-ai codeant-ai bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Feb 12, 2026
@codeant-ai
Copy link
Contributor

codeant-ai bot commented Feb 12, 2026

CodeAnt AI finished reviewing your PR.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link
Contributor

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

This PR modifies the .pr_agent.toml configuration file to enable Qodo (formerly PR-Agent) to automatically run on push events, in addition to its existing PR creation triggers. The configuration has been adjusted to streamline automated code reviews and improvements.

Changes:

  • Enabled automatic execution on push events by adding handle_push_trigger = true and push_commands = ["/improve"]
  • Removed /describe command from the default PR commands list (now only /review and /improve run on new PRs)
  • Reformatted pr_commands array from single-line to multi-line format for better readability

@sbryngelson sbryngelson merged commit c756f42 into MFlowCode:master Feb 12, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review effort 1/5 size:XS This PR changes 0-9 lines, ignoring generated files

Development

Successfully merging this pull request may close these issues.

1 participant