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

[fix] Handle empty upload state #636

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

rohitvinnakota-codecov
Copy link
Contributor

@rohitvinnakota-codecov rohitvinnakota-codecov commented Jun 25, 2024

Purpose/Motivation

We are seeing a bunch of Sentry errors
where '' is not a valid UploadState so we will default to an error state if it does not exist.

No front end logic will need to be changed as this leverages existing upload states.

The plan is to release and monitor for Sentry errors.

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.

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.94%. Comparing base (1438016) to head (ecadefd).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##               main       #636   +/-   ##
===========================================
  Coverage   95.94000   95.94000           
===========================================
  Files           799        799           
  Lines         17832      17834    +2     
===========================================
+ Hits          17109      17111    +2     
  Misses          723        723           
Flag Coverage Δ
unit 91.53% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 91.53% <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.

@rohitvinnakota-codecov rohitvinnakota-codecov changed the title [fix] Add empty upload state [fix] Handle empty upload state Jun 25, 2024
@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!

@codecov-qa
Copy link

codecov-qa bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.53%. Comparing base (1438016) to head (ecadefd).

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main     #636   +/-   ##
=======================================
  Coverage   91.53%   91.53%           
=======================================
  Files         621      621           
  Lines       16515    16517    +2     
=======================================
+ Hits        15117    15119    +2     
  Misses       1398     1398           
Flag Coverage Δ
unit 91.53% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 91.53% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
graphql_api/types/upload/upload.py 100.00% <100.00%> (ø)

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Copy link

codecov-public-qa bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.53%. Comparing base (1438016) to head (ecadefd).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #636   +/-   ##
=======================================
  Coverage   91.53%   91.53%           
=======================================
  Files         621      621           
  Lines       16515    16517    +2     
=======================================
+ Hits        15117    15119    +2     
  Misses       1398     1398           
Flag Coverage Δ
unit 91.53% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 91.53% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
graphql_api/types/upload/upload.py 100.00% <100.00%> (ø)

Impacted file tree graph

@rohitvinnakota-codecov rohitvinnakota-codecov marked this pull request as ready for review June 25, 2024 19:03
@rohitvinnakota-codecov rohitvinnakota-codecov requested a review from a team as a code owner June 25, 2024 19:03
@rohitvinnakota-codecov rohitvinnakota-codecov added this pull request to the merge queue Jun 26, 2024
Merged via the queue into main with commit 57faff9 Jun 26, 2024
21 of 22 checks passed
@rohitvinnakota-codecov rohitvinnakota-codecov deleted the rvinnakota/add-empty-upload-state branch June 26, 2024 13:09
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