Skip to content

fix(seer): Don't override when bulk updating settings#104918

Merged
srest2021 merged 10 commits intomasterfrom
srest2021/update-code-review-validation
Dec 15, 2025
Merged

fix(seer): Don't override when bulk updating settings#104918
srest2021 merged 10 commits intomasterfrom
srest2021/update-code-review-validation

Conversation

@srest2021
Copy link
Copy Markdown
Member

@srest2021 srest2021 commented Dec 13, 2025

followup: #104912

Previously we were requiring both enabledCodeReview and codeReviewTriggers when bulk updating. Here we allow either or both, and don't override if a field isn't present.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 13, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #104918      +/-   ##
===========================================
- Coverage   80.52%    80.41%   -0.12%     
===========================================
  Files        9398      9393       -5     
  Lines      405707    403397    -2310     
  Branches    25923     25923              
===========================================
- Hits       326711    324387    -2324     
- Misses      78556     78570      +14     
  Partials      440       440              

Copy link
Copy Markdown
Member

@JoshFerge JoshFerge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks okay to me.

@ryan953 ryan953 marked this pull request as ready for review December 15, 2025 14:38
@ryan953 ryan953 requested review from a team as code owners December 15, 2025 14:38
@srest2021 srest2021 merged commit a7223b8 into master Dec 15, 2025
67 checks passed
@srest2021 srest2021 deleted the srest2021/update-code-review-validation branch December 15, 2025 17:15
ryan953 added a commit that referenced this pull request Dec 16, 2025
…ings (#104912)

Followup to #104908
Depends on #104918

Currently the backend expects that all fields will be passed to the
bulk-edit endpoint, but that's only true in the wizard context, when
we're creating everything for the first time:
https://github.com/getsentry/sentry/blob/master/src/sentry/integrations/api/endpoints/organization_repository_settings.py#L16-L41

On the settings page people can bulk-update fields, one field at a time.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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