Skip to content

Connect Linear and Sentry

Connect Linear for issue context and Sentry for error triage, then review the changes Bhai proposes.

Use Linear to give Bhai the scope of a planned change and Sentry to give it evidence about an error. Both connectors use OAuth, so start by authorizing the workspace or organization that owns the issue or error. Review any proposed change before you send it back to your team.

Authorize the service you need

In the BhaiCode dashboard, open Connectors and select Connect on the Linear or Sentry card. Sign in on the provider’s consent screen and review the account and permissions before you approve them. If the expected issue or project isn’t available, check that you authorized the right workspace or organization.

Start with a Linear issue

Use Linear when you already have a ticket that describes the change. Start with an assigned issue and give Bhai its description and acceptance criteria. Ask it to use those criteria to scaffold a change, then compare the diff with each item on the ticket. If a requirement is unclear, clarify it before you treat the scaffold as complete.

Open a pull request once the diff is ready for review. Check the Linear issue afterward and move it from In Progress to In Review if your workflow hasn’t already done so. The pull request tells reviewers where to inspect the change; the issue tells them what the work is meant to accomplish.

Start with a Sentry error

Use Sentry when you have an exception trace rather than a planned change. Pick the event for the affected release and inspect the stack trace. Give Bhai the relevant frames and ask it to narrow down the code path, reproduce the failure in a test, and prepare a fix. Check that the proposed test fails without the fix and passes with it.

An issue description spells out intent; a stack trace records what happened in one execution. Use the source that matches your task, and confirm the result against the code and tests.

If a Sentry error already has a Linear issue, keep that issue as the place to track scope and review. Use the error details to verify the cause and the test to show what changed.

Next

Was this page helpful?