-
Notifications
You must be signed in to change notification settings - Fork 29
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
deps: update shared #1173
base: main
Are you sure you want to change the base?
deps: update shared #1173
Conversation
This PR includes changes to |
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. 📢 Thoughts on this report? Let us know! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #1173 +/- ##
=======================================
Coverage 95.92% 95.92%
=======================================
Files 492 492
Lines 16876 16877 +1
=======================================
+ Hits 16188 16189 +1
Misses 688 688
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f71a411
to
35094d4
Compare
35094d4
to
0c14dc9
Compare
This PR includes changes to |
@@ -388,6 +388,7 @@ async def get_repo(self): | |||
raise Http404("Requested report could not be found") | |||
return repo | |||
|
|||
@sync_to_async |
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 change looks unrelated. why?
if the function was sync
all along, there is no reason to make it async? the function body looks trivial enough that it wouldn’t benefit from running concurrently.
@@ -16,7 +16,7 @@ | |||
def test_simple_static_analysis_call_no_uploads_yet(db, mocker): | |||
mocked_task_service = mocker.patch.object(TaskService, "schedule_task") | |||
mocked_presigned_put = mocker.patch( | |||
"shared.api_archive.archive.StorageService.create_presigned_put", | |||
"shared.storage.MinioStorageService.create_presigned_put", |
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.
as we have discussed in the retro, related to "overreliance on mocks", keep in mind that all of these mocks are potential breakage in production that we will never catch in tests :-(
No description provided.