Coverage upload failed (HTTP 404)

Open
#16 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github-actions, python, ruby
Domain
ci-cd, testing

Research direction

Start by reproducing the actions/upload-code-coverage@v1 workflow step with coverage/coverage.xml and the listed commit, ref, pull request, language, and label parameters. Trace the HTTP 404 response and compare it with the action's expected upload inputs. Done means the Ruby coverage report uploads successfully without the workflow failing.

Written by the indexing model from the issue text.

Description

Running actions/upload-code-coverage fails with the following error message:

Error: Coverage upload failed (HTTP 404): Not Found. To treat upload errors as warnings, add 'fail-on-error: false' to the action inputs.
Error: Process completed with exit code 1.

The action is configured as such:

- name: upload coverage report
  if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
  uses: actions/upload-code-coverage@v1
  with:
    file: coverage/coverage.xml
    language: ruby
    label: coverage

And these are the recognized parameters the action runs with:

commit_oid: 578fc6d9cad30bcc31100837764e1fc08b50ad11
ref: refs/heads/remove-codecov
pr_number: 256
language: ruby
label: coverage
file: coverage/coverage.xml (8687 bytes)
Dominant language
Python
Stars
99
Forks
20
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from actions/upload-code-coverage

All issues in actions/upload-code-coverage

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.