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:
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 the Fix with chat feature 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 Remediation tab, scroll to the Remediation action section, and select the Fix with the chat toggle. Your changes are saved automatically.
Fix findings through chat
- Start a conversation by mentioning
@qodo, qodo, or /qodo at the beginning of a PR 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 > Remediation.
-
Scroll down and select the Remediation agent toggle.
-
Under Auto-fix severity, select the highest severity level the Remediation agent should remediate:
- Action required
- Review recommended
- Informational
Severity levels are inclusive. Selecting a level applies remediation to that level and all higher 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.
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.