Open bsipocz opened 6 months ago
There is a long standing upstream feature request for this here: https://github.com/codecov/codecov-action/issues/926
It also links to many implemented workarounds, so I strongly suggest to adopt one of those instead (e.g. wrapping it all in a retry action) of waiting for an upstream, out-of-the box fix.
This should be an easy starter issue for a newcomer.
cc @rosteen since he was just struggling with this same problem over at jdaviz
.
Thanks for the info, @bsipocz ! I will investigate.
Looking at the linked issue, I see two possible ways forward. Example implementations of each:
I am leaning towards Option 1 for both astropy
and jdaviz
. What do you think, @bsipocz and @rosteen ?
The first one is fine, I think basically anything is fine that avoids rerunning the tests because of an upload error.
Huh, I think for astropy
, I actually have to patch the OpenAstronomy workflow (https://github.com/OpenAstronomy/github-actions-workflows/pull/199), but not for jdaviz
(https://github.com/spacetelescope/jdaviz/pull/2865).
@astrofrog reverted my attempt to address this at https://github.com/OpenAstronomy/github-actions-workflows/pull/206
Also it never quite work because of a token failure that I cannot understand: #16535
So, for now, just check the logs diligently if you want to know if the upload really happened or not.
Recently the coverage status upload ran into a github rate limit, but this didn't change the status of the job from green to red, instead generated false coverage % that sent us on a bit of a wild goose chase. Ideas how to improve CI: