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

bundle analysis: skip save measurement if no uploads #681

Merged
merged 3 commits into from
Sep 3, 2024
Merged

Conversation

JerrySentry
Copy link
Contributor

When there is no uploads for BA we will simplying not do the save measurements task, this happens when a bundle is being fully cached from a non-BA upload. A fully cached bundle doesn't need to have measurements saved for it.

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.

@JerrySentry JerrySentry marked this pull request as ready for review September 3, 2024 19:16
@codecov-notifications
Copy link

codecov-notifications bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #681   +/-   ##
=======================================
  Coverage   98.07%   98.08%           
=======================================
  Files         434      434           
  Lines       36728    36743   +15     
=======================================
+ Hits        36022    36038   +16     
+ Misses        706      705    -1     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.07% <ø> (ø)
Files Coverage Δ
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@codecov-qa
Copy link

codecov-qa bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.08%. Comparing base (2055b30) to head (c0c2df3).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #681   +/-   ##
=======================================
  Coverage   98.07%   98.08%           
=======================================
  Files         434      434           
  Lines       36728    36743   +15     
=======================================
+ Hits        36022    36038   +16     
+ Misses        706      705    -1     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.07% <ø> (ø)
Files with missing lines Coverage Δ
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Copy link

codecov-public-qa bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.08%. Comparing base (2055b30) to head (c0c2df3).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #681   +/-   ##
=======================================
  Coverage   98.07%   98.08%           
=======================================
  Files         434      434           
  Lines       36728    36743   +15     
=======================================
+ Hits        36022    36038   +16     
+ Misses        706      705    -1     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.07% <ø> (ø)
Files Coverage Δ
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.12%. Comparing base (2055b30) to head (c0c2df3).
Report is 1 commits behind head on main.

Changes have been made to critical files, which contain lines commonly executed in production. Learn more

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #681   +/-   ##
=======================================
  Coverage   98.12%   98.12%           
=======================================
  Files         474      474           
  Lines       38054    38069   +15     
=======================================
+ Hits        37340    37356   +16     
+ Misses        714      713    -1     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.08% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.07% <ø> (ø)
Files with missing lines Coverage Δ
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

This change has been scanned for critical changes. Learn more

@JerrySentry JerrySentry added this pull request to the merge queue Sep 3, 2024
Merged via the queue into main with commit 68d5a89 Sep 3, 2024
25 of 26 checks passed
@JerrySentry JerrySentry deleted the sep_09_ba branch September 3, 2024 20: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.

2 participants