Research Preview
Research Preview: The Remediate findings feature is set as Research Preview and is under active development. Functionality and results may evolve as we continue to improve the feature. We recommend reviewing and validating outputs before use, and advise against using these features in production or business-critical workflows.
Identifying an issue is only the first step. Resolving review findings often requires developers to switch context, implement changes, validate the fix, and update the pull request. As findings accumulate, these additional steps can slow down reviews and delay merges.
Qodo provides the following methods to remediate findings identified during code review:
| Method | Best for |
|---|
| Fix within chat | Guided remediation where you intentionally select which fixes to apply, rather than relying on broad or automated changes. |
| Automatically remediate findings at scale | Qodo’s remediation agent runs on your PRs and automatically applies fixes and creates a dedicated remediation pull request. |
Fix with chat
Use the chat to remediate specific findings through a conversational workflow. This option is best for targeted fixes, smaller changes, or when you want more control over the remediation process.
Example:
“Qodo, fix the null pointer issue in this PR.”
Enable Fix with chat in your PRs
- Log in to the Qodo portal.
- Navigate to Configurations > General Review.
- Verify that the Chat Agent is enabled. This feature is enabled by default. For more information, see Use Conversational Chat in pull requests.
- Under the Research Preview tab, navigate to the Remediation section, and click the Fix with the chat toggle.
Fix findings through chat
- Mention
@qodo, qodo, or /qodo in a PR comment, review comment, or inline code comment.
- Ask Qodo to fix the issue using natural language.
- Qodo views the comment and adds .
- Qodo opens a PR with the fix and produces a final report and closes the PR.
A new pull request containing the proposed fix is created for your review.
Use the Remediation Agent to automatically remediate findings at scale. You can remediate selected findings or all findings that match your configured severity threshold. The agent creates a new branch from the pull request under review, applies the fixes, and opens a separate remediation pull request containing the proposed changes.
Example:
“Qodo, fix all action-required findings in this PR.”
-
Log in to the Qodo portal.
-
Navigate to Configurations > Research Preview > Remediation.
-
Click the Remediation Agent toggle.
-
Under Auto-fix severity, select the highest severity level the Remediation agent should remediate:
- Action required
- Remediation recommended
- Informational
Severity levels are inclusive. Selecting a level applies remediation to that level and all lower severities.
-
[Optional] Configure pull request behaviour for fixes.
-
For the Open a fix PR option.
- Enable to deliver fixes in a separate pull request.
- Disable to apply fixes directly to the current branch.
-
For the Close fix PR when done option.
Enable to automatically close the fix pull request once all fixes are applied.
-
Click Save.
When remediation is triggered for a pull request:
- Qodo creates a child branch from the pull request branch, applies the fix, and opens a separate remediation pull request.
- The Remediation Agent applies fixes for the selected findings.
- A remediation pull request is opened with the proposed changes.
- You can review the generated commits and merge the remediation pull request when ready.
Additional resources