Skip to content

fix(codecov): upload coverage report#1017

Closed
shijiesheng wants to merge 4 commits intocadence-workflow:masterfrom
shijiesheng:fix-codecov
Closed

fix(codecov): upload coverage report#1017
shijiesheng wants to merge 4 commits intocadence-workflow:masterfrom
shijiesheng:fix-codecov

Conversation

@shijiesheng
Copy link
Copy Markdown
Member

What changed?

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Signed-off-by: Shijie Sheng <liouvetren@gmail.com>
@shijiesheng shijiesheng changed the title fix codecov github action fix(codecov): upload coverage report May 1, 2026
Signed-off-by: Shijie Sheng <liouvetren@gmail.com>
Signed-off-by: Shijie Sheng <liouvetren@gmail.com>
Signed-off-by: Shijie Sheng <liouvetren@gmail.com>
@gitar-bot
Copy link
Copy Markdown

gitar-bot Bot commented May 6, 2026

CI failed: The CI build is failing during the Codecov report upload because the repository does not support tokenless uploads. A valid `CODECOV_TOKEN` must be configured as a repository secret and provided to the action.

Overview

The build failed in the Upload coverage to Codecov step. The Codecov CLI returned a 400 Bad Request error specifically stating that a token is required, as the project does not support tokenless uploads.

Failures

Codecov Upload Failure (confidence: high)

  • Type: build
  • Affected jobs: 74688562850
  • Related to change: yes
  • Root cause: The GitHub Action is attempting a tokenless upload to Codecov, which is being rejected by the Codecov server.
  • Suggested fix: Add the CODECOV_TOKEN to your repository secrets in GitHub and update your workflow file (.github/workflows/codecov.yml) to pass this token using the token input parameter for the codecov/codecov-action.

Summary

  • Change-related failures: 1 (Codecov upload failure due to missing authentication token)
  • Infrastructure/flaky failures: 0
  • Recommended action: Configure the CODECOV_TOKEN in the repository settings and update the CI workflow configuration to utilize this secret during the coverage upload step.
Code Review ✅ Approved

Updates the GitHub Action configuration to properly handle Codecov report uploads and ensure CI failure on upload errors. No issues found.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@shijiesheng
Copy link
Copy Markdown
Member Author

It's fixed already after updating the token

@shijiesheng shijiesheng closed this May 6, 2026
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

Successfully merging this pull request may close these issues.

1 participant