Skip to content

Linking Sourcery & Sentry

You can connect Sourcery to Sentry to automatically investigate and fix issues in your code.

How to connect Sourcery and Sentry

  1. Log in to the Sourcery dashboard with a GitHub account.

  2. If you haven't already, install the GitHub App for Sourcery and add all the repositories that you have Sentry projects for. Screenshot of GitHub app installation page

  3. Navigate to the Production issues page in the Sourcery dashboard and click on the "Connect to Sentry" button.

Screenshot of Sourcery dashboard Production issues page

  1. Click "Accept and install" to connect your Sentry account to Sourcery. Screenshot of Sentry integration "Accept and install" button

  2. Choose the GitHub account you want to connect to Sentry.

  3. Connect your Sentry projects to your GitHub repositories. Screenshot of Sourcery dashboard Sentry installation "Connect sentry projects" page

  4. You're done! Sourcery will immediately start triaging your 10 most recent issues. You can now investigate and fix issues.

Investigate and fix issues

  1. Navigate to Production issues > Inbox
  2. Click the Investigate button next to any issue to have Sourcery analyze it.
  3. For issues with a solvable status, you can click the Create Pull Request button next to a proposed solution and Sourcery will open a PR with a proposed fix.
  4. Click View PR on any issue with a Sourcery fix to review the PR.
  5. Sourcery will automatically investigate any new issues that are generated