You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: upload e2e coverage to codecov and restore the 75% project target #2213
Follow-up to #2208. Blocked on #2209 — unblocked: #2209 was fixed by #2340, so the e2e-k8s job now writes test/e2e/coverage.txt and uploads it as the e2e-coverage-go<version> artifact (72.3% e2e-only in that PR's CI run).
#2208 removes the e2e coverage contribution — roughly 27 points by a local go test -coverpkg=./... measurement (88.14% → ~61%) — so it lowered that target to 55% to keep CI green. As Codecov counts it, the unit-only project sits at 74.89% (base 61097e9, per the Codecov report on #2340), just under the 75% floor. Now that #2209 produces test/e2e/coverage.txt in the e2e-k8s job, the upload and the target restore should land together.
Proposed work
Add a codecov/codecov-action step to .github/workflows/e2e-k8s.yml, pinned to a commit SHA per the convention in every other workflow (see ci: pin e2e-k8s.yml action refs to commit SHAs #2210). Codecov merges multiple uploads for the same commit, so no cross-job artifact passing is needed.
Set codecov.notify.after_n_builds: 2 in .github/.codecov.yml (key confirmed valid via codecov.io/validate), plus comment.after_n_builds: 2 so the PR comment also waits for both uploads. Without it, build will usually land its unit-only report first and codecov will post a failing codecov/project status before the e2e-k8s upload arrives and corrects it, giving flapping red checks on every PR. Because unit-only is already just below 75%, this would hit essentially every PR.
Restore target: 75%.
Step 3 has to be in the same PR as step 1. The coverage and the floor must move atomically, or there is a window where main is red.
Acceptance
codecov/project and codecov/patch green on the PR, with the codecov commit page showing two upload sessions and a total back near the pre-#2208 88.14%.
I'd like to work on this follow-up to #2340. I'll add the KinD coverage upload using the same pinned Codecov action/authentication as build.yml, restore the 75% project target in the same change, and delay statuses and PR comments until two uploads have been processed. I'll validate the YAML and failure/missing-report behavior, and report fork-upload authentication and live Codecov verification separately. AI assistance will be used and disclosed in the PR.
Activity
Lower the codecov project target to 55% until KinD coverage lands
sinbumu commentedon Nov 18, 2026
I'd like to work on this follow-up to #2340. I'll add the KinD coverage upload using the same pinned Codecov action/authentication as build.yml, restore the 75% project target in the same change, and delay statuses and PR comments until two uploads have been processed. I'll validate the YAML and failure/missing-report behavior, and report fork-upload authentication and live Codecov verification separately. AI assistance will be used and disclosed in the PR.