-
Notifications
You must be signed in to change notification settings - Fork 94
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
✨ Use bulk_write
for save operations, including referenced documents
#271
base: master
Are you sure you want to change the base?
Conversation
bulk_write
for save operations, including referenced documents
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #271 +/- ##
=======================================
Coverage 99.38% 99.39%
=======================================
Files 50 50
Lines 5081 5127 +46
Branches 485 491 +6
=======================================
+ Hits 5050 5096 +46
Misses 31 31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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.
Just a few details to fix but awesome work 🔥.
Also, really nice _get_collection_from_name
refactor 😉
Co-authored-by: Arthur Pastel <[email protected]>
Co-authored-by: Arthur Pastel <[email protected]>
Thanks for the review! I added the changes. 🤓 There's only one that I don't really know how to do, I added a comment about it. I also included/merged #308 in this PR to be able to run CI and check if I'm breaking anything else. |
5bd1656
to
a99a258
Compare
CodSpeed Performance ReportMerging #271 will improve performances by ×3.5Comparing Summary
Benchmarks breakdown
|
I'm struggling to debug the current errors, I had never used tox outside this project. I managed to install and setup all the dependencies needed by tox (a python installation for each version, with the exact name, etc). And I was able to replicate the error running a single tox environment with:
And it consistently errors out the same way as in CI. Then I'm trying to replicate it outside of tox to be able to investigate and debug it, I installed a local python3.9, motor 2.4, pydantic 1.8, and ran the same test, and it always passed. I'm not sure what else to try as it seems like something particular to the tox-specific environment that I can't access and debug. Or maybe I'm doing something wrong, but I ran out of ideas of what else to try to check it. 🤔 ...also to see if it's an actual new error or some quirk of the setup I have. |
I made another PR that doesn't do anything, just to trigger CI, and it seems it's triggering the same errors: #373 So I suspect the current errors are not something I changed in this PR but something that is currently broken in CI, maybe a tox change or something? Thinking of all that, would you consider GitHub Actions' integrated matrices instead of tox? https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs |
I think we can probably merge after the v1 release :) |
✨ Use
bulk_write
for save operations, including referenced documents