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’)]
https://github.com/userfrosting/support/runs/1931752486?check_suite_focus=true#step:6:38