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

Add logic for BA endpoint to accept storage_path #892

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

adrian-codecov
Copy link
Contributor

Shelter will pass the storage_path variable that it creates on its end. We want to acknowledge if a request comes from shelter, and if so use it's storage_path

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@adrian-codecov adrian-codecov requested a review from a team as a code owner October 16, 2024 01:14
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.31%. Comparing base (7da1080) to head (a0d9959).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #892   +/-   ##
=======================================
  Coverage   96.31%   96.31%           
=======================================
  Files         823      823           
  Lines       19092    19098    +6     
=======================================
+ Hits        18389    18395    +6     
  Misses        703      703           
Flag Coverage Δ
unit 92.66% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 92.66% <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.

@codecov-notifications
Copy link

codecov-notifications bot commented Oct 16, 2024

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!

storage_path = data.get("storage_path", None)
url = None
if storage_path is None or not self.is_shelter_request():
upload_external_id = str(uuid.uuid4())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should pull this var out as it is used in the reportid task arguments later on

@adrian-codecov adrian-codecov added this pull request to the merge queue Oct 17, 2024
Merged via the queue into main with commit 455da2f Oct 17, 2024
19 checks passed
@adrian-codecov adrian-codecov deleted the 2591-ba-endpoint-expects-storage-path branch October 17, 2024 16:37
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