Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix codecov upload reliability issues #107

Open
robrap opened this issue Dec 12, 2023 · 0 comments
Open

Fix codecov upload reliability issues #107

robrap opened this issue Dec 12, 2023 · 0 comments

Comments

@robrap
Copy link
Contributor

robrap commented Dec 12, 2023

Many PRs temporarily fail due to codecov upload failing in a flaky manner.

Here is an example failure: https://github.com/openedx/edx-drf-extensions/actions/runs/7182695502/attempts/2?pr=415

tests (ubuntu-20.04, 3.8, django42-drflatest)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255

Leading ideas to fix are:

  1. Implement a retry, or
  2. Drop codecov

If we decide to drop codecov (without replacing it), the implementation would be simple. However, a decision would need to be made and it needs to be understood where and who relies on codecov.

Another option is to fix this pain point, either temporarily (while a larger decision is being made), or more permanently. One (untested) solution might be https://github.com/Wandalen/wretry.action found in this Stackoverflow answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant