Skip to main content
GitHub
Self-review acknowledgment allows PR authors to confirm they reviewed and addressed the findings generated by Qodo. When enabled, a checkbox appears in the PR that the author can use to acknowledge the review results. Teams can also configure Qodo to add itself as a reviewer after the author confirms the self-review, allowing the PR to be merged.

Why use self-review

Self-review helps teams:
  • Ensure authors review Qodo findings before merging
  • Add a lightweight confirmation step to the review workflow
  • Allow Qodo to become a reviewer once the author confirms the review

How to enable self-review

Self-review is configured in the .pr_agent.toml configuration file.

Enable the self-review checkbox

Add the following configuration:
[review_agent]
demand_self_review = true
Default: false When enabled, a checkbox appears in the PR. The author can select this checkbox to confirm they reviewed the findings.

Add Qodo as a reviewer after self-review

You can configure Qodo to add itself as a reviewer when the author confirms the self-review.
[review_agent]
approve_pr_on_self_review = true
Default: false When enabled:
1

The author reviews the Qodo findings.

2

The author selects the Author self-review checkbox.

3

Qodo adds itself as a reviewer.

4

The PR can then be merged.