Skip to content

Commit 8fd7c60

Browse files
snigdhaslizokm
andauthored
feat(commit-context): Add documentation about commit context fallback (#6466)
* Add documentation about commit context fallback * Apply suggestions from code review Co-authored-by: Liza Mock <liza.mock@sentry.io> --------- Co-authored-by: Liza Mock <liza.mock@sentry.io>
1 parent b12d5be commit 8fd7c60

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/docs/product/accounts/getting-started/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Learn more about setting up alerts with integrations in [Alert Routing With Inte
5656

5757
When you enable an integration with your source code management (SCM) provider, Sentry will analyze your commit data to:
5858

59-
1. Identify **suspect commits** that likely introduced an error ([GitHub and GitLab only](/product/integrations/#source-code-management)).
59+
1. Identify **suspect commits** that likely introduced an error.
6060
1. **Suggest assignees** who can best resolve the error, based on the suspect commits and your [codeowners file](/product/issues/issue-owners/#code-owners).
6161
1. Mark an issue as **Resolved via Commit or PR** to stop notifications about similar errors in past releases and notify you of a regression.
6262
1. Link a Sentry issue to a new or existing issue in your integrated [issue tracking](#33-issue-tracking) solution.

src/docs/product/issues/suspect-commits/index.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Suspect commits and suggested assignees are then displayed on the **Issue Detail
2222

2323
## Enable Suspect Commits
2424

25-
This process assumes that source mapsor your platform-specific files for mapping transformed source code to the original source — have been uploaded (check out the docs for your [specific platform](/platforms/)).
25+
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. Note, that Sentry may not display suspect commits that were committed prior to your integration being set up.
2626

2727
### 1. Connect a Repository Using Integrations
2828

@@ -61,10 +61,18 @@ Sentry will automatically try to set up code mappings on Python and JavaScript p
6161

6262
The first frame in the stack trace is considered suspect when looking at them top-down. If the first frame is not in-app, the next frame is considered suspect.
6363

64+
## Suspect Commits Without Integrations
65+
66+
You can send us your commit data [manually](/product/releases/associate-commits/) if:
67+
- You don’t want Sentry to connect to your repository.
68+
- Your organization doesn't have a GitHub or Gitlab integration.
69+
- Your integration has gotten disconnected.
70+
71+
Sentry will attempt to find suspect commits via your Github or Gitlab integration by default. If this fails and you've set up the manual process, Sentry will fall back to using the release commit data to find suspect commits.
72+
6473
## Missing Suspect Commits
6574

6675
There are a few reasons why an issue might not have suspect commits:
67-
- Your GitHub or GitLab integration isn't set up or has become disconnected.
6876
- The issue doesn't have a stack trace or doesn't have any in-app frames.
6977
- The stack trace doesn't have any in-app frames that match the code mappings.
7078
- The code mappings for the project are incorrect.

0 commit comments

Comments
 (0)