diff --git a/docs/organization/integrations/source-code-mgmt/github/index.mdx b/docs/organization/integrations/source-code-mgmt/github/index.mdx index b25dd11fa7ae3..51190eb107f2a 100644 --- a/docs/organization/integrations/source-code-mgmt/github/index.mdx +++ b/docs/organization/integrations/source-code-mgmt/github/index.mdx @@ -17,7 +17,7 @@ There are three types of GitHub integrations, so make sure you're choosing the c For these accounts, follow the '[Installing GitHub Enterprise](#installing-github-enterprise)' instructions. -- [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. +- [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 Test Generation](/product/ai-in-sentry/ai-code-review) to generate tests for your Pull Requests. ### Check Your Domain @@ -223,13 +223,13 @@ GitHub Enterprise should now be enabled for all projects under your Sentry organ ## Installing the Seer GitHub App -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. +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 Test Generation](/product/ai-in-sentry/ai-code-review) to generate tests for your Pull Requests. 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). - For [Issue Fix](/product/ai-in-sentry/seer#issue-fix), you will now be able to create pull requests in the installed locations. -- 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. +- For [AI Test Generation](/product/ai-in-sentry/ai-code-review), continue following the instructions in the [AI Test Generation](/product/ai-in-sentry/ai-code-review/#getting-started) documentation. ## Configure 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 6d5632ed08d69..2d9869a79cfb1 100644 --- a/docs/product/ai-in-sentry/ai-code-review/index.mdx +++ b/docs/product/ai-in-sentry/ai-code-review/index.mdx @@ -18,24 +18,23 @@ AI Code Review helps you generate new tests for uncovered code and reviews your ## Getting Started -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.** +To enable AI Code Review in your GitHub organization or on specific repositories: + +1. Have the [Sentry Github integration](/organization/integrations/source-code-mgmt/github/) enabled. -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. 2. Enable these required settings in your Sentry [organization settings](https://sentry.io/orgredirect/settings/:orgslug/): - `Show Generative AI Features` - `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. - ## AI Code Review Commands -After installing the app, AI Code Review can help you in three ways: +AI Code Review can help you in the below 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. 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. +3. **`@sentry generate-test`** - Use this command in a PR comment, and the assistant will generate tests for your PR. To use this feature, first install the [Seer GitHub App](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app) in your GitHub organization. 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. @@ -57,10 +56,6 @@ Once you have added a comment, the assistant will reply, acknowledging the reque 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. -- **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: diff --git a/docs/product/ai-in-sentry/seer/index.mdx b/docs/product/ai-in-sentry/seer/index.mdx index e8eb58bc9da2c..df71d08e6a944 100644 --- a/docs/product/ai-in-sentry/seer/index.mdx +++ b/docs/product/ai-in-sentry/seer/index.mdx @@ -69,7 +69,7 @@ To start using Seer's capabilities in your Sentry-enabled projects, follow these > **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/). 4. **Start Using**: Look for Seer options in your issue details pages -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). +To start using Seer to for AI test generation, [configure the Seer GitHub App](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app). ## Privacy and security