Codecov.yml flags don't show

Description

I’ve added a codecov.yml to our repository with flags and still in every PR we get just the “project” and “patch” instead of getting the diff for each flag (peroject/app1, project/app2).
our yaml looks like:
coverage:
status:
project:
default: off
app1:
flags:
- app1
carryforward: true
app2:
flags:
- app2
carryforward: true

flags:
app1:
paths:
- apps/app1/
app2:
paths:
- apps/app2/

I’ve tested the validation of the file and its valid.
Also - in the codecov.io site in settings → yaml we can’t see our yml file even though its in the repository root directory.
we tried uploading the reports using:
./apps/app1/node_modules/codecov/bin/codecov -f apps/app1/coverage/lcov.info --flags app1
and also using:
bash <(curl -s https://codecov.io/bash) -f apps/app1/coverage/lcov.info -F app1
→ both from the root directory where the yaml file is located. in the bash upload log we get “Yaml found at: codecov.yml” and still it doesn’t show on the site and flags don’t show in our pr.

the indentation of the yaml file got a bit messed up here but it looks fine in our file

Hi @noaKurman,

The carryforward flag is in the wrong section

  1 coverage:
  2   status:
  3     project:
  4       default: off
  5       app1:
  6         flags:
  7           - app1
  8       app2:
  9         flags:
 10           - app2
 11
 12 flags:
 13   app1:
 14     paths:
 15       - apps/app1/
 16     carryforward: true
 17   app2:
 18     paths:
 19       - apps/app2/
 20     carryforward: true

should work for you