Skip to content

Fix silent codecov upload failures by authenticating with a repo token - #52

Merged
zeehio merged 1 commit into
masterfrom
claude/gcims-codecov-token-fix
Jul 12, 2026
Merged

Fix silent codecov upload failures by authenticating with a repo token#52
zeehio merged 1 commit into
masterfrom
claude/gcims-codecov-token-fix

Conversation

@zeehio

@zeehio zeehio commented Jul 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Every recent push to master's "Test coverage" step has been hitting Codecov's HTTP 429 rate limit for tokenless uploads. The job logs show: "Rate limit reached. Please upload with the Codecov repository upload token to resolve issue."
  • The step still reports success in CI, because covr::codecov() doesn't fail the step on a bad HTTP response — it just prints the error body. So coverage uploads have been silently broken.
  • Fix: pass CODECOV_TOKEN from a repo secret to the step's environment. covr::codecov() already knows to read this env var to authenticate the upload.

Requires a follow-up step outside this PR

This won't take effect until a CODECOV_TOKEN secret exists on the repo. Get it from codecov.io (the sipss/GCIMS repo's settings → upload token) and add it at github.com/sipss/GCIMS/settings/secrets/actions.

Test plan

  • Validated the updated check-bioc.yml parses as valid YAML
  • Confirm the next push to master (after the CODECOV_TOKEN secret is added) uploads to Codecov without a 429

Generated by Claude Code

Every recent push to master's Test coverage step has been hitting
Codecov's HTTP 429 rate limit for tokenless uploads (confirmed in the
job logs: "Rate limit reached. Please upload with the Codecov
repository upload token to resolve issue."), so coverage has silently
stopped reaching codecov.io even though the CI step reports success
(covr::codecov() doesn't fail the step on a bad HTTP response).

Passes CODECOV_TOKEN from a repo secret, which covr::codecov() already
knows to read. Requires adding a CODECOV_TOKEN secret (from codecov.io's
repo settings) at github.com/sipss/GCIMS/settings/secrets/actions before
this takes effect.
@zeehio
zeehio merged commit 963088b into master Jul 12, 2026
1 check passed
@zeehio
zeehio deleted the claude/gcims-codecov-token-fix branch July 12, 2026 10:32
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.

2 participants