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

test(hybrid-cloud): Stabilizes sentry app install tests #53004

Merged
merged 4 commits into from
Jul 17, 2023

Conversation

GabeVillalobos
Copy link
Member

Changes?

  • test(hybrid-cloud): Marks sentry app installation test as stable
  • Fixes unguarded write decorator routing for org member

@GabeVillalobos GabeVillalobos requested review from a team as code owners July 17, 2023 20:29
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 17, 2023
@@ -16,7 +16,7 @@
from sentry.testutils.outbox import outbox_runner


class TestSentryAppIntallationDeletionTask(TestCase):
Copy link
Member Author

Choose a reason for hiding this comment

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

Realized this was misspelled as I was fixing the test 😅

@GabeVillalobos GabeVillalobos added the Trigger: Silo db Trigger tests with split databases that simulate hybrid cloud data separation in postgres label Jul 17, 2023
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #53004 (4333316) into master (f243492) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #53004   +/-   ##
=======================================
  Coverage   79.46%   79.46%           
=======================================
  Files        4936     4936           
  Lines      207432   207432           
  Branches    35425    35425           
=======================================
+ Hits       164833   164838    +5     
+ Misses      37560    37559    -1     
+ Partials     5039     5035    -4     
Impacted Files Coverage Δ
src/sentry/models/organizationmember.py 89.43% <100.00%> (ø)
src/sentry/models/user.py 91.70% <100.00%> (ø)
.../sentry/services/hybrid_cloud/organization/impl.py 79.83% <100.00%> (ø)

... and 3 files with indirect coverage changes

@GabeVillalobos GabeVillalobos removed the Trigger: Silo db Trigger tests with split databases that simulate hybrid cloud data separation in postgres label Jul 17, 2023
@GabeVillalobos GabeVillalobos merged commit 3d67d3a into master Jul 17, 2023
55 checks passed
@GabeVillalobos GabeVillalobos deleted the stabilizes-sentry-app-install-test branch July 17, 2023 21:59
GabeVillalobos added a commit that referenced this pull request Jul 19, 2023
…using unguarded_write decorators (#53160)

With the inclusion of our recent changes to transaction validations in
PR #52943 and the inclusion of 'using' in all of our
transactions/helpers thanks to PRs #53027 and #53004, we should be able
to safely remove the ability to specify a transaction without a using
keyword arg.

Because this is now mandatory, it should also be safe to remove
autorouting, which ended up being incorrect in many testing contexts
anyway.

This is a resubmission of PR #53080 which was reverted due to broken
load-mocks and a single broken getsentry migration test.
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 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