Conversation
⏳ Sentry is currently working on detecting potential issues in your PR ⏳Results will appear when the job is complete. |
3cc67a3 to
4ecfeb3
Compare
CodSpeed Performance ReportMerging #570 will not alter performanceComparing Summary
|
b3e864e to
2afa495
Compare
This removes the old storage abstractions including all their tests. And also inlines the minio adapter read/write implementation back into the base class.
2afa495 to
9ea3fc9
Compare
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #570 +/- ##
==========================================
+ Coverage 88.62% 88.94% +0.31%
==========================================
Files 462 457 -5
Lines 13183 12934 -249
Branches 1513 1484 -29
==========================================
- Hits 11684 11504 -180
+ Misses 1181 1123 -58
+ Partials 318 307 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
joseph-sentry
left a comment
There was a problem hiding this comment.
just some comments about possible future improvements
| from shared.storage.base import ( | ||
| CHUNK_SIZE, | ||
| PART_SIZE, | ||
| BaseStorageService, |
There was a problem hiding this comment.
may be good in a follow up to remove the BaseStorageService as well, it was only useful to define an interface when we had multiple implementations, now that we only have one, it's not as usefule, same with the PresignedURLService as well
| @@ -204,16 +215,58 @@ def write_file( | |||
| is_compressed: bool = False, | |||
| compression_type: str | None = "zstd", | |||
There was a problem hiding this comment.
i guess this can be done in a follow-up but we should "deprecate" this argument, maybe using overloads and https://typing.python.org/en/latest/spec/directives.html#example
⏳ Sentry is currently working on detecting potential issues in your PR ⏳Results will appear when the job is complete. |
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
📢 Thoughts on this report? Let us know! |
|
Thanks for the suggestions. I removed the instrumentation from this PR. And I agree that merging / removing the abstract base class / inferface is a good followup that I do want to do, along with cleaning up the various usages and parameters. That would likely need a few passes, as it also means having to audit/update all usage sites. |
This removes the old storage abstractions including all their tests.
And also inlines the minio adapter read/write implementation back into the base class.