fix: retry attestation verification on transient GitHub API errors#2687
fix: retry attestation verification on transient GitHub API errors#2687
Conversation
GitHub's attestation API occasionally returns HTTP 5xx errors, causing `gh attestation verify` to fail and block CLI upgrades. Retry up to 3 times with backoff when the output indicates a transient server error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Coverage Impact - ubuntu-latest ⬇️ Merging this pull request will decrease total coverage on Modified Files with Diff Coverage (1)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
|
Coverage Impact - macos-15 ⬇️ Merging this pull request will decrease total coverage on Modified Files with Diff Coverage (1)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|

Summary
gh attestation verifyduringqlty upgradeoccasionally fails due to transient HTTP 5xx from GitHub's attestation APIHTTP 5orconnection resetTest plan
cargo checkpassescargo testpassesqlty upgrade --verify-attestationssucceeds on a valid release🤖 Generated with Claude Code