Skip to content

Fix codecov upload reliability issues #107

@robrap

Description

@robrap

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions