question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please upload with the Codecov repository upload token to resolve issue

See original GitHub issue

Hi Chris,

Problem

There are some problems with Codecov coverage uploads [1] we already experienced and resolved just recently at https://github.com/crate/crate-python/pull/451. I’ve also discovered it here, on behalf of the CI outcome of #711.

[2022-10-24T20:43:15.807Z] ['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')}

Solution

Can I ask you to add an item CODECOV_TOKEN to the secrets store at https://github.com/caronc/apprise/settings/secrets/actions, using the Codecov token which can be found at https://app.codecov.io/gh/caronc/apprise/settings?

With kind regards, Andreas.

[1] https://github.com/caronc/apprise/actions/runs/3316042793/jobs/5477373760#step:12:43

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
amotlcommented, Nov 1, 2022

Dear Chris,

we will not have to roll back everything, I believe. Testing on CI works just fine, and also coverage tracking and reporting. There is only a slight issue when uploading the coverage reports to Codecov.

It is not that uploading never works, it actually works most of the time. There is only a slight flakyness when some rate-limiting hits the fan. I think it is acceptable for now, unless we observe any worsening on this very topic.

To reduce flakyness on the rare occasions where the rate-limiting prevents uploads, there is an advice to use the Codecov token for uploading, even on public repositories. The only drawback is that this does not work for PRs submitted from repository forks.

On this matter, when it really gets worse, I believe it would be sufficient to re-add Travis CI only for some slots, like Python 3.11 full + bare, only for the purpose of uploading coverage reports.

With kind regards, Andreas.

1reaction
amotlcommented, Oct 30, 2022

Yay! ^1 now says:

Token found by environment variables

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Unable to locate build via Github Actions API" after ...
Please upload with the Codecov repository upload token to resolve issue.', code='not_found')} ['error'] There was an error running the ...
Read more >
Github Actions POST upload 404 - Codecov
Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}. Seems to be a random failure.
Read more >
code coverage - codecov fails in github actions
In my case what fixed the builds was to change the "alpine" to "linux" in the uploader link and explicitly providing an environmental...
Read more >
How to Set Up Codecov with C and GitHub Actions in 2022
Choose the repository you just created to link it with Codecov. You will be presented with an upload token. Codecov screen with the...
Read more >
Statuses/Checks Not Displaying on Pull Request/Merge ...
If statuses or GitHub Checks are not displaying on your pull request or merge request, the first step is to ensure the uploader...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found