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 removed bundles in PR comment #225

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

scott-codecov
Copy link
Contributor

The code would have errored previously when trying to call head_bundle_report.total_size() (since head_bundle_report would have been None if removed)

@codecov-staging
Copy link

codecov-staging bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   98.22%   98.22%           
=======================================
  Files         369      369           
  Lines       29806    29808    +2     
=======================================
+ Hits        29277    29279    +2     
  Misses        529      529           
Flag Coverage Δ
integration 98.22% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.22% <100.00%> (+<0.01%) ⬆️
unit 98.22% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.44% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.94% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis.py 96.15% <100.00%> (+0.03%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <ø> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4050bfc) 98.22% compared to head (b5cd623) 98.22%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   98.22%   98.22%           
=======================================
  Files         369      369           
  Lines       29806    29808    +2     
=======================================
+ Hits        29277    29279    +2     
  Misses        529      529           
Flag Coverage Δ
integration 98.22% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.22% <100.00%> (+<0.01%) ⬆️
unit 98.22% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.44% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.94% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis.py 96.15% <100.00%> (+0.03%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <ø> (ø)

Copy link

codecov-public-qa bot commented Dec 29, 2023

Codecov Report

Merging #225 (b5cd623) into main (4050bfc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   98.22%   98.22%           
=======================================
  Files         369      369           
  Lines       29806    29808    +2     
=======================================
+ Hits        29277    29279    +2     
  Misses        529      529           
Flag Coverage Δ
integration 98.22% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.22% <100.00%> (+<0.01%) ⬆️
unit 98.22% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.44% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.94% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis.py 96.15% <100.00%> (+0.03%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <ø> (ø)

Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4050bfc) 98.19% compared to head (b5cd623) 98.19%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   98.19%   98.19%           
=======================================
  Files         400      400           
  Lines       30507    30509    +2     
=======================================
+ Hits        29957    29959    +2     
  Misses        550      550           
Flag Coverage Δ
integration 98.22% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.22% <100.00%> (+<0.01%) ⬆️
onlysomelabels 98.19% <100.00%> (+<0.01%) ⬆️
unit 98.22% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.35% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.94% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis.py 96.15% <100.00%> (+0.03%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <ø> (ø)

This change has been scanned for critical changes. Learn more

@scott-codecov scott-codecov merged commit b084755 into main Dec 29, 2023
30 checks passed
@scott-codecov scott-codecov deleted the scott/bundle-analysis-comment branch December 29, 2023 20:16
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