[Self-hosted] flag_regexes in component_management is not applied to the File view
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:
- Setup a component(s) in
component_managementincodecov.yml, using bothpathsandflag_regexes, or justflag_regexes - Upload a new report that targets the component, as expected
- 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).
- 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.
Hi team. Have you had a chance to look at this issue? Thanks.
For some context this is the component in codecov.yml:
And this is the behavior in Codecov:
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 you marked this as self-hosted. is that true for this ticket?
It is discovered on self-hosted correct. I have not tried to reproduce on the cloud version.