Closed Misty-W closed 5 months ago
Can you link to an example of this happening?
There might be more, these are two I could find in the recent workflow history.
Looks like codecov is aware of this issue and is working on a fix: https://github.com/codecov/feedback/issues/126.
Editing the title since even though it seems to be related to python 3.10, I don't think it really is.
Thanks for looking into this @natestemen! As a temporary workaround we could consider adding a retry if upload fails, which is what Codecov seems to recommend. Right now our workflow doesn't allow us to retry upload by itself, so the whole test has to be re-run and can only be re-run after all others finish (which is another matter).
Can you link to where that's recommended? From what I see they are recommending using a token: https://github.com/codecov/feedback/issues/126. This has the downside of not running on PRs opened from forks. The other option is to make the token public, which is not ideal, but could be okay if we really want to close this.
I'm fine with re-running the tests occasionally and so happy to wait for an upstream fix. Understand if you/others want a quicker fix, however.
This should hopefully be fixed by https://github.com/unitaryfund/mitiq/pull/2271. Will close for now, and reopen if the token doesn't fix the issue.
cc @cosenal @nathanshammah
Codecov upload fails intermittently on python 3.10
Error message: