[Beta] Codecov AI

Codecov AI is a generative AI assistant developed by Codecov at Sentry. It helps you with generating new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests.

Have feedback? Drop us a line on Github Issue here.

Setup

To enable the Codecov AI assistant in your GitHub organization, or on specific repositories, you need to install the Codecov AI GitHub App Integration. This will allow the assistant to analyze pull requests and provide insights.

If you're not an admin, copy the Codecov AI GitHub App Integration link and share it with your organization's admin or owner to install it.

Codecov AI Commands

After installing the app, use this command in your PR comments:

  • @codecov-ai-reviewer review --the assistant will review the PR and make suggestions.

FAQs

What data does Codecov need access to for the AI system to function, and what information is sent to OpenAI?
Codecov requires access to your pull requests, including PR metadata, repository information, file names, directory structures, and code diffs. The file names, code diffs, and PR descriptions are sent to OpenAI.