Skip to content

ref(seer): Stop sampling smart assignment runs on assignments and resolutions - #133338

Draft
hobzcalvin wants to merge 1 commit into
masterfrom
grantpatterson/smart-assignment-stop-eval-sampling
Draft

hobzcalvin wants to merge 1 commit into
masterfrom
grantpatterson/smart-assignment-stop-eval-sampling

Conversation

@hobzcalvin

Copy link
Copy Markdown
Contributor

Smart assignment used to dispatch a run on a sampled share of manual assignments and human resolutions (seer.smart_assignment.eval_sample_rate). Those runs existed to score the agent against the outcome that had just happened, so Seer hid the issue's assignee and resolution from the agent.

We no longer need those runs. After this change, a run is dispatched only by:

  • a Seer workflow start (SEER_START_ACTIVITIES), which needs someone to notify, or
  • a high-scoring impact assessment.

Assignments and human resolutions still record ground truth on runs those triggers started, so scoring is unchanged.

Changes

  • trigger_smart_assignment dispatches only for SEER_START_ACTIVITIES. The sampling and bulk-resolution checks are removed; they only gated dispatch.
  • Completion keeps its guard against auto-assigning after a resolution-triggered run, for runs dispatched before this deploys.
  • seer.smart_assignment.eval_sample_rate is no longer read but stays registered. sentry-options-automator still sets it, so the registration is removed in a later PR, after the automator values are gone.

Deploy order
Seer's getsentry/seer#10045 stops hiding the assignee and resolution from the agent. Merge it only after this PR is deployed everywhere. Otherwise a sampled run on a just-assigned issue would see the answer it is scored against.

Follow-ups

  1. sentry-options-automator: remove seer.smart_assignment.eval_sample_rate from the region files, after this deploys to all regions.
  2. sentry: remove the option's registration from defaults.py.

🤖 Generated with Claude Code

…olutions

Smart assignment dispatched a run on a sampled share of manual assignments and human
resolutions (seer.smart_assignment.eval_sample_rate) to score it against that outcome. Only
Seer workflow starts and high-impact assessments dispatch runs now. Assignments and
resolutions still record ground truth for runs those triggers started.

The option stays registered, unread, until sentry-options-automator stops setting it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
scraps Ignored Ignored Preview Dec 3, 2026 12:37am UTC

Request Review

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 3, 2026

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.

1 participant