# Codecov.yml does not update in our repo and does not comment in Gitlab PR

**URL:** <https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395>\
**Category:** Support\
**Created:** [December 14, 2021, 5:57pm UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395 "2021-12-14T17:57:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luongvo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/luongvo/32/2198_2.png) [@luongvo](https://community.codecov.com/u/luongvo)\
**Post date:** [December 14, 2021, 5:57pm UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395/1 "2021-12-14T17:57:45Z")

</div>

### Description

I’m setting up CodeCov for our project in Gitlab. I created a `codecov.yml` file to set up the [Team Bot](https://docs.codecov.com/docs/team-bot) account as below

```auto
codecov:
  bot: luongvo

```

I pushed this config to develop but I can not see it on CodeCov app’s Settings \> Yaml page, the Current Bot name is still `None`. Also, the uploaded result by commit shows `CI Failed` error and there are no Comments in Gitlab PR.

### CI/CD URL

> **[Code coverage done right.](https://app.codecov.io/gl/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/8ada291b30f47661c97ba128386dac1e07b296e2)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

### Codecov Output

```auto
+------------------------------------------------------------------------------+

| (5) CodeCov |
+------------------------------------------------------------------------------+
| id: script |
| version: 1.1.6 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2021-12-09T02:53:24Z |
+------------------------------------------------------------------------------+
| |
[2021-12-09T02:53:26.636Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
  Codecov report uploader 0.1.13
[2021-12-09T02:53:26.655Z] ['info'] => Project root located at: /Users/vagrant/git
[2021-12-09T02:53:26.660Z] ['info'] -> Token found by arguments
[2021-12-09T02:53:26.680Z] ['info'] Searching for coverage files...
[2021-12-09T02:53:26.748Z] ['info'] => Found 1 possible coverage files:
  coverage/lcov.info
[2021-12-09T02:53:26.748Z] ['info'] Processing /Users/vagrant/git/coverage/lcov.info...
[2021-12-09T02:53:26.766Z] ['info'] Detected Local as the CI provider.
[2021-12-09T02:53:26.815Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.13&token= ******* &branch=HEAD&build=&build_url=&commit=8ada291b30f47661c97ba128386dac1e07b296e2&job=&pr=&service=&slug=cloud_arv%2Fagritech%2Fservice-matching%2Fvarun-matchmaking-flutter&name=&tag=&flags=&parent=
[2021-12-09T02:53:26.964Z] ['info'] Uploading...
[2021-12-09T02:53:27.144Z] ['info'] {"status":"success","resultURL":"https://codecov.io/gitlab/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/8ada291b30f47661c97ba128386dac1e07b296e2"}
| |
+---+---------------------------------------------------------------+----------+
| ✓ | CodeCov | 4.21 sec |
+---+---------------------------------------------------------------+----------+

```

### Expected Results

- The yml config should appear in CodeCov app’s Settings \> Yaml page.
- The Current Bot should be `luongvo`.
- The updated commit should pass the CI in green check [Codecov](https://app.codecov.io/gl/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/8ada291b30f47661c97ba128386dac1e07b296e2).
- CodeCov should comment the coverage report in our Gitlab PR.

### Actual Results

- The yml config does not appear in CodeCov app’s Settings \> Yaml page.
- The Current Bot is `None`.
- The updated commit shows `CI Failed` [Codecov](https://app.codecov.io/gl/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/8ada291b30f47661c97ba128386dac1e07b296e2).
- CodeCov does not comment the coverage report in our Gitlab PR.

### Additional Information

- Our Gitlab repository is [https://gitlab.com/cloud\_arv/agritech/service-matching/varun-matchmaking-flutter](https://gitlab.com/cloud_arv/agritech/service-matching/varun-matchmaking-flutter), which is kind of a multi-folders project structure, not something like [https://gitlab.com/luongvo/flutter-survey](https://gitlab.com/luongvo/flutter-survey) (CodeCov works on this one). CodeCov does not seem to realize the path of Gitlab repository correctly when I clicking on the `authored commit [8ada291](https://gitlab.com/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/-/commit/8ada291b30f47661c97ba128386dac1e07b296e2)` section in this page [Codecov](https://app.codecov.io/gl/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/8ada291b30f47661c97ba128386dac1e07b296e2)

---

<div class="post-metadata">

**Author:** ![luongvo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/luongvo/32/2198_2.png) [@luongvo](https://community.codecov.com/u/luongvo)\
**Post date:** [December 16, 2021, 1:38am UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395/2 "2021-12-16T01:38:33Z")

</div>

@tom could you please check my issue here? We need this integration to be working soon. Thanks.

The uploaded commit shows `CI Failed` in the new UI, and `Waiting for CI to complete` in the legacy UI mode.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/c/ce3b4be5fcc2900be62b06e919e092157f5779b1.png)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/0/07407a759e0bf6ef9a73c6f18aa8cb874f90760c.png)

---

<div class="post-metadata">

**Author:** ![luongvo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/luongvo/32/2198_2.png) [@luongvo](https://community.codecov.com/u/luongvo)\
**Post date:** [December 16, 2021, 1:54am UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395/3 "2021-12-16T01:54:21Z")

</div>

@drazisil I’m not sure if I’m facing the same issue with [this guy](https://community.codecov.com/t/reports-are-queued-for-processing-please-review-report-with-caution-it-may-change/3329/21) as an unknown reason from CodeCov side? Could you please check and fix it?

I’m quite wondering about the root cause and the solution `team bot isn’t getting set from the global YAML for unknown reasons and I manually set it in the database`.

---

<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:** [December 16, 2021, 4:32pm UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395/4 "2021-12-16T16:32:01Z")

</div>

@luongvo I’ll get this squared away for you today.

---

<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:** [December 16, 2021, 10:03pm UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395/5 "2021-12-16T22:03:31Z")

</div>

@luongvo can you try uploading again on a new commit?

---

<div class="post-metadata">

**Author:** ![luongvo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/luongvo/32/2198_2.png) [@luongvo](https://community.codecov.com/u/luongvo)\
**Post date:** [December 17, 2021, 2:13am UTC](https://community.codecov.com/t/codecov-yml-does-not-update-in-our-repo-and-does-not-comment-in-gitlab-pr/3395/6 "2021-12-17T02:13:03Z")

</div>

@tom Okay, I rebased and pushed a new commit `21356cf0a49782db6895ac26ccb9bc6c6933533c`.

There are some updates:

- The CI passed on this commit [Codecov](https://app.codecov.io/gl/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/21356cf0a49782db6895ac26ccb9bc6c6933533c) ✅

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/0/0b5c43bd3f64c3905ac2cbf1ba211b7c6812d1c5.png)

- CodeCov still does not detect my yaml in App Settings and the current Bot still **None** 🤔

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/8/8f658b7e8bbbd8038a6265df8e6f469037f807c0.png)

- CodeCov can detect my PRs now ✅

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/9/9a4314139e5530f9e51c4ec75e7384afdbbbe71e.png)

- CodeCov can comment coverage report to Gitlab PR now ✅

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/f/f3fa53771d1869a69e9ff5fa1349a7d0d8bd6d87.png)

Everything seems to be fine now. I’m not sure what happens with the App Settings yaml config but it’s working properly now. I will let you know if it stucks again in anyways. Thank you.

Here is the CD log:

```auto
+------------------------------------------------------------------------------+

| (5) CodeCov |
+------------------------------------------------------------------------------+
| id: script |
| version: 1.1.6 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2021-12-17T02:02:41Z |
+------------------------------------------------------------------------------+
| |
[2021-12-17T02:02:43.948Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
  Codecov report uploader 0.1.13
[2021-12-17T02:02:43.966Z] ['info'] => Project root located at: /Users/vagrant/git
[2021-12-17T02:02:43.970Z] ['info'] -> Token found by arguments
[2021-12-17T02:02:43.991Z] ['info'] Searching for coverage files...
[2021-12-17T02:02:44.064Z] ['info'] => Found 1 possible coverage files:
  coverage/lcov.info
[2021-12-17T02:02:44.064Z] ['info'] Processing /Users/vagrant/git/coverage/lcov.info...
[2021-12-17T02:02:44.083Z] ['info'] Detected Local as the CI provider.
[2021-12-17T02:02:44.134Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.13&token= ******* &branch=HEAD&build=&build_url=&commit=21356cf0a49782db6895ac26ccb9bc6c6933533c&job=&pr=&service=&slug=cloud_arv%2Fagritech%2Fservice-matching%2Fvarun-matchmaking-flutter&name=&tag=&flags=&parent=
[2021-12-17T02:02:44.352Z] ['info'] Uploading...
[2021-12-17T02:02:44.562Z] ['info'] {"status":"success","resultURL":"https://codecov.io/gitlab/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/21356cf0a49782db6895ac26ccb9bc6c6933533c"}
| |
+---+---------------------------------------------------------------+----------+
| ✓ | CodeCov | 5.21 sec |
+---+---------------------------------------------------------------+----------+

```
