-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
fix(migrations): Remove onerous snapshot tests #83140
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #83140 +/- ##
==========================================
- Coverage 87.60% 87.59% -0.02%
==========================================
Files 9461 9461
Lines 536643 536554 -89
Branches 21097 21097
==========================================
- Hits 470142 469988 -154
- Misses 66142 66207 +65
Partials 359 359 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏 may want to have someone with more context also review, but lgtm. thanks for making migrations easier.
(test failures are just to remove the import for the SANITIZATION_TESTED set though, maybe more updates in https://github.com/getsentry/sentry/blob/master/tests/sentry/backup/test_coverage.py ?)
hubertdeng123
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the owner of these tests is now no longer with us, and since they haven't caught anything useful this seems fine to do
asottile-sentry
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes tests that generate snapshots and fail whenever we add in new models. I don't think these tests have caught anything useful recently, and they cause a lot of noise and frustration when creating models. After this, we'll still need to run `bin/generate-model-dependency-fixtures`, but not the snapshot tests
0042148 to
8fd78f9
Compare
This removes tests that generate snapshots and fail whenever we add in new models. I don't think these tests have caught anything useful recently, and they cause a lot of noise and frustration when creating models. After this, we'll still need to run `bin/generate-model-dependency-fixtures`, but not the snapshot tests <!-- Describe your PR here. -->

This removes tests that generate snapshots and fail whenever we add in new models. I don't think these tests have caught anything useful recently, and they cause a lot of noise and frustration when creating models.
After this, we'll still need to run
bin/generate-model-dependency-fixtures, but not the snapshot tests