Skip to content

ref(seer): Migrate external issue details to one-shot - #128472

Draft
sehr-m wants to merge 1 commit into
masterfrom
sehrm/migrate-external-issue-oneshot
Draft

sehr-m wants to merge 1 commit into
masterfrom
sehrm/migrate-external-issue-oneshot

Conversation

@sehr-m

@sehr-m sehr-m commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Migrate external-issue title and description generation from the soon-to-be-deprecated /v1/llm/generate endpoint to Seer’s registered external_issue_details one-shot. This move is part of consolidating all LLM prompts, model selection, generation behavior, and feature attribution in Seer.

The Sentry caller continues to build and truncate the same event context, preserves the existing 10-second caller timeout and output trimming, and forwards the requesting organization and user for billing attribution. Seer owns the prompt, structured response schema, model policy, referrer, generation settings, and summarization feature attribution.

This also removes the migrated caller from the shrink-only S030 legacy API allowlist.

Validation

  • tests/sentry/integrations/utils/test_external_issues.py (10 passed)
  • S030 linter tests (7 passed in the combined targeted run)
  • repository formatting/lint hooks
  • targeted mypy
  • push hooks

The caller test verifies the exact one-shot route, ID, payload, timeout, and signed organization/user viewer context.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 21, 2026
@sehr-m
sehr-m force-pushed the sehrm/migrate-external-issue-oneshot branch from 90d500d to 91bb732 Compare October 23, 2026 20:25
@sehr-m
sehr-m marked this pull request as ready for review October 23, 2026 23:00
@sehr-m
sehr-m requested review from a team as code owners October 23, 2026 23:00
@sentry

sentry Bot commented Oct 23, 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 760 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@sehr-m
sehr-m force-pushed the sehrm/migrate-external-issue-oneshot branch from 6fac8dc to c64dbc1 Compare October 24, 2026 00:10
@sehr-m
sehr-m marked this pull request as draft October 24, 2026 00:10

This branch was successfully deployed

1 active (outdated) deployment
Preview — 6fac8dc2 Deployed Oct 23, 2026 by vercel[bot]
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.

1 participant