# After changing codecov.yml "flags", the badge for new flag and project name is unresolved

**URL:** <https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357>\
**Category:** Uncategorized\
**Created:** [November 26, 2020, 12:33pm UTC](https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357 "2020-11-26T12:33:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsamr](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jsamr/32/1355_2.png) [@jsamr](https://community.codecov.com/u/jsamr)\
**Post date:** [November 26, 2020, 12:33pm UTC](https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357/1 "2020-11-26T12:33:56Z")

</div>

The [codecov.yml file is available here](https://github.com/native-html/core/blob/master/codecov.yml), the problematic flag badge is that one:  
 ![](https://codecov.io/gh/native-html/core/branch/master/graph/badge.svg?flag=transient-render-engine)  
while the old flag badge is still available here: [https://codecov.io/gh/native-html/core/branch/master/graph/badge.svg?flag=transient-render-tree](https://codecov.io/gh/native-html/core/branch/master/graph/badge.svg?flag=transient-render-tree)

When I navigate in the coverage report here: [Code coverage done right.](https://codecov.io/gh/native-html/core/tree/master/packages), I can see that the old package (transient-render-tree) is visible, while the new package (transient-render-engine) is not.

Thanks for helping me out!

**EDIT** : New reports are not registered. Codecov claims " There was an error processing coverage reports.", while the Codecov Github action is successful, see for example [https://github.com/native-html/core/runs/1458661166?check\_suite\_focus=true](https://github.com/native-html/core/runs/1458661166?check_suite_focus=true)

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [November 27, 2020, 11:32pm UTC](https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357/2 "2020-11-27T23:32:04Z")

</div>

@jsamr, I think this is happening because Codecov hasn’t been able to process coverage reports for the last 15 days. Can you try running the bash scripts with `-X fix -X network`?

---

<div class="post-metadata">

**Author:** ![jsamr](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jsamr/32/1355_2.png) [@jsamr](https://community.codecov.com/u/jsamr)\
**Post date:** [November 28, 2020, 9:49am UTC](https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357/3 "2020-11-28T09:49:38Z")

</div>

So I did run the bash script with the options you proposed. Here is the sample output:

```
_____ _
 / ____ | | |
| | _____ | | ______  _______
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |__/ (_| (_) \ V /
 \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
                              Bash-20201124-79cbc08

x> No CI provider detected.
    Testing inside Docker? http://docs.codecov.io/docs/testing-with-docker
    Testing with Tox? https://docs.codecov.io/docs/python#section-testing-with-tox
    project root: .
    Yaml found at: codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy exists disable via -X coveragepy
    No .coverage file found.
==> Searching for coverage reports in:
    + .
    -> Found 6 reports
==> Reading reports
    + ./packages/transient-render-engine/coverage/coverage-final.json bytes=88257
    + ./packages/transient-render-engine/coverage/lcov.info bytes=13637
    + ./packages/transient-render-engine/coverage/clover.xml bytes=29246
    + ./packages/css-processor/coverage/coverage-final.json bytes=59378
    + ./packages/css-processor/coverage/lcov.info bytes=10392
    + ./packages/css-processor/coverage/clover.xml bytes=23704
==> Gzipping contents
        32K /tmp/codecov.MGRsJ4.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=master&commit=4d39fcbd413d39979fe2f8441d76c2f6ac59ca10&build=&build_url=&name=&tag=&slug=native-html%2Fcore&service=&flags=&pr=&job=&cmd_args=X,X,t
-> Pinging Codecov
https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=master&commit=4d39fcbd413d39979fe2f8441d76c2f6ac59ca10&build=&build_url=&name=&tag=&slug=native-html%2Fcore&service=&flags=&pr=&job=&cmd_args=X,X,t
-> Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-11-28/6819199558257F0AE224A18A0013B038/4d39fcbd413d39979fe2f8441d76c2f6ac59ca10/59be3b49-e9f1-4303-a0e5-91d7e78bd039.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201128T094650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c79150dcf7eeecb5ce9cc07765fdc80d219ecbb830a821cacd70540814769ade
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 30278 0 0 100 30278 0 49393 --:--:-- --:--:-- --:--:-- 49473
    -> View reports at https://codecov.io/github/native-html/core/commit/4d39fcbd413d39979fe2f8441d76c2f6ac59ca10
```

The report link ([Codecov](https://codecov.io/github/native-html/core/commit/4d39fcbd413d39979fe2f8441d76c2f6ac59ca10)) claims the same:

> _There was an error processing coverage reports._

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [November 30, 2020, 4:08am UTC](https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357/4 "2020-11-30T04:08:46Z")

</div>

@jsamr, what if you add to your `codecov.yml` some [path fixes](https://docs.codecov.io/docs/fixing-paths)

Maybe

```auto
fixes:
  - "home/runner/work/core/core/packages::packages/" 

```

---

<div class="post-metadata">

**Author:** ![jsamr](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jsamr/32/1355_2.png) [@jsamr](https://community.codecov.com/u/jsamr)\
**Post date:** [November 30, 2020, 9:50pm UTC](https://community.codecov.com/t/after-changing-codecov-yml-flags-the-badge-for-new-flag-and-project-name-is-unresolved/2357/5 "2020-11-30T21:50:59Z")

</div>

Thank you very muhc @tom for your assistance, you gave me the hint!

I had to change

```auto
flags:
  css-processor:
    paths:
      - packages/css-processor/coverage/cover.xml
  transient-render-engine:
    paths:
      - packages/transient-render-engine/coverage/cover.xml

```

with

```auto
flags:
  css-processor:
    paths:
      - packages/css-processor/
  transient-render-engine:
    paths:
      - packages/transient-render-engine/

```
