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

adding try except to catch any unexpected errors #147

Merged
merged 4 commits into from
Oct 23, 2023

Conversation

dana-yaish
Copy link
Contributor

@dana-yaish dana-yaish commented Oct 17, 2023

Upload finisher is being retried mutiple times because of a raised error in timeseries. Adding a try-except block to catch any errors
https://github.com/codecov/internal-issues/issues/97

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.

@codecov-qa
Copy link

codecov-qa bot commented Oct 17, 2023

Codecov Report

Merging #147 (53f0828) into main (c73682a) will decrease coverage by 0.01%.
The diff coverage is 71.42%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   98.43%   98.43%   -0.01%     
==========================================
  Files         347      347              
  Lines       27281    27287       +6     
==========================================
+ Hits        26855    26859       +4     
- Misses        426      428       +2     
Flag Coverage Δ
integration 98.43% <71.42%> (-0.01%) ⬇️
latest-uploader-overall 98.43% <71.42%> (-0.01%) ⬇️
unit 98.43% <71.42%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 96.97% <71.42%> (-0.02%) ⬇️
OutsideTasks 98.23% <ø> (ø)
Files Coverage Δ
tasks/upload_finisher.py 93.96% <71.42%> (-1.49%) ⬇️

@codecov-public-qa
Copy link

codecov-public-qa bot commented Oct 17, 2023

Codecov Report

Merging #147 (53f0828) into main (c73682a) will decrease coverage by 0.01%.
The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   98.43%   98.43%   -0.01%     
==========================================
  Files         347      347              
  Lines       27281    27287       +6     
==========================================
+ Hits        26855    26859       +4     
- Misses        426      428       +2     
Flag Coverage Δ
integration 98.43% <71.42%> (-0.01%) ⬇️
latest-uploader-overall 98.43% <71.42%> (-0.01%) ⬇️
unit 98.43% <71.42%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 96.97% <71.42%> (-0.02%) ⬇️
OutsideTasks 98.23% <ø> (ø)
Files Coverage Δ
tasks/upload_finisher.py 93.96% <71.42%> (-1.49%) ⬇️

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Merging #147 (53f0828) into main (c73682a) will decrease coverage by 0.02%.
The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   98.40%   98.39%   -0.02%     
==========================================
  Files         373      373              
  Lines       27860    27783      -77     
==========================================
- Hits        27417    27336      -81     
- Misses        443      447       +4     
Flag Coverage Δ
integration 98.43% <71.42%> (-0.01%) ⬇️
latest-uploader-overall 98.43% <71.42%> (-0.01%) ⬇️
unit 98.43% <71.42%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 96.86% <71.42%> (-0.06%) ⬇️
OutsideTasks 98.23% <ø> (ø)
Files Coverage Δ
tasks/upload_finisher.py 94.01% <71.42%> (-1.48%) ⬇️

... and 1 file with indirect coverage changes

This change has been scanned for critical changes. Learn more

@dana-yaish dana-yaish force-pushed the dana/except-timeseries-exceptions branch from 6a5db5f to d156a64 Compare October 18, 2023 10:30
@dana-yaish dana-yaish force-pushed the dana/except-timeseries-exceptions branch from d156a64 to 2fe51d7 Compare October 18, 2023 10:33
@dana-yaish dana-yaish merged commit 43fb628 into main Oct 23, 2023
16 of 26 checks passed
@dana-yaish dana-yaish deleted the dana/except-timeseries-exceptions branch October 23, 2023 17:06
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.

2 participants