Skip to main content
Fix loop optimization helps you:
  • Reduce noise in follow-up reviews.
  • Get follow-up reviews faster.
  • Lower the cost of each follow-up review.
Fix loop optimization is enabled by default. The first review of a PR is never affected.

Why Qodo narrows the review automatically

Fixing findings often takes several rounds of review. As you push fixes, each new review should focus on what still needs attention, rather than surface lower-priority findings again. Qodo keeps follow-up reviews focused without adding extra indicators to the pull request. Starting with the second review, Qodo narrows the review when you’ve resolved at least one Qodo finding and your new commits contain fixes rather than new functionality. This helps you focus on outstanding issues and get to a clean pull request faster.

Why it’s on by default

Fix loop optimization is enabled by default because it reduces noise in follow-up reviews without requiring configuration. If you’re benchmarking Qodo with a strong emphasis on finding every possible issue, consider disabling it, as narrowing the review may affect recall.

Findings aren’t lost

Findings that aren’t included in a narrowed review’s pull request comment are still recorded on the Qodo platform. They’re omitted from that round’s comment, not discarded.

Configure fix loop optimization

  1. Log in to the Qodo portal.
  2. Navigate to Configurations > Workflow > Code review.
  3. Turn Fix loop optimization on or off.
You can set this configuration for a workspace, a Git organization, or a single repository.

In .pr_agent.toml

To disable fix loop optimization, set enable_fix_loop_optimization to false under the [review_agent] section:
Set the value to true to enable fix loop optimization. The default is true.