codecov / feedback

A place to discuss feedback about the pull request and web product experience.
38 stars 9 forks source link

429 error on upload #448

Closed brotherlogic closed 4 months ago

brotherlogic commented 4 months ago

Describe the bug I'm getting a consistent 429 error on uploading coverage results from a public github repo

Environment (please complete the following information):

To Reproduce Upload coverage to CodeCov

Expected behavior Upload accepted

Screenshots [2024-07-24T13:39:06.387Z] ['info'] => Project root located at: /home/runner/work/gramophile/gramophile [2024-07-24T13:39:06.391Z] ['info'] -> No token specified or token is empty [2024-07-24T13:39:06.399Z] ['info'] Searching for coverage files... [2024-07-24T13:39:06.449Z] ['info'] Warning: Some files located via search were excluded from upload. [2024-07-24T13:39:06.449Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats [2024-07-24T13:39:06.449Z] ['info'] => Found 1 possible coverage files: coverage.out [2024-07-24T13:39:06.449Z] ['info'] Processing /home/runner/work/gramophile/gramophile/coverage.out... [2024-07-24T13:39:06.485Z] ['info'] Detected GitHub Actions as the CI provider. [2024-07-24T13:39:06.676Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.6-uploader-0.7.3&token=*******&branch=remove_update&build=10077614133&build_url=https%3A%2F%2Fgithub.com%2Fbrotherlogic%2Fgramophile%2Factions%2Fruns%2F10077614133%2Fjob%2F[27](https://github.com/brotherlogic/gramophile/actions/runs/10077614133/job/27861021791#step:5:28)861021791&commit=baec034d9d19f0ccf624de80fe67662b18c36c6d&job=Code+Coverage&pr=1148&service=github-actions&slug=brotherlogic%2Fgramophile&name=&tag=&flags=backend%2Cqueue&parent= [2024-07-24T13:39:06.930Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 429 - {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1334s.', code='throttled')} [2024-07-24T13:39:06.931Z] ['info'] Codecov will exit with status code 0. If you are expecting a non-zero exit code, please pass in the -Z flag

My runner:

name: Code Coverage

on: pull_request:

The branches below must be a subset of the branches above

  branches: [ main ]

jobs: build: runs-on: ubuntu-latest steps:

brotherlogic commented 4 months ago

Ah, switching to the v4 uploader seems to be working