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

Fix: codedev workflow failing #24

Closed
chrisdicaprio opened this issue Nov 27, 2023 · 2 comments
Closed

Fix: codedev workflow failing #24

chrisdicaprio opened this issue Nov 27, 2023 · 2 comments
Assignees

Comments

@chrisdicaprio
Copy link
Collaborator

The run-tests.ymlwokflow is failing when submitting coverage report:

[2023-11-27T19:06:00.937Z] ['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')}
[2023-11-27T19:06:00.937Z] ['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)
[2023-11-27T19:06:00.937Z] ['verbose'] End of uploader: 552 milliseconds
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255

The fix may be to get a Codecov upload token:
https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
https://docs.codecov.com/docs/codecov-uploader#upload-token

@chrisbc
Copy link
Member

chrisbc commented Nov 27, 2023

Did some digging ....it looks like that's a known issue - intermittent fails with codecov due to API trottling. The fix is to add an API token to the config. I'll probably need to fluff about getting this working, so maybe we can park until I return. I see your solvis release was sucessful

codecov/codecov-action#557 (comment)

@chrisbc chrisbc self-assigned this Nov 27, 2023
@chrisbc chrisbc closed this as completed Apr 30, 2024
@chrisdicaprio chrisdicaprio reopened this Jun 4, 2024
@chrisbc
Copy link
Member

chrisbc commented Jul 3, 2024

udpated to latest codecvo script using CODECOV_TOKEN secret

@chrisbc chrisbc closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants