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] Post-GA Work (V2?) #2513

Open
aj-codecov opened this issue Sep 13, 2024 · 1 comment
Open

[Bundle Analysis] Post-GA Work (V2?) #2513

aj-codecov opened this issue Sep 13, 2024 · 1 comment
Labels
Area: BA Tab - Perf Issues with the Bundle Analysis tab performance Area: BA Tab Issues with the Bundle Analysis tab Dependency Dependency between teams epic this label is used to mark issues as epics

Comments

@aj-codecov
Copy link

aj-codecov commented Sep 13, 2024

Context
GA Launched on September 10th to a modest bump in users, we're now at 178 (9/13) orgs total, about 2/3 of which are actively engaged and uploading reports. The goal is to push BA towards greater "actionability", but also continue to expand addressable market. In this vein there's a few things we'd like to pursue next:
NOW

NEXT

  • Finish Astro Plugin Applications Support Astro codecov-javascript-bundler-plugins#93
    • Our best option here is likely to make the OS contribution and push Nate (internal to Sentry and co-creator of Astro) to help us get it approved and merged.
  • Highlight large code changes Applications + Platform Highlight Large Code Changes #2569
    • We can link through to the diff exactly where a large change came from (asset to module to chunk to diff - here's exactly where we think this large (greater than 10%?) change happened.
  • Break out by path Applications + Design Break out bundle by path #2570
    • This needs some discovery and design exploration - likely a per plugin engineering lift.
    • Example this is an astro tool that provides per path bundle sizes. Astro does path based code splitting natively and may be a good place to start, but this is likely something we can translate to other plugins as well. Tentatively we would likely go one level deep, from some quick looking, it seems two doesn't make sense.
    • Example: https://app.codecov.io/gh/codecov one level would be provider. Two levels would be org.
    • Example: https://www.notion.so/sentry/Codecov-General - this is odd, it'd be one level org (which isn't really a thing) and two levels would be an individual page.
    • Example: https://docs.google.com/document/ one level is sufficient here probably.

LATER

  • [Stretch] Esbuild Plugin Applications Support esbuild codecov-javascript-bundler-plugins#41
    • a ton of usage and increasing in usage faster than other bundlers, just difficult to support, but worth it IMO
  • [Stretch] Rspack Plugin Applications Support Rspack codecov-javascript-bundler-plugins#178
    • Sentry uses Rspack and it'd be nice to be able to have them use BA more widely
  • [Stretch] Reach graph Applications Bundle Analysis Visualization Graph #2571
    • we've talked about this historically and been hesitant to dive in. That said, we have seen feedback from the beginning that this is something users expect - if we opt not to do this for some reason, it is still likely worth our time to show visual representation of a bundle as it seems a consistent point of feedback.

Ultimately with completion of the above we will have made bundle analysis easier to use at a glance with the summary bar, and far more contextual with paths. As well as expanding usage to another bundler plugin that has the bonus of preserving the feedback channel coming from Sentry.

Plugin specific issues are all in the Bundle Analysis plugin repo

@aj-codecov
Copy link
Author

Identify "penetration" - Number of BA orgs / Number of orgs with at least one javascript repo

@github-project-automation github-project-automation bot moved this to Idea/Deprioritized for the quarter in Codecov's Roadmap Oct 16, 2024
@aj-codecov aj-codecov moved this from Idea/Deprioritized for the quarter to Selected for development in Codecov's Roadmap Oct 16, 2024
@rohan-at-sentry rohan-at-sentry added Area: BA Tab Issues with the Bundle Analysis tab Area: BA Tab - Perf Issues with the Bundle Analysis tab performance Dependency Dependency between teams labels Oct 16, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Codecov's Roadmap Oct 28, 2024
@nicholas-codecov nicholas-codecov moved this from Done to In Progress in Codecov's Roadmap Oct 28, 2024
@rohan-at-sentry rohan-at-sentry added the epic this label is used to mark issues as epics label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BA Tab - Perf Issues with the Bundle Analysis tab performance Area: BA Tab Issues with the Bundle Analysis tab Dependency Dependency between teams epic this label is used to mark issues as epics
Projects
Status: In Progress
Development

No branches or pull requests

3 participants