Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(hybrid-cloud): Fix a few tests in split silo mode #53482

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Conversation

mikejihbe
Copy link
Contributor

This avoid passing QuerySet objects into RPC methods, and also marks as safe an RPC read that happens in a transaction. Normally we would work to avoid the latter, but this particular one is nested fairly deeply inside the transaction. We may circle back to it.

@mikejihbe mikejihbe requested a review from a team as a code owner July 24, 2023 23:31
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 24, 2023
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #53482 (ad88e5f) into master (2b7077a) will decrease coverage by 1.31%.
The diff coverage is 75.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #53482      +/-   ##
==========================================
- Coverage   79.54%   78.24%   -1.31%     
==========================================
  Files        4942     4917      -25     
  Lines      208669   208829     +160     
  Branches    35551    35568      +17     
==========================================
- Hits       165988   163389    -2599     
- Misses      37617    40232    +2615     
- Partials     5064     5208     +144     
Files Changed Coverage Δ
src/sentry/api/serializers/models/alert_rule.py 96.85% <ø> (ø)
src/sentry/incidents/action_handlers.py 80.29% <60.00%> (-8.03%) ⬇️
...dents/endpoints/organization_alert_rule_details.py 88.40% <100.00%> (+0.17%) ⬆️
src/sentry/incidents/logic.py 91.41% <100.00%> (-0.88%) ⬇️

... and 314 files with indirect coverage changes

@corps corps enabled auto-merge (squash) July 25, 2023 15:22
@corps corps merged commit 4ceafc4 into master Jul 25, 2023
54 of 55 checks passed
@corps corps deleted the ihbe/hc-tests-1 branch July 25, 2023 15:50
chloeho7 pushed a commit that referenced this pull request Jul 25, 2023
This avoid passing QuerySet objects into RPC methods, and also marks as
safe an RPC read that happens in a transaction. Normally we would work
to avoid the latter, but this particular one is nested fairly deeply
inside the transaction. We may circle back to it.

---------

Co-authored-by: Zachary Collins <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2023
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