-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
migration: backfill apitoken hashed values #71728
Conversation
This PR has a migration; here is the generated SQL for --
-- Raw Python operation
--
-- THIS OPERATION CANNOT BE WRITTEN AS SQL |
e11d6c1
to
2532fb5
Compare
996b6a6
to
59e1022
Compare
59e1022
to
c3bc470
Compare
This PR has a migration; here is the generated SQL for --
-- Raw Python operation
--
-- THIS OPERATION CANNOT BE WRITTEN AS SQL |
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 is looking good to me, just a couple of small comments to help make sure this migration doesn't break in the future
248d63f
to
c3f4410
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #71728 +/- ##
=======================================
Coverage 77.99% 77.99%
=======================================
Files 6582 6582
Lines 293498 293498
Branches 50641 50641
=======================================
+ Hits 228900 228913 +13
+ Misses 58366 58351 -15
- Partials 6232 6234 +2 |
Supports getsentry/rfcs#32
We've been hashing tokens as they are used to authenticate (#65941), but it's started to level out. This is a backfill migration to fill in all of the hashed values for the remaining tokens.
Huge thank you to @markstory @wedamija and @GabeVillalobos for helping with the migration test! 🙏