Skip to content

GitHub Actions upload failure: Failed to properly create report (status code 202, "msg": "Field required") #577

@lbianchi-lbl

Description

@lbianchi-lbl

Describe the bug

Report upload using codecov/codecov-action@v4 on a PR fails with a 202 error code:

error - 2024-11-13 20:17:01,906 -- Report creating failed: [{"input":{"branch":"johnson12742/watertap:johnson12742:looptool_doc","commit_id":"148cb19abef99b1af0b68f3a20a120f042d6c78a","repo_id":13222320,"repo_name":"watertap"},"loc":["id"],"msg":"Field required","type":"missing","url":"https://errors.pydantic.dev/2.4/v/missing"}]

Environment (please complete the following information):

Environment: GitHub Actions (codecov/codecov-action@v4)

Runner information:

Operating System
  Ubuntu
  22.04.5
  LTS
Runner Image
  Image: ubuntu-22.04
  Version: 20241103.1.0

codecov/codecov-action@v4 configuration:

https://github.com/watertap-org/watertap/blob/532ce63868ca0dc949731866a7caa4e9d8c468ac/.github/workflows/checks.yml#L163-L172

To Reproduce

Use codecov/codecov-action@v4 in a GitHub Actions workflow (triggered by a pull_request event) for a public repository

Expected behavior
The upload process completes successfully

Screenshots
Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions