Skip to content

Bundle Analysis V1 #1121

Closed
Closed

Description

@codecovdesign

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
- [ ] https://github.com/codecov/engineering-team/issues/1781
- [ ] https://github.com/codecov/engineering-team/issues/1782
- [ ] https://github.com/codecov/engineering-team/issues/1783
- [ ] https://github.com/codecov/engineering-team/issues/1785
- [ ] https://github.com/codecov/engineering-team/issues/1856
- [ ] https://github.com/codecov/engineering-team/issues/1917
Carryover Under Review Issues - TBD

Filtering and grouping of assets

Configuration

Docs improvement

Actionable insights

Activity

  1. self-assigned this
    on Feb 8, 2024
  2. added
    in discovery
    on Feb 8, 2024
  3. codecovdesign commented on Feb 9, 2024

    @codecovdesign
    ContributorAuthor

    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

  4. codecovdesign commented on Feb 14, 2024

    @codecovdesign
    ContributorAuthor

    from slack 2/13 focus on version 2:

    • branch selection
    • bundle selector
    • high level summary information
    • bundle assets
  5. changed the title [-]Discovery: v1 for Bundle Analysis[/-] [+]Discovery: v2 for Bundle Analysis[/+] on Feb 14, 2024
  6. aj-codecov commented on Mar 28, 2024

    @aj-codecov

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

  7. added this to the Q2'24 milestone on Apr 18, 2024
  8. added
    [Epic]
    on Apr 23, 2024
  9. nicholas-codecov commented on May 7, 2024

    @nicholas-codecov

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

  10. codecovdesign commented on May 8, 2024

    @codecovdesign
    ContributorAuthor

    "Bundle Caching"

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

  11. nicholas-codecov commented on May 8, 2024

    @nicholas-codecov

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

  12. aj-codecov commented on May 8, 2024

    @aj-codecov

    @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.

  13. codecovdesign commented on May 8, 2024

    @codecovdesign
    ContributorAuthor

    got it, will check it out - thanks!

  14. tnt-sentry commented on May 15, 2024

    @tnt-sentry
    Contributor

    Attaching

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

  15. changed the title [-]Discovery: v2 for Bundle Analysis[/-] [+]Bundle Analysis V1[/+] on Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P0: must do[Epic]in discovery

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions