Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

feat: add percentage change for bundles - #353

Merged
giovanni-guidini merged 2 commits into
mainfrom
bundle-percentage-change
Sep 17, 2024
Merged

giovanni-guidini merged 2 commits into
mainfrom
bundle-percentage-change

Conversation

@giovanni-guidini

Copy link
Copy Markdown
Contributor

The design for codecov/engineering-team#1491 includes warnings in the bundle table for individual bundles.

In order to do that we need a percentage change on the bundle level. The calculation of percentage follows the same idea as the Comparison: the percentage is taken using the base bundle size as the 100%

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.

The design for codecov/engineering-team#1491 includes warnings in the bundle table for individual bundles.

In order to do that we need a percentage change on the bundle level.
The calculation of percentage follows the same idea as the `Comparison`: the percentage is taken using the base bundle size as the 100%
Swatinem
Swatinem previously approved these changes Sep 17, 2024
Comment thread shared/bundle_analysis/comparison.py Resolved
@giovanni-guidini
giovanni-guidini added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit 545fd04 Sep 17, 2024
@giovanni-guidini
giovanni-guidini deleted the bundle-percentage-change branch September 17, 2024 15:17
@codecov

codecov Bot commented Sep 17, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.12%. Comparing base (c7aebf0) to head (15aaba8).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #353      +/-   ##
==========================================
- Coverage   89.73%   89.12%   -0.62%     
==========================================
  Files         374      324      -50     
  Lines       11587     9713    -1874     
  Branches     2063     1737     -326     
==========================================
- Hits        10398     8657    -1741     
+ Misses       1101      992     -109     
+ Partials       88       64      -24     
Flag Coverage Δ
shared-docker-uploader ?

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants