From 1f18abc652e383ab401daea071764da3cd295398 Mon Sep 17 00:00:00 2001 From: Rohan Bhaumik Date: Fri, 19 Sep 2025 10:18:13 -0400 Subject: [PATCH 1/5] Update index.mdx --- docs/product/ai-in-sentry/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/product/ai-in-sentry/index.mdx b/docs/product/ai-in-sentry/index.mdx index 33bd968663b08..4946d0139ffe4 100644 --- a/docs/product/ai-in-sentry/index.mdx +++ b/docs/product/ai-in-sentry/index.mdx @@ -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. -### [Sentry Prevent AI](/product/ai-in-sentry/sentry-prevent-ai/) +### [AI Code Review](/product/ai-in-sentry/sentry-prevent-ai/) -Sentry Prevent AI is a generative AI assistant developed by Sentry, available in GitHub. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests. +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 ### Query Assistant From 01d6c4666dd9ec6eb4bccd0bc12cbdcb86028e7c Mon Sep 17 00:00:00 2001 From: Rohan Bhaumik Date: Fri, 19 Sep 2025 10:28:10 -0400 Subject: [PATCH 2/5] Update index.mdx --- .../ai-in-sentry/sentry-prevent-ai/index.mdx | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx b/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx index 24e803ab9b809..8c42e1f39023a 100644 --- a/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx +++ b/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx @@ -1,13 +1,13 @@ --- -title: Sentry Prevent AI +title: AI Code Review sidebar_order: 30 -description: "Get error predictions, code reviews and new tests for better code and coverage using Sentry Prevent AI." +description: "Get error predictions, code reviews and new tests for better code and coverage." --- -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, predicting errors and offering suggestions for improvement before merging pull requests. +AI Code Review helps you generate new tests for uncovered code and reviews your code changes, predicting errors and offering suggestions for improvement before merging pull requests. - Sentry Prevent AI is currently in beta. Beta features are + AI Code Review is currently in beta. Beta features are still a work in progress and may have bugs. Please join the [Discord conversation](https://discord.com/channels/621778831602221064/1385700674557444190) to share your feedback. @@ -15,20 +15,20 @@ Sentry Prevent AI is a generative AI assistant developed by Sentry. It helps you ## Getting Started -To enable Sentry Prevent AI in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry app](https://github.com/apps/seer-by-sentry). 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.** +To enable AI Code Review in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry app](https://github.com/apps/seer-by-sentry). 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.** 1. Install the [Seer by Sentry app](https://github.com/apps/seer-by-sentry) in your GitHub organization or specific repositories. 2. Enable these required settings in your Sentry [organization settings](https://sentry.io/orgredirect/settings/:orgslug/): - `Show Generative AI Features` - - `Enable PR Review and Test Generation` + - `Enable AI Code Review` 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. -## Sentry Prevent AI Commands +## AI Code Review Commands -After installing the app, Sentry Prevent AI can help you in three ways: +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`, Sentry Prevent AI 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, Sentry Prevent AI 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. 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. @@ -40,20 +40,20 @@ Once you have added a comment, the assistant will reply, acknowledging the reque ## Frequently Asked Questions -- **What data does Sentry Prevent AI need access to for the AI system to function, and what information is sent to third-party AI providers?** +- **What data does AI Code Review need access to for the AI system to function, and what information is sent to third-party AI providers?** - Sentry Prevent AI requires access to your pull requests, including PR metadata, repository information, file names, directory structures, and code diffs. Only file names, code diffs, and PR descriptions are sent to the AI provider for analysis. + AI Code Review requires access to your pull requests, including PR metadata, repository information, file names, directory structures, and code diffs. Only file names, code diffs, and PR descriptions are sent to the AI provider for analysis. -- **Does Sentry Prevent AI run anywhere outside of GitHub, and does it run in the background?** +- **Does AI Code run anywhere outside of GitHub, and does it run in the background?** -Sentry Prevent AI 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`, 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/). - **Why aren't `@sentry` commands working?** - Sentry Prevent AI 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` or `@sentry generate-test` again to run Sentry Prevent AI. + 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` or `@sentry generate-test` again to run AI Code Review. -- **Are Prevent AI features available in the EU region?** +- **Is AI Code Review available in the EU region?** Not currently, although we're working on it. From 41e026624f739fd90a0863272c320bdd2b086980 Mon Sep 17 00:00:00 2001 From: Cody De Arkland Date: Fri, 19 Sep 2025 13:51:53 -0700 Subject: [PATCH 3/5] Moving content to new docs location for ai code review --- .../img/prevent-ai-response.png | Bin .../{sentry-prevent-ai => ai-code-review}/index.mdx | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename docs/product/ai-in-sentry/{sentry-prevent-ai => ai-code-review}/img/prevent-ai-response.png (100%) rename docs/product/ai-in-sentry/{sentry-prevent-ai => ai-code-review}/index.mdx (100%) diff --git a/docs/product/ai-in-sentry/sentry-prevent-ai/img/prevent-ai-response.png b/docs/product/ai-in-sentry/ai-code-review/img/prevent-ai-response.png similarity index 100% rename from docs/product/ai-in-sentry/sentry-prevent-ai/img/prevent-ai-response.png rename to docs/product/ai-in-sentry/ai-code-review/img/prevent-ai-response.png diff --git a/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx b/docs/product/ai-in-sentry/ai-code-review/index.mdx similarity index 100% rename from docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx rename to docs/product/ai-in-sentry/ai-code-review/index.mdx From 0db243225fb959876c4a7845a281aa5437732d85 Mon Sep 17 00:00:00 2001 From: Cody De Arkland Date: Fri, 19 Sep 2025 13:52:03 -0700 Subject: [PATCH 4/5] adding redirect for previous location --- redirects.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redirects.js b/redirects.js index b272897897b3d..576d88e808c61 100644 --- a/redirects.js +++ b/redirects.js @@ -254,6 +254,10 @@ const userDocsRedirects = [ source: '/product/dev-toolbar/:path*', destination: '/product/sentry-toolbar/:path*', }, + { + source: '/product/ai-in-sentry/sentry-prevent-ai/:path*', + destination: '/product/ai-in-sentry/ai-code-review/:path*', + }, { source: '/organization/integrations/launchdarkly/', From 9bf09135cfe08047d36e27e4348c387c645c6e71 Mon Sep 17 00:00:00 2001 From: Cody De Arkland Date: Fri, 19 Sep 2025 15:03:16 -0700 Subject: [PATCH 5/5] Minor content fix --- docs/product/ai-in-sentry/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/product/ai-in-sentry/index.mdx b/docs/product/ai-in-sentry/index.mdx index 4946d0139ffe4..a869012b22b24 100644 --- a/docs/product/ai-in-sentry/index.mdx +++ b/docs/product/ai-in-sentry/index.mdx @@ -21,7 +21,7 @@ Seer is Sentry's AI debugging agent that helps resolve errors and performance is ### [AI Code Review](/product/ai-in-sentry/sentry-prevent-ai/) -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 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