Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov Runs Fail to Upload #230

Closed
mborland opened this issue Apr 17, 2024 · 1 comment
Closed

Codecov Runs Fail to Upload #230

mborland opened this issue Apr 17, 2024 · 1 comment

Comments

@mborland
Copy link
Member

About a week ago I started getting the following error on all codecov runs using the template from this repo:

[2024-04-17T07:45:14.013Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
[2024-04-17T07:45:14.013Z] ['verbose'] The error stack is: Error: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
    at main (/snapshot/repo/dist/src/index.js)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2024-04-17T07:45:14.013Z] ['verbose'] End of uploader: 620 milliseconds

Full run-log can be found here: https://github.com/boostorg/charconv/actions/runs/8718129486/job/23914698681?pr=183

I have seen run into this on both charconv and multiprecision. It looks like the only recent upload to codecov is URL which uploads using drone instead of Github Actions: https://app.codecov.io/gh/boostorg

@Flamefire
Copy link
Collaborator

For such cases it requires token to be used due to rate limitting by GitHub. See

token: ${{secrets.CODECOV_TOKEN}}
which I documented in the Readme

Also using the official uploader action might help. For that the token can be passed as an "argument" else it needs to be set in an environment variable.

Besides that we can't do anything else from our site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants