Configuring Sourcery for Production Issues¶
Linking Projects and Repositories¶
In order to use Sourcery on a Sentry project you'll need to link the project to a GitHub repo so that we can analyze the right section of the codebase for a given issue.
To link a project to a repo, go to Production Issues -> Settings in your Sourcery dashboard.
For each project you can select the appropriate repo for the Sentry project. Note - currently Sourcery only supports a single repo per project (although the same repo can be associated with multiple projects).
Auto-Investigating Issues¶
By default, Sourcery will only investigate an issue when you click the Investigate button on that issue.
If you'd like Sourcery to automatically investigate every issue as they arise you can click the Auto-Investigate toggle. Please note - the auto-investigation setting within a Slack channel will take precedence over this setting.
Linking Sourcery, Slack, and Sentry¶
From within your dashboard you can install Sourcery's Slack integration to enable Sourcery to respond to Sentry alters in Slack with complete investigations, hypotheses and suggested fixes.