codecov / feedback

A place to discuss feedback about the pull request and web product experience.
38 stars 9 forks source link

Add ability to configure allowed number of missed lines per target #507

Closed vlad-ko closed 2 months ago

vlad-ko commented 2 months ago

What product do you want to improve? Codecov config

Is your feature request related to a problem? Please describe. A customer would like to be able to miss X number of lines on a given PR.

Describe the solution you'd like ideally we'd have some sort of combination. The same way that threshold takes the "real" target and lets you pass an otherwise "failed" check in limited, well defined scenarios... adding a min_lines_missed could let us set our target at a good spot 85%, but if you miss only a few lines, it still doesn't fail the PR check:

hypothetical setup of target: 85%, min_lines_missed: 4