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 V1 #1121

Closed
2 of 6 tasks
Tracked by #1093
codecovdesign opened this issue Jan 30, 2024 · 9 comments
Closed
2 of 6 tasks
Tracked by #1093

Bundle Analysis V1 #1121

codecovdesign opened this issue Jan 30, 2024 · 9 comments
Assignees
Labels
epic this label is used to mark issues as epics in discovery The design, product, and specifications require refinement P0: must do priority 10
Milestone

Comments

@codecovdesign
Copy link
Contributor

codecovdesign commented Jan 30, 2024

Problem to Solve

The current MVP of our bundle analysis tool includes configuration guides in the UI and provides commit/PR reports within the app, as well as directly in GitHub pull request comments.

As we look to build upon this foundation, our next iterations shift to address a part of the developer workflow not covered by the MVP: repo-level reporting. This feature aims to provide a helpful view of bundle trends and compositions over time, which is a key area for further exploration in this discovery.

When I'm managing or contributing to a project, I want to easily understand how our bundles are trending over time in terms of size and composition, so that I can make informed decisions about optimizations, refactoring, or the necessity of adding/removing dependencies.

related: #1115 (comment)

We also want to provide teams with the ability to gate Pull Requests based on configurable bundle size thresholds.

Q2 quarterly items focus:

  1. Bundle gate & report segmenting
  2. Repo-level data visual trends: show how bundle sizes change over time due to code updates

Non Q2 Items

Polish

Preview Give feedback
  1. Pavilion-sub-issue Polish
  2. Pavilion-sub-issue Polish in discovery
  3. Dev-Ready Polish
    nicholas-codecov
  4. bug
    JerrySentry
  5. enhancement in discovery
Carryover Under Review Issues - TBD

Filtering and grouping of assets

Configuration

Docs improvement

Actionable insights

@codecovdesign codecovdesign self-assigned this Feb 8, 2024
@codecovdesign codecovdesign added the in discovery The design, product, and specifications require refinement label Feb 8, 2024
@codecovdesign
Copy link
Contributor Author

codecovdesign commented Feb 9, 2024

next steps:

  • front-end solution at the repo
    • do developers really want this?
    • configurability is missing and we need to hear that feedback
      • add feedback solicitation issue
    • explore asset viewer

get MVP out and review adoption in late q1

ideation on next iterations from existing display with 1) branch context selector, 2) bundle selector, 3) trends, 4) bundle gate?
Screenshot 2024-02-09 at 9 25 43 AM

@codecovdesign
Copy link
Contributor Author

from slack 2/13 focus on version 2:

  • branch selection
  • bundle selector
  • high level summary information
  • bundle assets

@codecovdesign codecovdesign changed the title Discovery: v1 for Bundle Analysis Discovery: v2 for Bundle Analysis Feb 14, 2024
@aj-codecov
Copy link

Coming out of quarterly planning - gates based on bundle size or change are a necessary part of V2

@rohan-at-sentry rohan-at-sentry added this to the Q2'24 milestone Apr 18, 2024
@katia-sentry katia-sentry added the P0: must do priority 10 label Apr 23, 2024
@codecov-hooky codecov-hooky bot added the epic this label is used to mark issues as epics label Apr 23, 2024
@nicholas-codecov
Copy link

One thing that is not noted in here, is the introduction of "Bundle Caching" (which is similar to carry-forward for coverage)

@codecovdesign
Copy link
Contributor Author

"Bundle Caching"

@nicholas-codecov is there an issue for this already?

@nicholas-codecov
Copy link

Not that I know of, I poked @aj-codecov and he's not aware of one either

@aj-codecov
Copy link

@codecovdesign I added this in under item #2 at the top - it was discussed a couple places but never made it in to an issue, that's remedied now. It'll be a crucial step to enabling reliable bundle size over time reporting.

@codecovdesign
Copy link
Contributor Author

got it, will check it out - thanks!

@trent-codecov
Copy link
Contributor

Attaching

@adrian-codecov for general advice/expertise/assistance on the platform side
@giovanni-guidini to do some/most of the implementation

@katia-sentry katia-sentry changed the title Discovery: v2 for Bundle Analysis Bundle Analysis V1 Jun 11, 2024
@codecov-hooky codecov-hooky bot closed this as completed Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic this label is used to mark issues as epics in discovery The design, product, and specifications require refinement P0: must do priority 10
Projects
None yet
Development

No branches or pull requests

9 participants