Repository navigation
Description
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:
- Bundle gate & report segmenting
- 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
- DISCOVERY: sorting / tree of assets and filtering toward actionable tasks #1422
- ISSUE: user expecting HTML index to appear (ordering confusion) #1421
Configuration
- ISSUE: user expectation in 1st PR comment #1412 (onboarding)
- Config option to show/hide a "bundle analysis is working message" when no bundle changes occur. #1485 (user preference)
Docs improvement
Actionable insights
Activity
codecovdesign commentedon Feb 9, 2024
next steps:
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?

codecovdesign commentedon Feb 14, 2024
from slack 2/13 focus on version 2:
[-]Discovery: v1 for Bundle Analysis[/-][+]Discovery: v2 for Bundle Analysis[/+]aj-codecov commentedon Mar 28, 2024
Coming out of quarterly planning - gates based on bundle size or change are a necessary part of V2
nicholas-codecov commentedon May 7, 2024
One thing that is not noted in here, is the introduction of "Bundle Caching" (which is similar to carry-forward for coverage)
codecovdesign commentedon May 8, 2024
@nicholas-codecov is there an issue for this already?
nicholas-codecov commentedon May 8, 2024
Not that I know of, I poked @aj-codecov and he's not aware of one either
aj-codecov commentedon May 8, 2024
@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 commentedon May 8, 2024
got it, will check it out - thanks!
tnt-sentry commentedon May 15, 2024
Attaching
@adrian-codecov for general advice/expertise/assistance on the platform side
@giovanni-guidini to do some/most of the implementation
[-]Discovery: v2 for Bundle Analysis[/-][+]Bundle Analysis V1[/+]