Unable to find commit in Github in private repo

Description

Using the Github Action for uploading the coverage output seems to work, but when I click on the results link I get a 404. I configured the Codecov GitHub app already and use the correct uploading token. Also I see the entries on codecov.io but some say “Unable to find commit in Github” and others just lead to another 404 when clicking on them (link Codecov…)

CI/CD URL

Private repo.

Codecov Output

Run codecov/codecov-action@v2
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id [signature]
==> Uploader SHASUM verified ([shasum] codecov)
==> Running version latest
==> Running version v0.1.20
/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n  -Q github-action-2.1.0 -f .extracted-1648569144488/coverage.out
[2022-03-29T15:52:26.885Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.20
[2022-03-29T15:52:26.893Z] ['info'] => Project root located at: /home/runner/work/[Repo]/[dir]
[2022-03-29T15:52:26.893Z] ['info'] ->  Token found by environment variables
[2022-03-29T15:52:26.899Z] ['info'] Searching for coverage files...
[2022-03-29T15:52:26.986Z] ['info'] => Found 1 possible coverage files:
  .extracted-1648569144488/coverage.out
[2022-03-29T15:52:26.986Z] ['info'] Processing /home/runner/work/Fiber_API/Fiber_API/.extracted-1648569144488/coverage.out...
[2022-03-29T15:52:27.004Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-03-29T15:52:27.006Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.20&token=*******&branch=dev&build=2059613136&build_url=https%3A%2F%2Fgithub.com%2F[Org]%2F[Repo]%2Factions%2Fruns%2F2059613136&commit=[hash]&job=Lint+and+test&pr=&service=github-actions&slug=Kasparund%2FFiber_API&name=&tag=&flags=&parent=
[2022-03-29T15:52:27.223Z] ['info'] https://codecov.io/github/[Org]/[Repo]/commit/[commit-hash]
https://storage.googleapis.com/codecov/v4/raw/2022-03-29/[hash]/[id].txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=[credential]%2F20220329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220329T155227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=083f60c81f1b0734937350e3b6d712589c1d6a6f78674263b2656480d88df491
[2022-03-29T15:52:27.223Z] ['info'] Uploading...
[2022-03-29T15:52:27.446Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/[Org]/[Repo]/commit/[commit-hash]"}

Expected Results

Should see no 404.

Actual Results

Get always a 404.

@sbuechi can you share a commit SHA?

I think not it seems work properly, just the first couple commits did not integrate. Thanks!

1 Like

@sbuechi got it! Let me know if you run into any issues then.