Linking Sourcery & Sentry
You can connect Sourcery to Sentry to automatically investigate and fix issues in your code.
How to connect Sourcery and Sentry¶
-
Log in to the Sourcery dashboard with a GitHub account.
-
If you haven't already, install the GitHub App for Sourcery and add all the repositories that you have Sentry projects for.

-
Navigate to the Production issues page in the Sourcery dashboard and click on the "Connect to Sentry" button.
-
Click "Accept and install" to connect your Sentry account to Sourcery.

-
Choose the GitHub account you want to connect to Sentry.
-
You're done! Sourcery will immediately start triaging your 10 most recent issues. You can now investigate and fix issues.
Investigate and fix issues¶
- Navigate to Production issues > Inbox
- Click the Investigate button next to any issue to have Sourcery analyze it.
- For issues with a
solvablestatus, you can click theCreate Pull Requestbutton next to a proposed solution and Sourcery will open a PR with a proposed fix. - Click
View PRon any issue with a Sourcery fix to review the PR. - Sourcery will automatically investigate any new issues that are generated

