-
Notifications
You must be signed in to change notification settings - Fork 27
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
[#3793] Change payment reference number #3827
Conversation
The internal order ID isn't relevant anywore, instead we rely on the PK of the model. The race condition handling is also not relevant anymore as we rely on the PK which is already supposed to be unique.
5c5cc4f
to
5dfabd5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3827 +/- ##
==========================================
+ Coverage 96.33% 96.34% +0.01%
==========================================
Files 707 707
Lines 22173 22163 -10
Branches 2541 2542 +1
==========================================
- Hits 21360 21353 -7
+ Misses 568 565 -3
Partials 245 245 ☔ View full report in Codecov by Sentry. |
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.
Please add the steps to the internal taiga as we did with the other VCR recordings.
Good catch |
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.
Some fine-tuning, looks good otherwise!
0a40316
to
dcb2fff
Compare
0d906dc
to
8f6e3bd
Compare
Tests passed without 7c5de5c, isn't there any tests/checks to have admin fields actually present on the model? |
unfortunately not, since they can also be lazy/callables to a number of places (model methods, admin methods and perhaps even plain python callables isntead of string references) |
d449b6d
to
6b42e04
Compare
e5005ad
to
7f9b02e
Compare
7f9b02e
to
1aaa158
Compare
class DatabaseSyncToAsync(SyncToAsync): | ||
""" | ||
SyncToAsync version that cleans up old database connections when it exits. | ||
""" |
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.
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.
Let's hope this is the one 🤞
Fixes #3793