You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat: Updated prevent docs with latest steps (#15456)
## DESCRIBE YOUR PR
Updated prevent docs to:
- Remove Seer GH app instructions
- Remove FAQ about supporting EU. Yes we do now!
Preview:
https://sentry-docs-git-prevent-doc-updates.sentry.dev/product/ai-in-sentry/ai-code-review/
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [x] Urgent deadline (GA date, etc.): Soon as this ships
- [ ] Other deadline: <!-- ENTER DATE HERE -->
- [ ] None: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
added an urgent due date to it.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
*Make sure you've checked the following before merging your changes:*
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Shannon Anahata <shannonanahata@gmail.com>
Copy file name to clipboardExpand all lines: docs/organization/integrations/source-code-mgmt/github/index.mdx
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ There are three types of GitHub integrations, so make sure you're choosing the c
17
17
18
18
For these accounts, follow the '[Installing GitHub Enterprise](#installing-github-enterprise)' instructions.
19
19
20
-
-[Seer GitHub App](#installing-the-seer-github-app) - For [Seer](/product/ai-in-sentry/seer) to make Pull Requests for Issue Fixes and for [AI Code Review](/product/ai-in-sentry/ai-code-review) to analyze your Pull Requests.
20
+
-[Seer GitHub App](#installing-the-seer-github-app) - For [Seer](/product/ai-in-sentry/seer) to make Pull Requests for Issue Fixes.
21
21
22
22
### Check Your Domain
23
23
@@ -38,7 +38,7 @@ Sentry owner, manager, or admin permissions, and GitHub owner permissions are re
38
38
39
39
1. In Sentry, navigate to **Settings > Integrations > [GitHub](https://sentry.io/orgredirect/organizations/:orgslug/settings/integrations/github)**.
2. If you have the legacy GitHub integration installed, use the button next to GitHub to **Upgrade**. If you don't have the legacy GitHub integration installed, use the button to **Install**.
44
44
@@ -50,7 +50,7 @@ Sentry owner, manager, or admin permissions, and GitHub owner permissions are re
50
50
7. On your new GitHub instance in Sentry, click "Configure".
51
51
8. All of your repositories will be added by default, you just have to refresh your screen. To only add select repositories, choose them from the dropdown list. _Make sure you have given Sentry access to these repositories in GitHub in the previous steps._
@@ -210,30 +210,30 @@ Occasionally, Sentry will request additional permissions to your GitHub account
210
210
211
211
5. Click "Configure" and then a GitHub install window will pop up. Select which repositories Sentry should have access to (or select all repositories) and click "Install".
7. Add any repositories that you want to collect commit data from. _Make sure you have given Sentry access to these repositories in GitHub in the previous steps._
GitHub Enterprise should now be enabled for all projects under your Sentry organization.
223
223
224
224
## Installing the Seer GitHub App
225
225
226
-
The [Seer GitHub App](https://github.com/apps/seer-by-sentry) is used by [Seer](/product/ai-in-sentry/seer) to make Pull Requests for Issue Fixes and for [AI Code Review](/product/ai-in-sentry/ai-code-review) to analyze your Pull Requests.
226
+
The [Seer GitHub App](https://github.com/apps/seer-by-sentry) is used by [Seer](/product/ai-in-sentry/seer) to make Pull Requests for Issue Fixes.
227
227
228
228
To install the Seer GitHub App, simply follow the installation steps to install the GitHub App for the specified organization/repositories you need. You can find the Seer GitHub App [here](https://github.com/apps/seer-by-sentry).
229
229
230
-
-For [Issue Fix](/product/ai-in-sentry/seer#issue-fix), you will now be able to create pull requests in the installed locations.
230
+
For [Issue Fix](/product/ai-in-sentry/seer#issue-fix), you will now be able to create pull requests in the installed locations.
231
231
232
-
- For [AI Code Review](/product/ai-in-sentry/ai-code-review), continue following the instructions in the [Sentry Prevent AI](/product/ai-in-sentry/sentry-prevent-ai#getting-started) documentation.
232
+
## Configure GitHub Integration
233
233
234
-
## Configure
234
+
Use GitHub to [track commits](#commit-tracking), identify [suspect commits](#suspect-commits-and-suggested-assignees), [resolve via commit or PR](#resolve-via-commit-or-pull-request), [manage issues](#issue-management), and use AI for code review.
235
235
236
-
Use GitHub to [track commits](#commit-tracking), identify [suspect commits](#suspect-commits-and-suggested-assignees), [resolve via commit or PR](#resolve-via-commit-or-pull-request)and [manage issues](#issue-management).
236
+
To enable [AI Code Review](/product/ai-in-sentry/ai-code-review), turn on the `Show Generative AI Features`and `Enable AI Code Review` settings in your [organization settings](https://sentry.io/orgredirect/settings/:orgslug/).
237
237
238
238
### Commit Tracking
239
239
@@ -245,7 +245,7 @@ Once you set up commit tracking, you'll be able to see the most recent changes t
245
245
246
246
For issues where the files in the stack trace match files included in commits sent to Sentry, you'll see the suspect commit, with a link to the commit itself.
You'll also see that the author of the suspect commit will be listed as a suggested assignee for this issue. To assign the issue to the suggested assignee, click on their icon.
251
251
@@ -270,19 +270,19 @@ Issue management can be configured in two ways - automatically or manually.
270
270
271
271
To configure issue management automatically, create an [**Issue Alert**](/product/alerts-notifications/issue-alerts/). When selecting the [**action**](/product/alerts/create-alerts/issue-alert-config/#then-conditions-actions), choose **Create a new GitHub issue**.
A GitHub issue will be created automatically when the alert has been triggered.
276
276
277
277
#### Manually
278
278
279
279
To configure issue management manually, once you've navigated to a specific Sentry issue, you'll find the **Linked Issues** section on the right hand panel.
280
280
281
-

281
+

282
282
283
283
Here, you'll be able to create or link GitHub issues.

286
286
287
287
### Issue Sync
288
288
@@ -339,15 +339,15 @@ Sentry can comment on merged and open pull requests. These features are automati
339
339
340
340
If a recently merged pull request is suspected of causing an issue, Sentry will comment on it to surface the issue, as shown in the example below.
341
341
342
-

342
+

343
343
344
344
Sentry will only comment on pull requests less than two weeks old that are associated with suspect commits. The comment will continuously be updated with up to five issues the pull request is suspected to have caused.
345
345
346
346
#### Open Pull Request Comments
347
347
348
348
When a pull request is opened, Sentry will parse the filenames and function names modified in the pull request from the PR diff to find recent unhandled, unresolved issues associated with your pull request.
349
349
350
-

350
+

351
351
352
352
Sentry will comment on the pull request with up to five issues per file that were first seen within the past 90 days and were last seen within the past 14 days.
353
353
@@ -357,17 +357,17 @@ This feature requires [code mappings](/product/issues/suspect-commits/#2-set-up-
357
357
358
358
If there are users committing to GitHub repositories linked to Sentry and they're not members of your organization, Sentry detects them as missing members. Once a month, Sentry sends organization owners and managers an email reminding them to invite those users to join their org. Sentry also shows a banner to invite missing members in the **Settings > Members** page.
359
359
360
-

360
+

361
361
362
362
The banner shows the 5 most active contributors that are not yet in the organization. To see all missing members (up to 50), click "View All" in the banner. To snooze the banner, click the ellipsis, then select "Hide Missing Members".
363
363
364
364
Clicking "View All" on the invite banner will display the invite modal. From here, you can select multiple users and assign roles and teams before inviting them.
365
365
366
-

366
+

367
367
368
368
By default, this feature is automatically enabled once your GitHub integration has been set up. To disable it, go to **Settings > Integrations > GitHub** and toggle it off.
369
369
370
-

370
+

Copy file name to clipboardExpand all lines: docs/product/ai-in-sentry/ai-code-review/index.mdx
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,18 +18,17 @@ AI Code Review helps you reviews your code changes, predicting errors and offeri
18
18
19
19
## Getting Started
20
20
21
-
To enable AI Code Review in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry GitHub app](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app). This allows the assistant to analyze pull requests, provide insights, and write tests. **You must also have the [Sentry Github integration](/organization/integrations/source-code-mgmt/github/) enabled.**
21
+
To enable AI Code Review in your GitHub organization or on specific repositories:
22
+
23
+
1. Have the [Sentry Github integration](/organization/integrations/source-code-mgmt/github/) enabled.
22
24
23
-
1. Install the [Seer by Sentry GitHub app](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app) in your GitHub organization or specific repositories.
24
25
2. Enable these required settings in your Sentry [organization settings](https://sentry.io/orgredirect/settings/:orgslug/):
25
26
-`Show Generative AI Features`
26
27
-`Enable AI Code Review`
27
28
28
-
If you're not an admin, share the Seer by Sentry GitHub App Integration link with your organization's admin or owner to install it.
29
-
30
29
## AI Code Review Commands
31
30
32
-
After installing the app, AI Code Review can help you in three ways:
31
+
Ways AI Code Review can help you:
33
32
34
33
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.
35
34
@@ -53,11 +52,7 @@ Once you have added a comment, the assistant will reply, acknowledging the reque
53
52
54
53
-**Why aren't `@sentry` commands working?**
55
54
56
-
AI Code Review will respond with a message to enable the `Show Generative AI Features` and `Enable PR Review and Test Generation` settings in your [organization settings](https://sentry.io/orgredirect/settings/:orgslug/), if you have not already enabled them. Once enabled, try `@sentry review` again to run AI Code Review.
57
-
58
-
-**Is AI Code Review available in the EU region?**
59
-
60
-
Not currently, although we're working on it.
55
+
AI Code Review will respond with a message to enable the `Show Generative AI Features` and `Enable AI Code Review` settings in your [organization settings](https://sentry.io/orgredirect/settings/:orgslug/), if you have not already enabled them. Once enabled, try `@sentry review` again to run AI Code Review.
Copy file name to clipboardExpand all lines: docs/product/ai-in-sentry/seer/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ To start using Seer's capabilities in your Sentry-enabled projects, follow these
69
69
> **Note**: You can monitor your Seer usage in the [Stats & Usage tab](https://sentry.io/settings/stats/) and can learn more about managing your Seer budget [here](/pricing/quotas/manage-seer-budget/).
70
70
4.**Start Using**: Look for Seer options in your issue details pages
71
71
72
-
To start using Seer to for AI code reviews, [configure the Seer GitHub App](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app).
72
+
You can also use Seer for [AI code reviews](/product/ai-in-sentry/ai-code-review) by enabling the [GitHub integration](/organization/integrations/source-code-mgmt/github/) and turning on the`Enable AI Code Review` setting in your [organization settings](https://sentry.io/orgredirect/settings/:orgslug/).
0 commit comments