Team Bot Not Posting Comments For Private Bitbucket Repo

Description

Whenever I switch our repo to private, codecov no longer posts code coverage comments on PRs.

I initially thought the problem was that our repository did not have a codecov.yml file and only the organization did, so I copied our org yml file to the repo and the repo now shows Current Bot: DavidChenPhilanthropi. But once I switched our repository to private the comments are still not posted.

Commit SHAs

This occurs on all our commits, the latest example being 6c4df70

Repository

https://bitbucket.org/philanthropi/wip/src/master/

CI/CD or Build URL

https://bitbucket.org/philanthropi/wip/addon/pipelines/home#!/results/556

Uploader

Bash uploader

Codecov Output

/ | | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / ` |/ _ / / _ \ \ / /
| |
| (
) | (
| | __/ (
| (
) \ V /
______/ _,|_|____/ _/
Bash-1.0.3
==> git version 2.20.1 found
==> curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
==> Bitbucket detected.
project root: .
Yaml found at: codecov.yml
→ Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
+ test/UnitTests/test-reports/coverage.opencover.xml bytes=730947
==> Appending adjustments
Fixing Reports
→ No adjustments found
==> Gzipping contents
48K /tmp/codecov.hbshfS.gz
==> Uploading reports
url: https://codecov.io
query: branch=KN05-2052&commit=6c4df7008192b10f75fb96af6a78509460931df0&build=556&build_url=&name=&tag=&slug=philanthropi%2Fwip&service=bitbucket&flags=unittests&pr=&job=556&cmd_args=t,f,F
→ Pinging Codecov
https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=KN05-2052&commit=6c4df7008192b10f75fb96af6a78509460931df0&build=556&build_url=&name=&tag=&slug=philanthropi%2Fwip&service=bitbucket&flags=unittests&pr=&job=556&cmd_args=t,f,F
→ Uploading to
https://storage.googleapis.com/codecov/v4/raw/2021-05-27/033453BAFF672282C719FD652E54B65F/6c4df7008192b10f75fb96af6a78509460931df0/f4b5a2eb-5d39-491b-95d3-dcb216a90c98.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210527T181046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14a73bf24125e96ba29c6ebbc3bdc3745fd4133701866ada2ca53d4a69de2bd7
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 46883 0 0 100 46883 0 280k --:–:-- --:–:-- --:–:-- 280k
→ Reports have been successfully queued for processing at Code coverage done right.

Expected Results

Repository set to private, comment on PR after successful CI build.

Actual Results

displays Waiting for CI to complete banner and message:
“Notifications are pending CI completion. Waiting for Bitbucket’s status webhook to queue notifications. Push notifications now.”. Upon clicking Push notification now, nothing changes.

Additional Information

N/A

Update:

As part of my debugging, I cleared my codecov cache, revoked codecov oauth access, relogged in codecov via bitbucket, retriggered a build, and now this is working.

I’m going to work on unwinding the configs and reverting the repo config to see if the team config will now override it.

@DavidChenPhilanthrop just wanted to see if you ended up being able to dig into this a little more, would love to know your insights.