Seeing a "Team bot is missing" message and no posts on my PRs in a private org repository

Hi friends!

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file. (I don’'t use one)
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.

Description

I am not seeing Codecov post on my GitHub PRs upon a successful upload via GitHub actions, and on the Codecov website I am seeing " Team bot is missing". I thought I don’t need a team bot if using GH and the Codecov app is authorized.

This is a private repository belonging to an organization I am a member of, and this specific repository has been authorized in the github settings page.

CI/CD URL

It’s a private repo so that is not accessible.

Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.


Expected Results

I expect the codecov-commenter bot to be able to post to the PR

Actual Results

It is not posting.

Additional Information

Organization name is mobilecoinofficial
Repository is misty-swap

Thank you!

Hi @eran-mc, can you try uninstalling the Codecov app and re-adding it? I’m wondering if there was an issue with the install

1 Like

That did the trick, thank you!

1 Like

Hi, Same scene. After reinstalling, it no longer prompts that the team bot is missing, but there is no codecov-commenter bot comment in the PR.

Run codecov/codecov-action@v3
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (0c9b79119b0d8dbe7aaf460dc3bd7c3094ceda06e5ae32b0d11a8ff56e2cc5c5  codecov)
==> Running version latest
==> Running version v0.6.1
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n  -Q github-action-3.1.4 -f ./coverage.xml -F unittests -C d6e62c994d61e02c631f1714abde2d25b91673f0
[2023-07-11T08:17:45.313Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.6.1
[2023-07-11T08:17:45.320Z] ['info'] => Project root located at: /home/runner/work/switch-cloud/switch-cloud
[2023-07-11T08:17:45.323Z] ['info'] ->  Token found by environment variables
[2023-07-11T08:17:45.332Z] ['info'] Searching for coverage files...
[2023-07-11T08:17:45.489Z] ['info'] => Found 1 possible coverage files:
  ./coverage.xml
[2023-07-11T08:17:45.490Z] ['info'] Processing ./coverage.xml...
[2023-07-11T08:17:45.494Z] ['info'] Using manual override from args.
[2023-07-11T08:17:45.494Z] ['info'] Detected GitHub Actions as the CI provider.
[2023-07-11T08:17:45.756Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.6.1&token=*******&branch=feat%2Ftests&build=5517495287&build_url=https%3A%2F%2Fgithub.com%2Fpineapplepy%2Fswitch-cloud%2Factions%2Fruns%2F5517495287&commit=d6e62c994d61e02c631f1714abde2d25b91673f0&job=Testing&pr=2&service=github-actions&slug=pineapplepy%2Fswitch-cloud&name=&tag=&flags=unittests&parent=
[2023-07-11T08:17:45.925Z] ['info'] https://app.codecov.io/github/pineapplepy/switch-cloud/commit/d6e62c994d61e02c631f1714abde2d25b91673f0
https://storage.googleapis.com/codecov/v4/raw/2023-07-11/7E6C6FA67851E4E14509492915BE668F/d6e62c994d61e02c631f1714abde2d25b91673f0/5722511f-7e94-4fc6-8aba-496ef7ad93d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230711T081745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13f8ed3a0395dc7c862e7bd09ac837d1235bfda30e599f9e5df34eb79b87122d
[2023-07-11T08:17:45.926Z] ['info'] Uploading...
[2023-07-11T08:17:46.111Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/pineapplepy/switch-cloud/commit/d6e62c994d61e02c631f1714abde2d25b91673f0"}

It seems that I found the problem. After I changed the content in codecov.yml to the following, the robot comment appeared in the PR.

comment:                  # this is a top-level key
  layout: " diff, flags, files"
  behavior: default
  require_changes: false  # if true: only post the comment if coverage changes
  require_base: false        # [true :: must have a base report to post]
  require_head: true       # [true :: must have a head report to post]
1 Like