Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Self-hosted] Flags filtering is broken in the Tree view, when flag_regexes is added in component_management #630

Open
nikosatwork opened this issue Jan 20, 2025 · 0 comments

Comments

@nikosatwork
Copy link

nikosatwork commented Jan 20, 2025

Describe the bug
[Self-hosted] Flags filtering is broken in the Tree view, when flag_regexes is added in component_management

Environment (please complete the following information):

  • Browser: All
  • System: CI, UI
  • Version: 25.1.16, 25.1.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 union.
  4. Still in the Tree view and having selected any flag in the Flags dropdown, the coverage percentage is wrong, and represents the total coverage, regardless the Component filter.

Expected behavior
Having selected a flag in the Flags dropdown, the coverage percentage is calculated based on the union of the path and flag_regex in component_management, or just the flag_regex when the path is not specified, and the flag(s) selected.

@covecod covecod bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

1 participant