Skip to content

Conversation

ajay-sentry
Copy link
Contributor

@ajay-sentry ajay-sentry commented Oct 2, 2025

Creates a new CoverageMetrics component to show some coverage metrics in a nice way

Link to Sample Entry

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

sentry-io bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 90.14085% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.57%. Comparing base (8816d1e) to head (5912620).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3943      +/-   ##
==========================================
- Coverage   98.62%   98.57%   -0.05%     
==========================================
  Files         828      829       +1     
  Lines       15099    15196      +97     
  Branches     4326     4374      +48     
==========================================
+ Hits        14891    14980      +89     
- Misses        200      208       +8     
  Partials        8        8              
Files with missing lines Coverage Δ
...s/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx 95.83% <ø> (ø)
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% <90.14%> (ø)

... and 11 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.07% <90.14%> (-0.07%) ⬇️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (-0.07%) ⬇️
UI 99.01% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8816d1e...5912620. Read the comment docs.

Copy link

sentry-io bot commented Oct 2, 2025

Bundle Report

Changes will increase total bundle size by 13.73kB (0.11%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.24MB 6.47kB (0.1%) ⬆️
gazebo-production-esm 6.32MB 7.26kB (0.11%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 35 bytes 28.5kB 0.12%
assets/index-legacy.*.js -1 bytes 41.39kB -0.0%
assets/index-legacy.*.js 51 bytes 16.62kB 0.31%
assets/index-legacy.*.js 4.81kB 89.58kB 5.68% ⚠️
assets/index-legacy.*.js 51 bytes 2.7kB 1.92%
assets/index-legacy.*.js -2 bytes 12.78kB -0.02%
assets/index-legacy.*.js -2 bytes 5.63kB -0.04%
assets/index-legacy.*.js -2 bytes 35.44kB -0.01%
assets/index-legacy.*.js -2.17kB 29.48kB -6.85%
assets/index-legacy.*.js -1 bytes 12.66kB -0.01%
assets/index-legacy.*.js -2 bytes 45.41kB -0.0%
assets/index-legacy.*.js -1 bytes 11.39kB -0.01%
assets/index-legacy.*.js -2 bytes 7.81kB -0.03%
assets/index-legacy.*.js -1 bytes 8.57kB -0.01%
assets/index-legacy.*.js -1 bytes 12.28kB -0.01%
assets/index-legacy.*.js -1 bytes 16.8kB -0.01%
assets/index-legacy.*.js 5.33kB 31.65kB 20.27% ⚠️
assets/index-legacy.*.js 116 bytes 11.79kB 0.99%
assets/index-legacy.*.js -2 bytes 113.07kB -0.0%
assets/index-legacy.*.js -1 bytes 21.1kB -0.0%
assets/index-legacy.*.js 234 bytes 717.01kB 0.03%
assets/index-legacy.*.js -2 bytes 49.41kB -0.0%
assets/index-legacy.*.js -2 bytes 7.4kB -0.03%
assets/index-legacy.*.js 16.85kB 26.31kB 178.14% ⚠️
assets/index-legacy.*.js 5.05kB 9.46kB 114.64% ⚠️
assets/index-legacy.*.js -4 bytes 115.08kB -0.0%
assets/index-legacy.*.js -47.95kB 4.41kB -91.59%
assets/RawFileViewer-legacy.*.js -1 bytes 127.36kB -0.0%
assets/BillingDetails-legacy.*.js (New) 26.7kB 26.7kB 100.0% 🚀
assets/ConfigureCachedBundleModal-legacy.*.js -5 bytes 7.87kB -0.06%
assets/useInvoices-legacy.*.js -723 bytes 2.53kB -22.25%
assets/propTypes-legacy.*.js (New) 819 bytes 819 bytes 100.0% 🚀
assets/upgradeForm-legacy.*.js (Deleted) -2.71kB 0 bytes -100.0% 🗑️

Files in assets/index-legacy.*.js:

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/components/CoverageMetrics/CoverageMetrics.tsx → Total Size: 8.36kB

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx → Total Size: 5.17kB

view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js -1 bytes 4.6kB -0.02%
assets/index.*.js -2 bytes 14.24kB -0.01%
assets/index.*.js -2 bytes 7.45kB -0.03%
assets/index.*.js -1 bytes 8.58kB -0.01%
assets/index.*.js 4.82kB 94.85kB 5.36% ⚠️
assets/index.*.js -1 bytes 22.37kB -0.0%
assets/index.*.js 50 bytes 16.9kB 0.3%
assets/index.*.js -1 bytes 12.28kB -0.01%
assets/index.*.js -2 bytes 49.15kB -0.0%
assets/index.*.js -1 bytes 41.88kB -0.0%
assets/index.*.js -2 bytes 26.27kB -0.01%
assets/index.*.js 31 bytes 639.37kB 0.0%
assets/index.*.js 3 bytes 5.86kB 0.05%
assets/index.*.js -1 bytes 17.22kB -0.01%
assets/index.*.js -1 bytes 12.42kB -0.01%
assets/index.*.js -2 bytes 53.59kB -0.0%
assets/index.*.js 134 bytes 31.21kB 0.43%
assets/index.*.js 1 bytes 126.54kB 0.0%
assets/index.*.js -2 bytes 7.75kB -0.03%
assets/index.*.js -1 bytes 13.62kB -0.01%
assets/index.*.js -2 bytes 125.68kB -0.0%
assets/index.*.js 55 bytes 2.54kB 2.22%
assets/index.*.js 229 bytes 12.43kB 1.88%
assets/index.*.js -2 bytes 36.99kB -0.01%
assets/index.*.js -3 bytes 9.58kB -0.03%
assets/index.*.js -2.3kB 31.11kB -6.89%
assets/index.*.js -22.1kB 33.41kB -39.81%
assets/RawFileViewer.*.js -1 bytes 127.15kB -0.0%
assets/index.*.css 182 bytes 101.62kB 0.18%
assets/BillingDetails.*.js (New) 29.04kB 29.04kB 100.0% 🚀
assets/ConfigureCachedBundleModal.*.js -5 bytes 8.31kB -0.06%
assets/useInvoices.*.js -711 bytes 2.5kB -22.18%
assets/Alert.*.js 5 bytes 2.21kB 0.23%
assets/BenefitList.*.js -5 bytes 1.47kB -0.34%
assets/Checkbox.*.js 5 bytes 976 bytes 0.51%
assets/TotalsNumber.*.js 5 bytes 834 bytes 0.6%
assets/propTypes.*.js (New) 731 bytes 731 bytes 100.0% 🚀
assets/upgradeForm.*.js (Deleted) -2.88kB 0 bytes -100.0% 🗑️

Files in assets/index.*.js:

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/components/CoverageMetrics/CoverageMetrics.tsx → Total Size: 8.36kB

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx → Total Size: 5.17kB

@codecov-staging
Copy link

codecov-staging bot commented Oct 2, 2025

Bundle Report

Changes will increase total bundle size by 13.73kB (0.11%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.24MB 6.47kB (0.1%) ⬆️
gazebo-staging-esm 6.32MB 7.26kB (0.11%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-staging-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js -1 bytes 8.57kB -0.01%
assets/index-legacy.*.js 4.81kB 89.58kB 5.68% ⚠️
assets/index-legacy.*.js -4 bytes 115.08kB -0.0%
assets/index-legacy.*.js -2 bytes 26.31kB -0.01%
assets/index-legacy.*.js 51 bytes 16.62kB 0.31%
assets/index-legacy.*.js -1 bytes 12.66kB -0.01%
assets/index-legacy.*.js -1 bytes 16.8kB -0.01%
assets/index-legacy.*.js -2 bytes 45.41kB -0.0%
assets/index-legacy.*.js 51 bytes 2.7kB 1.92%
assets/index-legacy.*.js -1 bytes 4.41kB -0.02%
assets/index-legacy.*.js -2 bytes 35.44kB -0.01%
assets/index-legacy.*.js -2 bytes 12.78kB -0.02%
assets/index-legacy.*.js 234 bytes 717.01kB 0.03%
assets/index-legacy.*.js -1 bytes 11.39kB -0.01%
assets/index-legacy.*.js 116 bytes 11.79kB 0.99%
assets/index-legacy.*.js -1 bytes 21.1kB -0.0%
assets/index-legacy.*.js -3 bytes 9.46kB -0.03%
assets/index-legacy.*.js -2 bytes 7.4kB -0.03%
assets/index-legacy.*.js 35 bytes 28.5kB 0.12%
assets/index-legacy.*.js -2 bytes 5.63kB -0.04%
assets/index-legacy.*.js -2 bytes 7.81kB -0.03%
assets/index-legacy.*.js -2 bytes 113.07kB -0.0%
assets/index-legacy.*.js -2 bytes 49.41kB -0.0%
assets/index-legacy.*.js -11.91kB 29.48kB -28.78%
assets/index-legacy.*.js -10.97kB 41.39kB -20.95%
assets/index-legacy.*.js -1 bytes 12.28kB -0.01%
assets/RawFileViewer-legacy.*.js -1 bytes 127.36kB -0.0%
assets/BillingDetails-legacy.*.js (New) 26.7kB 26.7kB 100.0% 🚀
assets/ConfigureCachedBundleModal-legacy.*.js -5 bytes 7.87kB -0.06%
assets/useInvoices-legacy.*.js -723 bytes 2.53kB -22.25%
assets/propTypes-legacy.*.js (New) 819 bytes 819 bytes 100.0% 🚀
assets/upgradeForm-legacy.*.js (Deleted) -2.71kB 0 bytes -100.0% 🗑️

Files in assets/index-legacy.*.js:

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx → Total Size: 5.17kB

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/components/CoverageMetrics/CoverageMetrics.tsx → Total Size: 8.36kB

view changes for bundle: gazebo-staging-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 3 bytes 5.86kB 0.05%
assets/index.*.js 134 bytes 31.21kB 0.43%
assets/index.*.js -2 bytes 7.45kB -0.03%
assets/index.*.js -1 bytes 22.37kB -0.0%
assets/index.*.js 229 bytes 12.43kB 1.88%
assets/index.*.js -2 bytes 53.59kB -0.0%
assets/index.*.js 55 bytes 2.54kB 2.22%
assets/index.*.js -2 bytes 36.99kB -0.01%
assets/index.*.js -1 bytes 4.6kB -0.02%
assets/index.*.js -2 bytes 125.68kB -0.0%
assets/index.*.js -1 bytes 8.58kB -0.01%
assets/index.*.js -2 bytes 14.24kB -0.01%
assets/index.*.js 50 bytes 16.9kB 0.3%
assets/index.*.js -1 bytes 41.88kB -0.0%
assets/index.*.js -2 bytes 7.75kB -0.03%
assets/index.*.js -1 bytes 13.62kB -0.01%
assets/index.*.js -2 bytes 49.15kB -0.0%
assets/index.*.js 1 bytes 126.54kB 0.0%
assets/index.*.js -1 bytes 12.28kB -0.01%
assets/index.*.js 31 bytes 639.37kB 0.0%
assets/index.*.js -2 bytes 26.27kB -0.01%
assets/index.*.js -3 bytes 9.58kB -0.03%
assets/index.*.js 13.89kB 31.11kB 80.62% ⚠️
assets/index.*.js -1 bytes 12.42kB -0.01%
assets/index.*.js 4.82kB 94.85kB 5.36% ⚠️
assets/index.*.js -38.29kB 17.22kB -68.97%
assets/RawFileViewer.*.js -1 bytes 127.15kB -0.0%
assets/index.*.css 182 bytes 101.62kB 0.18%
assets/BillingDetails.*.js (New) 29.04kB 29.04kB 100.0% 🚀
assets/ConfigureCachedBundleModal.*.js -5 bytes 8.31kB -0.06%
assets/useInvoices.*.js -711 bytes 2.5kB -22.18%
assets/Alert.*.js 5 bytes 2.21kB 0.23%
assets/BenefitList.*.js -5 bytes 1.47kB -0.34%
assets/Checkbox.*.js 5 bytes 976 bytes 0.51%
assets/TotalsNumber.*.js 5 bytes 834 bytes 0.6%
assets/propTypes.*.js (New) 731 bytes 731 bytes 100.0% 🚀
assets/upgradeForm.*.js (Deleted) -2.88kB 0 bytes -100.0% 🗑️

Files in assets/index.*.js:

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx → Total Size: 5.17kB

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/components/CoverageMetrics/CoverageMetrics.tsx → Total Size: 8.36kB

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Oct 2, 2025

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
40534c9 Thu, 02 Oct 2025 21:47:51 GMT Expired Expired
12d7b21 Thu, 02 Oct 2025 21:56:22 GMT Expired Expired
5e97fc5 Thu, 09 Oct 2025 20:42:31 GMT Expired Expired
5912620 Thu, 09 Oct 2025 21:03:52 GMT Cloud Enterprise

@codecov-notifications
Copy link

codecov-notifications bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 90.14085% with 7 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% 7 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3943      +/-   ##
==========================================
- Coverage   98.62%   98.57%   -0.05%     
==========================================
  Files         828      829       +1     
  Lines       15099    15196      +97     
  Branches     4326     4366      +40     
==========================================
+ Hits        14891    14980      +89     
- Misses        200      208       +8     
  Partials        8        8              
Files with missing lines Coverage Δ
...s/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx 95.83% <ø> (ø)
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% <90.14%> (ø)

... and 11 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.07% <90.14%> (-0.07%) ⬇️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (-0.07%) ⬇️
UI 99.01% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8816d1e...5912620. Read the comment docs.

Copy link

codecov-public-qa bot commented Oct 2, 2025

Codecov Report

Attention: Patch coverage is 90.14085% with 7 lines in your changes missing coverage. Please review.

Project coverage is 98.57%. Comparing base (8816d1e) to head (5912620).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% 7 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3943      +/-   ##
==========================================
- Coverage   98.62%   98.57%   -0.05%     
==========================================
  Files         828      829       +1     
  Lines       15099    15196      +97     
  Branches     4318     4374      +56     
==========================================
+ Hits        14891    14980      +89     
- Misses        200      208       +8     
  Partials        8        8              
Files with missing lines Coverage Δ
...s/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx 95.83% <ø> (ø)
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% <90.14%> (ø)

... and 11 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.07% <90.14%> (-0.07%) ⬇️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (-0.07%) ⬇️
UI 99.01% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8816d1e...5912620. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codecov-qa
Copy link

codecov-qa bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 90.14085% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.57%. Comparing base (8816d1e) to head (5912620).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% 7 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3943      +/-   ##
==========================================
+ Coverage   96.54%   98.57%   +2.02%     
==========================================
  Files         828      829       +1     
  Lines       15099    15196      +97     
  Branches     4318     4366      +48     
==========================================
+ Hits        14578    14980     +402     
+ Misses        466      208     -258     
+ Partials       55        8      -47     
Files with missing lines Coverage Δ
...s/RepoPage/CoverageTab/OverviewTab/OverviewTab.tsx 95.83% <ø> (ø)
...Tab/components/CoverageMetrics/CoverageMetrics.tsx 90.14% <90.14%> (ø)

... and 53 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.07% <90.14%> (-0.07%) ⬇️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (+1.74%) ⬆️
UI 99.01% <ø> (+20.18%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8816d1e...5912620. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ajay-sentry ajay-sentry changed the title [test]: FE5 [FE5]: CoverageMetrics Component Oct 3, 2025
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