Skip to content

Sentry

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

Note

This feature is currently in beta and is invite only. Join the waitlist to get access.

How to connect Sourcery and Sentry

  1. Log in to the Sourcery dashboard Screenshot of Sourcery dashboard login page with a GitHub account.
  2. 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.

    Note

    During the beta period, you may encounter a waitlist if this feature is not yet available to you.

    Screenshot of Sourcery dashboard Production issues page

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

  5. Choose the GitHub account you want to connect to Sentry. Screenshot of Sourcery dashboard Sentry installation "Choose GitHub account" page
  6. Connect your Sentry projects to your GitHub repositories. Screenshot of Sourcery dashboard Sentry installation "Connect sentry projects" page
  7. You're done! Sourcery will immediately start triaging your 10 most recent issues. You can now triage and fix issues.

Triage and fix issues

  1. Navigate to Production issues > Inbox
  2. Click the Triage button next to any issue to have Sourcery analyze it.
  3. For issues with a solvable status, you can click the Fix Issue button 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 triage any new issues that are generated