feat(seer onboarding): Function to set Seer settings via onboarding wizard#104642
Merged
Mihir-Mavalankar merged 6 commits intomasterfrom Dec 11, 2025
Merged
feat(seer onboarding): Function to set Seer settings via onboarding wizard#104642Mihir-Mavalankar merged 6 commits intomasterfrom
Mihir-Mavalankar merged 6 commits intomasterfrom
Conversation
Contributor
Author
|
@billyvg the main point to keep in mind would be the give the repos to this function in the |
JoshFerge
reviewed
Dec 9, 2025
JoshFerge
reviewed
Dec 9, 2025
Member
JoshFerge
left a comment
There was a problem hiding this comment.
looks good on my end will let others chime in
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #104642 +/- ##
===========================================
+ Coverage 79.26% 80.47% +1.20%
===========================================
Files 9363 9363
Lines 401809 401833 +24
Branches 25830 25830
===========================================
+ Hits 318508 323380 +4872
+ Misses 82859 78011 -4848
Partials 442 442 |
ajay-sentry
reviewed
Dec 11, 2025
| @pytest.mark.django_db | ||
| class TestOnboardingSeerSettingsUpdate(TestCase): | ||
| def test_rca_disabled_sets_automation_tuning_off(self) -> None: | ||
| """Tests that when RCA is disabled, automation tuning is set to OFF for org and projects.""" |
Contributor
There was a problem hiding this comment.
nit: can probably remove a lot of these extra comments
Contributor
Author
There was a problem hiding this comment.
Hmm it's just 1 line. I kinda of like a small test description.
ajay-sentry
reviewed
Dec 11, 2025
ajay-sentry
approved these changes
Dec 11, 2025
Contributor
ajay-sentry
left a comment
There was a problem hiding this comment.
couple small things otherwise lgtm
ajay-sentry
added a commit
that referenced
this pull request
Dec 11, 2025
This endpoint is going to be used to bulk update each project's `sentry:autofix_automation_tuning` setting. Needed for the seer settings bulk update table. Basically, takes 2 input params, fixes and pr_creation, where fixes is the "default" toggle. If its on it turns the automation setting to medium, and if it's off it also updates the seer project preferences to be code_changes. If fixes is true, then we can also look at the value of pr_creation and if that's true we can make an RPC call to seer to update those settings as well. Similar to how it's being done in #104642 Closes https://linear.app/getsentry/issue/ENG-6106/api-create-put-seer-automation-option-setting-update-endpoint <!-- Sentry employees and contractors can delete or ignore the following. --> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
PR Details
enabled