Work around Codecov upstream key-import outage - #55
Open
applesnort wants to merge 2 commits into
Open
Conversation
The coverage job's Codecov upload has been failing intermittently with "Could not verify signature. ... Can't check signature: No public key" -- confirmed as codecov/codecov-action#1955: the action's default CLI download path verifies a GPG signature against a key fetched from https://keybase.io/codecovsecurity/pgp_keys.asc, which has been returning 404 since ~2026-06-06. This is an outage on Codecov's side, not specific to this repo, and reproduces on the latest action version (v7.0.0) -- upgrading or retrying does not help. `use_pypi: true` is the maintainer-confirmed workaround: it sources the CLI from PyPI instead, skipping the broken key-import step entirely. Verified the Keybase URL is still returning 404 as of this commit.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #55 +/- ##
=======================================
Coverage 94.06% 94.06%
=======================================
Files 4 4
Lines 236 236
=======================================
Hits 222 222
Misses 14 14 Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
The previous commit's comment cited codecov/codecov-action#1955 and its dead codecovsecurity Keybase URL as the direct cause. Checked dist/codecov.sh at our pinned SHA (v7.0.0) directly: it actually fetches from a different host, codecovsecops, which resolves fine with a valid key when checked directly right now. So the failures observed here (twice, before this fix) are better explained as a transient failure somewhere in that external key-retrieval path, not the same dead URL from #1955 -- similar class of problem, not the same bug. Trimmed the in-file comment to the essentials; the full detail lives in the PR description and commit history instead of duplicated inline.
applesnort
force-pushed
the
fix/codecov-upload
branch
from
July 25, 2026 22:31
89d8e56 to
ff95fcb
Compare
davidlehn
reviewed
Jul 27, 2026
davidlehn
left a comment
Member
There was a problem hiding this comment.
We should wait for them to fix the underlying issue. It's too much churn to fix all our repos like this. Since this isn't all that critical, it's easier to let it fail or rerun until it works.
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.
Summary
Upload coverage to CodecovwithCould not verify signature ... Can't check signature: No public key.dist/codecov.shat our pinned SHA (v7.0.0) directly: it fetches fromhttps://keybase.io/codecovsecops/pgp_keys.asc, which resolves fine with a valid key when checked directly right now -- so this looks like a transient failure somewhere in that external retrieval path on the runs that failed, not a permanently dead link.use_pypi: truesources the CLI from PyPI instead, skipping the whole key-import/verification path, so it doesn't matter whether that retrieval is having a moment. Note this does bypass Codecov's normal integrity check on the CLI -- an availability fix, not a security-neutral one.codecov/codecov-action, so likely worth applying elsewhere too, though scope there hasn't been individually confirmed.Test plan
https://keybase.io/codecovsecops/pgp_keys.asc(the URL our pinned v7.0.0 actually uses) currently resolves with a valid key