feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[Self-hosted] flag_regexes in component_management is not applied to the File view

Open nikosatwork opened this issue 1 year ago • 5 comments

Describe the bug flag_regexes in component_management is not applied to the File view

Environment (please complete the following information):

  • Browser: All
  • System: CI, UI
  • Version: 25.1.16, 25.1.3, 25.3.3

To Reproduce Steps to reproduce the behavior:

  1. Setup a component(s) in component_management in codecov.yml, using both paths and flag_regexes, or just flag_regexes
  2. Upload a new report that targets the component, as expected
  3. Having selected the component in the Codecov dashboard > in Tree view, the coverage percentage is correct, based on the flag_regex and path intersection, or just the flag_regex (respectively).
  4. In the Codecov dashboard > in File view, the coverage is not correct, ignoring the flag_regex

Expected behavior Having selected the component in the Codecov dashboard > in File view, the coverage is correct, based on the flag_regex and path intersection, or the flag_regex when the path is not specified.

nikosatwork avatar Jan 20 '25 12:01 nikosatwork

Hi team. Have you had a chance to look at this issue? Thanks.

nikosatwork avatar Mar 10 '25 11:03 nikosatwork

For some context this is the component in codecov.yml:

Image

And this is the behavior in Codecov:

Image

nikosatwork avatar Mar 11 '25 10:03 nikosatwork

Hi @spalmurray @thomasrockhu-codecov - I noticed that the Bug issue type was removed from the ticket back in August. Could you please provide an update on the status or reasoning behind this change? Thank you!

nikosatwork avatar Nov 12 '25 17:11 nikosatwork

@nikosatwork you marked this as self-hosted. is that true for this ticket?

thomasrockhu-codecov avatar Nov 12 '25 21:11 thomasrockhu-codecov

It is discovered on self-hosted correct. I have not tried to reproduce on the cloud version.

nikosatwork avatar Nov 13 '25 11:11 nikosatwork