Repository navigation
ci(coverage): upload Go coverage to Codecov via OIDC - #150
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe CI workflow adds a Merge Risk: ⚪ Minimal · up to The PR adds a non-gating, tokenless Codecov upload job without changing required build or test behavior; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Deployment failed for project getportwing with the following error: |
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
CodesWhat/.github/.github/workflows/go-ci.yml), so this doesn't touch that job directly. Instead, a new non-gating📊 Coverage: Codecov Uploadjob inci-verify.ymlneeds: go-ci, downloads thego-test-${{ github.run_id }}-${{ github.run_attempt }}artifact (which already carriescoverage.outfromscripts/ci/go-test.sh, uploadedif: always()), and uploads it viacodecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f(v7.0.0).use_oidc: true, job-levelid-token: writeonly — no workflow-level grant, noCODECOV_TOKENto store or rotate).fail_ci_if_error: falsepluscontinue-on-error: trueon both the artifact download and the upload step, so a Codecov hiccup can never flake the requiredBuild & Testcontext. The job is named distinctly (📊 Coverage: Codecov Upload) so it can't collide with any required status check.codecov/codecov-action'saction.yml/dist/codecov.shat the pinned SHA):api.codecov.io,cli.codecov.io(CLI download + version + SHA256SUM),keybase.io(GPG signature verification of the downloaded CLI),storage.googleapis.com(report upload), plusgithub.com/api.github.com/results-receiver.actions.githubusercontent.comfor checkout and the Artifacts v4/v8 download.### Addedbullet under[Unreleased].Context
portwing shipped a Codecov ratchet at v0.5.0 (
3278707) and reversed it days later in#35(5baaefd) when the org briefly consolidated coverage on Qlty Cloud. Codecov's dashboard for this repo still shows that fossil: exactly four uploads, all from 2026-06-23, frozen at 73.5%. This PR replaces that stale snapshot with a live, continuously-updating pipeline — expect the badge/number to move on the first successful run here.Test plan
actionlint .github/workflows/ci-verify.yml— cleanzizmor .github/workflows/ci-verify.yml(offline mode) — no findings📊 Coverage: Codecov Uploadjob succeeding and a fresh upload landing in CodecovChangelog
codecovjob aftergo-ci.coverage.outupload through pinned Codecov action.Concerns