GitHub status not being reported

Description

The codecov/patch status is not being reported despite apparent “success” in uploading status to Codecov.

Repository

CI/CD

GitHub Actions.

Uploader

GitHub action codecov/codecov-action@v1.0.10

Commit SHAs

See https://github.com/rust-git/rsgit/pull/72.

Codecov YAML

None (default).

Codecov Output

n/a

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Hi @scouten, I’m seeing a patch status being sent and on the UI

Is this still an issue, and if so, do you have another PR or commit SHA?

I haven’t been coding on this project much lately (just moved and still settling in), but I’ve put through my first two new PRs today. Did not see a stall either time.

I wouldn’t call that a definitive response, but its encouraging (?).

1 Like

hello there,
I’m also having the same issue, I’m using github actionis, and using the codecov bash script to upload code coverage, it says success on the logs, I can even click on the link to go to the codecov page where it shows the details, but still no checks pass on github, it’s been happening on multiple repo, and for a while now.

https://github.com/crazyfactory/tinka/pulls here’s the repo in question, a lot of PRs there are not receiving checks, the latest one being one of them, I’m trying to migrate to github actions, but status checks are required, so I can’t,

And running from travis isn’t working either.

@cyberhck, can you link to the one of the GitHub Actions builds that is showing a link to a Codecov page and is not showing a status check?

(https://travis-ci.org/github/crazyfactory/tinka/builds/726028306?utm_source=github_status&utm_medium=notification, https://github.com/crazyfactory/tinka/pull/206)

(https://github.com/crazyfactory/tinka/pull/226, https://github.com/crazyfactory/tinka/pull/226/checks?check_run_id=1257970124)

I had to remove codecov from our required checks because of this

@cyberhck, this looks like a permissions issue to me. I would resolve it by adding the GitHub app integration, as we do not have the proper permission set to post statuses currently.

I’ve been having the same issue for the last 24 hours.

Relevant PR.

Report is successfully pushed

Run codecov/codecov-action@v1
/usr/bin/bash codecov.sh -n  -F unittests -Q github-action-v1.5.2 -C 4b1dd91847299033e7b4b1445245ff2c49598d6f

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-1.0.3


==> git version 2.31.1 found
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
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 brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
==> GitHub Actions detected.
    Env vars used:
      -> GITHUB_ACTIONS:    true
      -> GITHUB_HEAD_REF:   js/fix-build-configuration
      -> GITHUB_REF:        refs/pull/1667/merge
      -> GITHUB_REPOSITORY: SixLabors/ImageSharp
      -> GITHUB_RUN_ID:     941395163
      -> GITHUB_SHA:        2a35dc882164c17f64488852189166bfd1118b00
      -> GITHUB_WORKFLOW:   Build
    project root: .
    Yaml found at: codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
    + .
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./tests/ImageSharp.Tests/TestResults/455558fb-c562-4add-a40f-854bef49991a/coverage.info bytes=3146908
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    -> No adjustments found
==> Gzipping contents
        328K	/tmp/codecov.gEEhfm.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=js%2Ffix-build-configuration&commit=4b1dd91847299033e7b4b1445245ff2c49598d6f&build=941395163&build_url=http%3A%2F%2Fgithub.com%2FSixLabors%2FImageSharp%2Factions%2Fruns%2F941395163&name=&tag=&slug=SixLabors%2FImageSharp&service=github-actions&flags=unittests&pr=1667&job=Build&cmd_args=n,F,Q,C
->  Pinging Codecov
https://codecov.io/upload/v4?package=github-action-v1.5.2-1.0.3&token=secret&branch=js%2Ffix-build-configuration&commit=4b1dd91847299033e7b4b1445245ff2c49598d6f&build=941395163&build_url=http%3A%2F%2Fgithub.com%2FSixLabors%2FImageSharp%2Factions%2Fruns%2F941395163&name=&tag=&slug=SixLabors%2FImageSharp&service=github-actions&flags=unittests&pr=1667&job=Build&cmd_args=n,F,Q,C
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2021-06-16/67C5B7164C857642EEB62513118C846D/4b1dd91847299033e7b4b1445245ff2c49598d6f/6a83288b-1fa0-4a1e-8529-a70a0642468c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210616T025820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df0ce8836eef3f33dcdfcec2b5b1599b512db6fca7c53a01c6dbe09bdd902121
  % 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  327k    0     0  100  327k      0  1259k --:--:-- --:--:-- --:--:-- 1259k
    -> Reports have been successfully queued for processing at https://codecov.io/github/SixLabors/ImageSharp/commit/4b1dd91847299033e7b4b1445245ff2c49598d6f

Integration has relevant permissions

I’m still seeing this happen. It’s sporadic and I haven’t identified a pattern. Anyone willing to chime in?