From 22190e4a0af46e37818b0d6184e2aafe0c668916 Mon Sep 17 00:00:00 2001 From: dudiedri Date: Mon, 14 Sep 2026 01:20:27 +0300 Subject: [PATCH 1/2] Authenticate the Codecov upload 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 --- .github/workflows/codecov.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 67985a3..74f0974 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -48,3 +48,9 @@ jobs: run: mvn '-Dtest=!*Mainnet*,!*Preprod*' -B test -Dgpg.skip - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 + with: + # Tokenless uploads from public repos are rate limited; without this the + # upload fails with 429 and, because the action exits 0 on upload errors, + # the job still reports success while the badge silently goes stale. + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true From c3c33a25196bd13261a3d7da2c07445a3d0fbb1c Mon Sep 17 00:00:00 2001 From: dudiedri Date: Mon, 14 Sep 2026 01:23:59 +0300 Subject: [PATCH 2/2] Upgrade codecov-action to v5 for the current token format 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 --- .github/workflows/codecov.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 74f0974..0022fbf 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -47,7 +47,10 @@ jobs: # coverage was ever reported. run: mvn '-Dtest=!*Mainnet*,!*Preprod*' -B test -Dgpg.skip - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + # v5 is required for the current Codecov token format: the uploader bundled + # with v3 only accepts the legacy 36 character UUID and rejects today's + # 50 character tokens with "did not pass validation". + uses: codecov/codecov-action@v5 with: # Tokenless uploads from public repos are rate limited; without this the # upload fails with 429 and, because the action exits 0 on upload errors,