openedx / openedx/.github

Fix codecov upload reliability issues

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4
Forks
33
Avg merge
3d 54m
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions failure and locate the workflow step that invokes the Codecov action. Compare the retry and removal options, including who relies on Codecov, then confirm that the chosen change prevents temporary Codecov failures from failing pull-request checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.