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.

Inscrutable "Actions workflow run is stale" error

See original GitHub issue

I’m getting a lot of sporadic failures in reporting, possibly due to the number of parallel builds that are attempting to submit coverage reports.

The way my project is configured is to build the core tests, which takes about four minutes, then builds over twenty other integration tests, each of which takes five or more minutes. It seems as though we may be dancing right on the edge of some sort of limit, possibly due to my naive understanding of the after_n_builds option.

Unfortunately, Googling anything about {'detail': ErrorDetail(string='Actions workflow run is stale', code='not_found')} turns up nothing, so hopefully after now, at least people will find this issue.

Would you kindly explain how to either increase the timeout for when codecov is waiting for coverage segments, or if this is not the case, instruct on how to resolve this error?

Thank you for your assistance, as well as for an excellent product!

==> Uploading reports
    query: branch=update%2Fjackson-core-2.12.1&commit=5e16535e81483a6a07612ba10cfe32c328469103&build=598338763&,F,Q,Z,f
->  Pinging Codecov,F,Q,Z,f
{'detail': ErrorDetail(string='Actions workflow run is stale', code='not_found')}
==> Uploading to Codecov
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  182k  100    81  100  182k    400   904k --:--:-- --:--:-- --:--:--  904k
    {'detail': ErrorDetail(string='Actions workflow run is stale', code='not_found')}
Error: Codecov failed with the following error: The process '/usr/bin/bash' failed with exit code 1

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

thomasrockhucommented, Mar 21, 2021

@laurynas-biveinis I’m looking into making a patch for this. We should hopefully have that particular edge case fixed this week.

ChristophWurstcommented, Mar 23, 2021

I was having this problem and I found adding the Codecov token as a GitHub Actions secret helped.

Unfortunately for any github organization with a wider community this imposes a potential leakage of an access token, hence we at Nextcloud dropped our codecov tokens from the action because the readme says those are not required for public repositories.

Our current mitigation is to report coverage only for a few CI runs, though that can potentially lower the reported coverage as some paths are only triggered by certain tests in our matrix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inscrutable error message. · Issue #573 · kubernetes/kubectl
Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale . Stale issues rot after an additional 30d...
Read more >
GitHub Actions Day 8: Dealing with Stale Issues
When it runs, it will run the stale action which will look at the issues and pull requests in your repository and find...
Read more >
GitHub Action workflow not running - Stack Overflow
Whenever you add a new workflow, sometimes it may happen that workflow may not get into the running phase even after everything is...
Read more >
What don't you like about Oracle? - Ask TOM
I would appreciate better error messages sometimes - I can usually figure them ... workflow., ( data goes from one table to other...
Read more >
draft-ietf-mops-streaming-opcons-08 - Operational Considerations ...
That is, the client must not run out of data (buffer underrun) or accept more data than it can ... so that each...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found