Skip to content

Patch coverage as the only default #1078

Closed

Description

@aj-codecov

Problem to solve
Project coverage is a metric that we opt users into by default, but isn't needed by many of our users. An individual developer really cares most about what's in their pull request (patch coverage), not what the coverage of their entire repo is. Coincidentally, if your patch coverage is high you will improve project coverage, so if you're keeping your patch coverage high your project coverage won't suffer. Project coverage is also difficult to consistently get right for many customers as it's impacted not just by what happens in a pull request, but also by the setup of an org's CI, much of which is out of the purview of the average developer. This makes troubleshooting project coverage hard and frustrating.

Proposed Solution

  1. Remove project coverage checks as a default for new Codecov users.
  2. Remove project coverage from the PR comment entirely and default only to patch coverage for new users
### UX considerations
- [ ] How do we want to handle the dissonance of seeing project coverage on UI and not on the PR for new users?
- [ ] How do we have a new user turn project coverage reporting back on?
- [ ] https://github.com/codecov/engineering-team/issues/1058
### Tasks
- [ ] https://github.com/codecov/engineering-team/issues/1387
- [ ] https://github.com/codecov/engineering-team/issues/1388
- [ ] https://github.com/codecov/engineering-team/issues/1389
- [ ] https://github.com/codecov/engineering-team/issues/1390
- [ ] https://github.com/codecov/engineering-team/issues/1391

Activity

  1. moved this to Idea/Deprioritized for the quarter in Codecov's Roadmapon Jan 22, 2024
  2. moved this from Idea/Deprioritized for the quarter to Selected for development in Codecov's Roadmapon Jan 22, 2024
  3. added this to the Q1'24 milestone on Feb 21, 2024
  4. added
    [Epic]
    on Feb 28, 2024
  5. rohan-at-sentry commented on Apr 24, 2024

    @rohan-at-sentry

    If a new org onboards, by default they will only see project coverage on the PR.

    If they subsequently turn on flags and components - they will see project coverage

    Image

    Opened #1656 to address

  6. moved this from Selected for development to Done in Codecov's Roadmapon Apr 30, 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]

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions