[2023-12-04T15:47:46.155Z] ['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')}
What is changing: Use https://github.com/Wandalen/wretry.action to retry https://github.com/codecov/codecov-action. Inspired by https://github.com/xdslproject/xdsl/pull/1288.
Why this change is being made: The codecov action fails often:
But succeeds eventually on retry: https://github.com/tagatac/bagoup/actions/runs/7089000221/job/19293933175#step:7:34
Related issue(s): https://github.com/codecov/codecov-action/issues/926
Follow-up changes needed: Remove this when https://github.com/codecov/codecov-action/issues/926 is resolved (or Github Actions offers a built-in retry mechanism for actions).
Is the change completely covered by unit tests? If not, why not?: N/A