From b3a0c8f858bed12be526566359bbf8dc85256cf7 Mon Sep 17 00:00:00 2001 From: Suejung Shin Date: Mon, 27 Oct 2025 15:49:35 -0700 Subject: [PATCH 1/6] chore(ai-code-review): Add which webhooks we use --- docs/product/ai-in-sentry/ai-code-review/index.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/product/ai-in-sentry/ai-code-review/index.mdx b/docs/product/ai-in-sentry/ai-code-review/index.mdx index 8c466d88a0501..f61e20c8425bf 100644 --- a/docs/product/ai-in-sentry/ai-code-review/index.mdx +++ b/docs/product/ai-in-sentry/ai-code-review/index.mdx @@ -57,3 +57,9 @@ 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 runs automatically on GitHub `pull_request` webhooks: + - `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” From b8982506038b8f9d97dc9149159291e643c3b2d4 Mon Sep 17 00:00:00 2001 From: Suejung Shin Date: Mon, 27 Oct 2025 16:03:14 -0700 Subject: [PATCH 2/6] clarify manual trigger --- docs/product/ai-in-sentry/ai-code-review/index.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/product/ai-in-sentry/ai-code-review/index.mdx b/docs/product/ai-in-sentry/ai-code-review/index.mdx index f61e20c8425bf..91c3d2d674674 100644 --- a/docs/product/ai-in-sentry/ai-code-review/index.mdx +++ b/docs/product/ai-in-sentry/ai-code-review/index.mdx @@ -63,3 +63,5 @@ AI Code Review only runs on GitHub. It will run once when a PR is marked `ready Error Prediction runs automatically on GitHub `pull_request` webhooks: - `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. From 60697a51d8cf5cbf1dfb837a0a6a04cccdc5b5d2 Mon Sep 17 00:00:00 2001 From: Shannon Anahata Date: Tue, 28 Oct 2025 10:05:30 -0700 Subject: [PATCH 3/6] fixing styling --- docs/product/ai-in-sentry/ai-code-review/index.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/product/ai-in-sentry/ai-code-review/index.mdx b/docs/product/ai-in-sentry/ai-code-review/index.mdx index 91c3d2d674674..497ad6f3dc47b 100644 --- a/docs/product/ai-in-sentry/ai-code-review/index.mdx +++ b/docs/product/ai-in-sentry/ai-code-review/index.mdx @@ -28,7 +28,7 @@ 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. @@ -36,7 +36,7 @@ After installing the app, AI Code Review can help you in three ways: 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 @@ -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/). @@ -64,4 +64,4 @@ AI Code Review only runs on GitHub. It will run once when a PR is marked `ready - `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. + To manually run error prediction and get a general review, comment `@sentry review` in the PR. \ No newline at end of file From 593f344da01cbafd31231f607a324a00f2348fa9 Mon Sep 17 00:00:00 2001 From: Shannon Anahata Date: Tue, 28 Oct 2025 11:08:43 -0700 Subject: [PATCH 4/6] typo --- docs/product/ai-in-sentry/index.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/product/ai-in-sentry/index.mdx b/docs/product/ai-in-sentry/index.mdx index a869012b22b24..9bf6589a1f7be 100644 --- a/docs/product/ai-in-sentry/index.mdx +++ b/docs/product/ai-in-sentry/index.mdx @@ -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. @@ -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 From d35895ac0e0736a6a56f46ea3fd37b14b76698ba Mon Sep 17 00:00:00 2001 From: Shannon Anahata Date: Tue, 28 Oct 2025 13:18:13 -0700 Subject: [PATCH 5/6] Update docs/product/ai-in-sentry/ai-code-review/index.mdx Co-authored-by: Alex Krawiec --- docs/product/ai-in-sentry/ai-code-review/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/product/ai-in-sentry/ai-code-review/index.mdx b/docs/product/ai-in-sentry/ai-code-review/index.mdx index 497ad6f3dc47b..478c418563de5 100644 --- a/docs/product/ai-in-sentry/ai-code-review/index.mdx +++ b/docs/product/ai-in-sentry/ai-code-review/index.mdx @@ -60,7 +60,7 @@ Once you have added a comment, the assistant will reply, acknowledging the reque - **When does Error Prediction run?** - Error Prediction runs automatically on GitHub `pull_request` webhooks: +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” From 9f11945e643f1d04e7cde35fabb108109efaba5d Mon Sep 17 00:00:00 2001 From: Shannon Anahata Date: Tue, 28 Oct 2025 13:18:21 -0700 Subject: [PATCH 6/6] Update docs/product/ai-in-sentry/ai-code-review/index.mdx Co-authored-by: Alex Krawiec --- docs/product/ai-in-sentry/ai-code-review/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/product/ai-in-sentry/ai-code-review/index.mdx b/docs/product/ai-in-sentry/ai-code-review/index.mdx index 478c418563de5..a323217596df2 100644 --- a/docs/product/ai-in-sentry/ai-code-review/index.mdx +++ b/docs/product/ai-in-sentry/ai-code-review/index.mdx @@ -28,7 +28,7 @@ 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. **Note:** We skip review if you set your PR to draft on creation. +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.