Skip to content

feat(seer): Report a missing SCM integration on repo lookups - #130315

Open
joseph-sentry wants to merge 2 commits into
masterfrom
joey--seer-report-no-scm-integration
Open

joseph-sentry wants to merge 2 commits into
masterfrom
joey--seer-report-no-scm-integration

Conversation

@joseph-sentry

@joseph-sentry joseph-sentry commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

we want to report back to the caller a new type of error which is when a user has no SCM integrations
configured, so this RPC will always fail. This new reporting is opt-in from the caller, this is so Seer
can know when a SCM-related tool call fails because the user has not set up SCM at all.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 6, 2026
@joseph-sentry joseph-sentry changed the title joey seer report no scm integration feat(seer): Report a missing SCM integration on repo lookups Nov 6, 2026
@sentry

sentry Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 824 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@joseph-sentry
joseph-sentry force-pushed the joey--seer-report-no-scm-integration branch from 8c5a2e6 to 33aa0fb Compare November 9, 2026 18:14
@joseph-sentry
joseph-sentry force-pushed the joey--seer-report-no-scm-integration branch from 33aa0fb to 99d3056 Compare November 9, 2026 19:40
Base automatically changed from joey--seer-repo-lookup-by-url-path to master November 12, 2026 20:04
we want to report back to the caller a new type of error which is when a user has no SCM integrations
configured, so this RPC will always fail. This new reporting is opt-in from the caller, this is so Seer
can know when a SCM-related tool call fails because the user has not set up SCM at all.
@joseph-sentry
joseph-sentry force-pushed the joey--seer-report-no-scm-integration branch from 99d3056 to 94502ad Compare November 12, 2026 20:04
@joseph-sentry
joseph-sentry removed this pull request from stack #130317 November 12, 2026 20:44
@joseph-sentry
joseph-sentry marked this pull request as ready for review November 12, 2026 20:45
@joseph-sentry
joseph-sentry requested a review from a team as a code owner November 12, 2026 20:45
Comment thread src/sentry/seer/agent/tools.py Resolved
Comment thread tests/sentry/seer/agent/test_tools.py Resolved
Comment thread tests/sentry/seer/agent/test_tools.py Resolved
One active integration is enough to rule out a missing SCM setup, so stop
after the first row. Also cover integrations that are disabled for the org
or pending deletion, and drop a test that duplicated
test_get_repository_definition_not_found.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants