Skip to content

Commit c419e02

Browse files
author
Shannon Anahata
committed
adding sentry prevent AI docs
1 parent 7fa979a commit c419e02

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Sentry Prevent AI
3+
sidebar_order: 130
4+
description: "Get code reviews and new tests for better code and coverage using Sentry Prevent AI."
5+
---
6+
7+
Sentry Prevent AI is a generative AI assistant developed by Sentry. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests.
8+
9+
<Alert>
10+
Sentry Prevent AI is currently in <strong>beta</strong>. Beta features are still a work in progress and may have bugs. Please reach out on GitHub Issues if you have any feedback or concerns.
11+
</Alert>
12+
13+
{/* ![Sentry Prevent AI Overview](./img/sentry-prevent-ai-overview.png) */}
14+
15+
## Getting Started
16+
17+
To enable the Sentry Prevent AI assistant in your GitHub organization or on specific repositories, you need to install the Sentry Prevent AI GitHub App Integration. This allows the assistant to analyze pull requests and provide insights.
18+
19+
If you're not an admin, copy the Sentry Prevent AI GitHub App Integration link and share it with your organization's admin or owner to install it.
20+
21+
## Sentry Prevent AI Commands
22+
23+
After installing the app, use these commands in your pull request comments:
24+
25+
- `@sentry-prevent-ai-reviewer review` — The assistant will review the PR and make suggestions.
26+
- `@sentry-prevent-ai-reviewer test` — The assistant will generate tests for your PR.
27+
28+
{/* ![Sentry Prevent AI PR Review Example](./img/sentry-prevent-ai-pr-review.png) */}
29+
30+
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.
31+
32+
## Frequently Asked Questions
33+
34+
**What data does Sentry Prevent need access to for the AI system to function, and what information is sent to third-party AI providers?**
35+
36+
Sentry Prevent 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 the AI provider for analysis.
37+
38+
## Feedback & Support
39+
40+
Have feedback? Drop us a line on GitHub Issues or contact Sentry support.
41+
42+
---
43+
44+
For more information, see the [Sentry Prevent documentation](https://docs.sentry.io/).

docs/product/sentry-toolbar/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Sentry Toolbar
3-
sidebar_order: 120
3+
sidebar_order: 110
44
description: "Bring critical Sentry insights and tools directly into your web app for easier troubleshooting with the Sentry Toolbar."
55
---
66

0 commit comments

Comments
 (0)