Too many uploads to this commit

Description

When uploading a report using GitHub Actions, I get the Too many uploads to this commit error. This happens mostly for my actions that are on a Cronjob. The example below applies to one repo, but this happened with all my repos in the last 2-3 weeks (private and public repos).

Commit SHAs

c9310f45e555e99626bd6effb66c4ce66feafaa8

Repository

CI/CD or Build URL

Uploader

GitHub Actions (codecov/codecov-action@v1)

Codecov Output


7
  _____          _
8
 / ____|        | |
9
| |     ___   __| | ___  ___ _____   __
10
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
11
| |___| (_) | (_| |  __/ (_| (_) \ V /
12
 \_____\___/ \__,_|\___|\___\___/ \_/
13
                              Bash-20210129-7c25fce
14

15

16
==> git version 2.30.0 found
17
==> 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
18
Release-Date: 2020-01-08
19
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
20
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
21
==> GitHub Actions detected.
22
    project root: .
23
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
24
    -> Found 1 reports
25
==> Detecting git/mercurial file structure
26
==> Reading reports
27
    + ./_meta/coverage.xml bytes=19981
28
==> Appending adjustments
29
    https://docs.codecov.io/docs/fixing-reports
30
    + Found adjustments
31
==> Gzipping contents
32
        4.0K	/tmp/codecov.Fys0Pg.gz
33
==> Uploading reports
34
    url: https://codecov.io
35
    query: branch=master&commit=c9310f45e555e99626bd6effb66c4ce66feafaa8&build=579923383&build_url=http%3A%2F%2Fgithub.com%2Fuserfrosting%2Fsupport%2Factions%2Fruns%2F579923383&name=&tag=&slug=userfrosting%2Fsupport&service=github-actions&flags=&pr=&job=Build&cmd_args=n,F,Q,Z,f
36
->  Pinging Codecov
37
https://codecov.io/upload/v4?package=github-action-20210129-7c25fce&token=secret&branch=master&commit=c9310f45e555e99626bd6effb66c4ce66feafaa8&build=579923383&build_url=http%3A%2F%2Fgithub.com%2Fuserfrosting%2Fsupport%2Factions%2Fruns%2F579923383&name=&tag=&slug=userfrosting%2Fsupport&service=github-actions&flags=&pr=&job=Build&cmd_args=n,F,Q,Z,f
38
[ErrorDetail(string='Too many uploads to this commit.', code='invalid')]
39
400
40
Error: Codecov failed with the following error: The process '/usr/bin/bash' failed with exit code 1

Expected Results

Upload success

Actual Results

400 error : [ErrorDetail(string=‘Too many uploads to this commit.’, code=‘invalid’)]

@tom we have been receiving the same error since about the same time frame on zlib-ng.

Reduce number of mingw i686 parallel test runs due to wine errors. · nmoinvaz/zlib-ng@5af07ed (github.com)

.github: Test with old gcc and clang by using oldest supported ubuntu. · zlib-ng/zlib-ng@43eecaf

It happens in our forks and also in the main repository. It happens in only one of the CI instances, and the instance that fails is not consistent every time.

This issue also seems to be reported here:
CI failure due to - Too many uploads to this commit - Support - Codecov

Also reported at Codecov upload failing with 'Too many uploads to this commit.' · Issue #38 · altendky/ssst · GitHub and Getting error: [ErrorDetail(string='Too many uploads to this commit.', code='invalid')] · Issue #228 · codecov/codecov-action · GitHub. It happens only in one of my repositories (ssst) and I do have other repos doing nightly builds with more jobs (qtrio).

Hi all, we have rolled out a fix for the Too many uploads issue. Please let me know if you still experience it.

As posted in the other thred.

Got the Actions workflow run is stale on one repo and the too many upload on another one, but all other repos (~6-8 of them) I re-run the build and they where fine.

See here :

FYI, rerun workflow on three of my repos. Two passed, too many uploads on the 3rd.

@lcharette, I believe this is because you do have too many uploads (e.g. uploads)

We have fixed an issue on our side that was not properly alerting users to this issue.

Hum… would be interesting to be documented on your side. And I guess it would make sense for Cron Jobs to exclude Coverage uploads…

1 Like

I haven’t seen it anymore in recent CI runs. Thank you!

1 Like