Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

deps: update shared #1173

wants to merge 1 commit into from

Conversation

joseph-sentry
Copy link
Contributor

No description provided.

@joseph-sentry joseph-sentry requested review from a team as code owners February 24, 2025 17:24
Copy link
Contributor

This PR includes changes to shared. Please review them here: codecov/shared@47fa7fd...37d9caa

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.92%. Comparing base (f4f7dc8) to head (0c14dc9).

✅ 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           
Flag Coverage Δ
unit 95.92% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

This PR includes changes to shared. Please review them here: codecov/shared@47fa7fd...015d76e

@@ -388,6 +388,7 @@ async def get_repo(self):
raise Http404("Requested report could not be found")
return repo

@sync_to_async
Copy link
Contributor

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",
Copy link
Contributor

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 :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants