Repository navigation
Authenticate the Codecov upload - #215
Merged
Merged
Conversation
Uploads have been failing since 2026-09-12:
429 - {"message":"Rate limit reached. Please upload with the Codecov
repository upload token to resolve issue."}
Tokenless uploads from public repos are rate limited. codecov-action exits
0 on upload errors, so the job kept reporting success while Codecov's data
went stale - the badge has been showing coverage from two days and several
merges ago, including none of the work in #213 or #214.
Passes CODECOV_TOKEN, and sets fail_ci_if_error so a failed upload is
visible rather than silent. The silence is what let this go unnoticed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The v3 action bundles uploader 0.8.0, which only accepts the legacy 36 character UUID token and rejects today's 50 character tokens: Token found by environment variables with length 50 did not pass validation Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #215 +/- ##
============================================
+ Coverage 69.39% 77.83% +8.44%
- Complexity 246 298 +52
============================================
Files 37 37
Lines 941 961 +20
Branches 73 79 +6
============================================
+ Hits 653 748 +95
+ Misses 249 175 -74
+ Partials 39 38 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coverage uploads have been failing since 2026-09-12. Codecov's newest data is commit
e6922b5; everything merged since — including #213 and #214 — never reached it. That is why the badge still reads 69% after the selector fix.From the most recent run's log:
Two separate problems:
Tokenless uploads from public repos are rate limited. Codecov's own message names the fix: use a repository upload token.
The failure was invisible.
codecov-actionexits 0 on upload errors, so the job showed a green tick while the badge quietly went stale for two days and several merges.Change
fail_ci_if_errormatters as much as the token — without it the next upload problem is equally silent.CODECOV_TOKENis already set on the repo.Expected effect
The badge should move from 69% to ~82% on the first successful upload from
main, reflecting the 175 tests #214 brought into the job.Not addressed here
codecov-actionis onv3whilev5is current, and the run warns thatactions/cache@v3,actions/checkout@v2andactions/setup-java@v2are being forced onto Node 24 across all workflows. Worth a separate pass.🤖 Generated with Claude Code