feat(smart-assignment): Increase daily caps, sample non-Seer triggers at 10% - #121680
Open
hobzcalvin wants to merge 1 commit into
Open
feat(smart-assignment): Increase daily caps, sample non-Seer triggers at 10%#121680hobzcalvin wants to merge 1 commit into
hobzcalvin wants to merge 1 commit into
Conversation
saponifi3d
approved these changes
Aug 10, 2026
saponifi3d
left a comment
Contributor
There was a problem hiding this comment.
lgtm - the getsentry tests might be failing because of a busted master, can try updating.
if that doesn't work, then something in this pr is likely effecting the unit tests there and we'll need to update getsentry as well.
Contributor
Backend Test FailuresFailures on
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(I'm not sure how our
feat(thingy)nomenclature is defined, but I thinksmart-assignmentdeserves its own?!)In preparation for rolling Smart Assignment out to all ~2400 Seer customers (from the current ~400), I did some math to balance daily spend and statistical significance of our scored runs. Basically, we always want to run on
SEER_*activities that need a suggested assignee (and thus aren't likely to give us a ground truth to score against), but forSET_RESOLVED_*andASSIGNEDactivities (which give us a guaranteed ground truth but are only used for internal scoring) we can run them about 10% of the time and still get the data we need.This will cost us about $100/day at current costs per run ($0.10), but the global cap increase will set the max spend per day at about $200. An increase in the per-org cap also just ensures we're preventing one customer breaking SA for everyone else, but we should never hit that.
I'll be adding datadog monitors for when we hit the daily caps--turns out we WERE hitting them, before #121368 significantly reduced the number of (useless) SA runs. This change will further reduce our number of daily runs by only running on 10% of resolved/assigned activities, though we'll counteract that by 6x-ing the number of enabled orgs.
Resolves ISWF-3269