codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Flag management in yaml not working

Open sky-code opened this issue 6 months ago • 2 comments

https://docs.codecov.com/docs/flags#step-2-flag-management-in-yaml I tried this configuration:

flag_management:
  default_rules: # the rules that will be followed for any flag added, generally
    carryforward: true
    statuses:
      - type: project
        target: 90% # overall project/ repo coverage
      - type: patch
        target: 90%
  individual_flags: # exceptions to the default rules above, stated flag by flag
    - name: backend
      paths:
        - backend/
      carryforward: true
    - name: webapp
      paths:
        - webapp/
      carryforward: true

and also this configuration:

flag_management:
  default_rules: # the rules that will be followed for any flag added, generally
    carryforward: true
    statuses:
      - type: project
        target: 90% # overall project/ repo coverage
      - type: patch
        target: 90%

flags:
  backend:
    paths:
      - backend/
  webapp:
    paths:
      - webapp/

and both of them is not working and UI don't show any flags

Image

sky-code avatar Jul 23 '25 00:07 sky-code

Is there any update? I am experiencing the same issue

lucacavallaro avatar Sep 16 '25 09:09 lucacavallaro