Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions docs/product/ai-in-sentry/ai-code-review/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ If you're not an admin, share the Seer by Sentry GitHub App Integration link wit

After installing the app, AI Code Review can help you in three ways:

1. **Error Prediction** - When you create a pull request and set it to `Ready for Review`, AI Code Review will check for errors in your code. If no error is found, you will see a 🎉 emoji as a reaction to your PR description. Otherwise, AI Code Review will add comments to your PR.
1. **Error Prediction** - When you create a pull request and set it to `Ready for Review`, AI Code Review will check for errors in your code. If no error is found, you will see a 🎉 emoji as a reaction to your PR description. Otherwise, AI Code Review will add comments to your PR. **Note:** We skip review if you set your PR to `draft` on creation.

2. **`@sentry review`** - Use this command in a PR comment, and the assistant will review the PR and predict errors, as well as make suggestions.

3. **`@sentry generate-test`** - Use this command in a PR comment, and the assistant will generate tests for your PR.

Once you have added a comment, the assistant will reply, acknowledging the request. For code reviews, you will then see comments added to your PR. For test generation, you will see a comment with a link to the generated tests.

![Sentry Prevent AI Overview](./img/prevent-ai-response.png)
![Sentry Prevent AI Overview =900x](./img/prevent-ai-response.png)

## Frequently Asked Questions

Expand All @@ -46,7 +46,7 @@ Once you have added a comment, the assistant will reply, acknowledging the reque

- **Does AI Code run anywhere outside of GitHub, and does it run in the background?**

AI Code Review only runs on GitHub. It will run once when a PR is marked `ready for review`, and otherwise only runs when triggered by a comment.
AI Code Review only runs on GitHub. It will run once when a PR is marked `ready for review` (either when creating the PR, or after taking it out of draft), and otherwise only runs when triggered by a comment.

You can learn more about AI privacy and security [here](/product/ai-in-sentry/ai-privacy-and-security/).

Expand All @@ -57,3 +57,11 @@ AI Code Review only runs on GitHub. It will run once when a PR is marked `ready
- **Is AI Code Review available in the EU region?**

Not currently, although we're working on it.

- **When does Error Prediction run?**

Error Prediction is automatically triggered by the following GitHub pull_request webhook events:
- `opened`: when you open a new pull request (we skip those opened in `draft` state)
- `ready_for_review`: when a draft pull request is marked as “Ready for review”

To manually run error prediction and get a general review, comment `@sentry review` in the PR.
8 changes: 4 additions & 4 deletions docs/product/ai-in-sentry/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Sentry leverages artificial intelligence (AI) and machine learning (ML) to enhan

## AI-Powered Features

### [Seer](/product/ai-in-sentry/seer/)
### Seer

Seer is Sentry's AI debugging agent that helps resolve errors and performance issues in your applications. Seer combines issue detection, analysis, and automated fixing capabilities to streamline your debugging workflow.
[Seer](/product/ai-in-sentry/seer/) is Sentry's AI debugging agent that helps resolve errors and performance issues in your applications. Seer combines issue detection, analysis, and automated fixing capabilities to streamline your debugging workflow.

- **[Issue Fix](/product/ai-in-sentry/seer/issue-fix/)**: Automated root cause analysis and suggested code fixes, for errors and performance issues.
- **Issue Scan**: Scans issues as they are ingested in Sentry to determine an actionability score and run Seer's issue fix on them automatically.
Expand All @@ -19,9 +19,9 @@ Seer is Sentry's AI debugging agent that helps resolve errors and performance is

**Issue summary** provides a quick overview of an issue by highlighting key insights taken from event and issue-level metadata. You'll see a quick overview of what's going wrong, a potential cause, and if relevant, insights from trace-connected issues.

### [AI Code Review](/product/ai-in-sentry/sentry-prevent-ai/)
### AI Code Review

AI Code Review helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests. Currently available only on Github
[AI Code Review](/product/ai-in-sentry/sentry-prevent-ai/) helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests. Currently available only on Github

### Query Assistant

Expand Down
Loading