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
Copy file name to clipboardExpand all lines: docs/product/issues/suspect-commits/index.mdx
+7-7
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
title: Suspect Commits
3
3
sidebar_order: 32
4
-
description: "Learn how to enable suspect commits, which will help you find the root cause of issues faster."
4
+
description: "With suspect commits, you can see the most recent commit to your code in the stack tract. Learn more about how integrations enable suspect commits here."
5
5
---
6
6
7
7
<Includename="only-error-issues-note.mdx" />
8
8
9
-
Suspect commits show you the most recent commit to the code in your stack trace. In the suspect commit information, we include the author of the commit and the pull request in which the commit was made.
9
+
Suspect commits show you the most recent commit to the code in your [stack trace](https://sentry.io/features/stacktrace/). In the suspect commit information, we include the author of the commit and the pull request in which the commit was made.
10
10
11
11
When you've enabled suspect commits, we can tie together issues with the commits made in your code repository, including the following information:
12
12
@@ -20,7 +20,7 @@ Suspect commits and suggested assignees are then displayed on the **Issue Detail
20
20
21
21
## Enable Suspect Commits
22
22
23
-
In order to see suspect commits, you have to first upload source maps, (or your platform-specific files for mapping transformed source code to the original source). Check out the docs for your [specific platform](/platforms/)) to learn more. Be aware that Sentry will not display suspect commits for issues that were created prior to your integration being set up.
23
+
In order to see suspect commits, you have to first upload source maps, (or your platform-specific files for mapping transformed source code to the original source). Check out the docs for your [specific platform](/platforms/)) to learn more. Be aware that Sentry will not display suspect commits for issues that were created before your integration was set up.
24
24
25
25
### Connect a Repository Using Integrations
26
26
@@ -61,11 +61,11 @@ Sentry will automatically try to set up code mappings on C#, Go, JavaScript, Nod
61
61
62
62
<Alert>
63
63
64
-
The following information is only valid for platforms which use traditional file paths. Platforms with package names require additional steps. For **Java**, read more in the [page on source context](/platforms/java/source-context#setting-up-code-mappings).
64
+
The following information is only valid for platforms that use traditional file paths. Platforms with package names require additional steps. For **Java**, read more on the [page on source context](/platforms/java/source-context#setting-up-code-mappings).
65
65
66
66
</Alert>
67
67
68
-
First, navigate to a stack trace that you wish to map. Find an **In App** frame, which is denoted by a bubble on the right side of the frame. The filename will be shown as the first piece of text at the lefthand side of the frame header. In this example, it is `src/main.py`.
68
+
First, navigate to a stack trace that you wish to map. Find an **In App** frame, which is denoted by a bubble on the right side of the frame. The filename will be shown as the first piece of text at the left-hand side of the frame header. In this example, it is `src/main.py`.
@@ -97,7 +97,7 @@ Follow along with the interactive demo below to see how to integrate your GitHub
97
97
98
98
## How It Works
99
99
100
-
When you have a GitHub/GitLab integration and valid code mappings, Sentry will look at the stack trace of an issue and collect all in-app frames. For each in-app frame, Sentry checks the blame info for the exact file and line number. If the most recent commit is less than 1 year old, we consider it a suspect commit.
100
+
When you have a GitHub/GitLab integration and valid [code mappings](https://blog.sentry.io/code-mappings-and-why-they-matter/), Sentry will look at the stack trace of an issue and collect all in-app frames. For each in-app frame, Sentry checks the blame info for the exact file and line number. If the most recent commit is less than 1 year old, we consider it a suspect commit.
101
101
102
102
## Suspect Commits Without Integrations
103
103
@@ -117,7 +117,7 @@ There are a few reasons why an issue might not have suspect commits:
117
117
- The stack trace doesn't have any in-app frames that match the code mappings.
118
118
- The stack trace doesn't have any in-app frames with recent commits (less than 1 year old).
119
119
- The code mappings for the project are incorrect.
120
-
- The issue was created prior to the integration being set up.
120
+
- The issue was created before the integration was set up.
0 commit comments