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

chore: add action to track nr bundle size #1289

Merged
merged 15 commits into from
Dec 24, 2024
Merged

Conversation

metal-messiah
Copy link
Member

This PR adds a GHA to track the main branch bundle size over time by reporting custom events to NR.

Overview

Related Issue(s)

https://new-relic.atlassian.net/browse/NR-251542?atlOrigin=eyJpIjoiNGI1MDM0YzZmZmNjNGM1MmEwODJiN2QwYjY5NTdkMTgiLCJwIjoiaiJ9

Testing

Copy link

Asset Size Report

Merging this pull request will result in the following asset size changes:

Agent Asset Previous Size New Size Diff
lite loader 30.13 kB / 10.86 kB (gzip) 30.13 kB / 10.86 kB (gzip) 0% / 0% (gzip)
lite async-chunk 53.39 kB / 17.35 kB (gzip) 53.39 kB / 17.35 kB (gzip) 0% / 0% (gzip)
pro loader 51.67 kB / 17.76 kB (gzip) 51.67 kB / 17.76 kB (gzip) 0% / 0% (gzip)
pro async-chunk 101.99 kB / 31.12 kB (gzip) 101.99 kB / 31.12 kB (gzip) 0% / 0% (gzip)
spa loader 59.29 kB / 20.1 kB (gzip) 59.29 kB / 20.1 kB (gzip) 0% / 0% (gzip)
spa async-chunk 116.66 kB / 35.39 kB (gzip) 116.66 kB / 35.39 kB (gzip) 0% / 0% (gzip)

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.99%. Comparing base (9395415) to head (12b19cb).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1289   +/-   ##
=======================================
  Coverage   88.99%   88.99%           
=======================================
  Files         170      170           
  Lines        7431     7431           
  Branches     1497     1497           
=======================================
  Hits         6613     6613           
  Misses        697      697           
  Partials      121      121           
Flag Coverage Δ
unit-tests 79.52% <ø> (ø)

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.

@metal-messiah metal-messiah merged commit fd02414 into main Dec 24, 2024
16 checks passed
@metal-messiah metal-messiah deleted the track-bundle-size branch December 24, 2024 22:10
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