Repository navigation
ci(coverage): reuse test artifacts after partial reruns - #404
Conversation
|
No actionable comments were generated in the recent review.
|
|
@greptileai Review exact head |
[Medium impact] The PR appears safe to merge; no actionable defects were found.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
biggest-littlest
left a comment
There was a problem hiding this comment.
Checked the coverage resolver and workflow guards at f525b52. All named checks are green, CodeRabbit and Greptile covered this head without actionable findings, and Codecov confirms the intended-head upload. Keep the normal merge and release gates.
ALARGECOMPANY
left a comment
There was a problem hiding this comment.
Verified the exact-head CI and coverage evidence at f525b52: artifact12606536644, producer attempt2, one uploaded profile and a complete Codecov report. The bounded recovery passed; no gate, permission or protection was weakened.
Partial GitHub Actions reruns can reuse Build & Test from an earlier attempt. The Codecov job currently asks for an artifact named after its own attempt, so it can miss the existing profile and stay green without uploading anything. Run 40099590235 demonstrated this: the producer uploaded
go-test-40099590235-1, while the downstream rerun requestedgo-test-40099590235-2.Resolve the latest unexpired producer artifact at or before the current attempt, verifying the run and intended head, then download its exact artifact ID. Missing or empty coverage now produces an explicit error and skips the upload. The existing race/97% coverage floor, required Codecov patch check, job permissions and non-gating upload policy remain in place.
Validation: the full normal local pre-push gate passed on
f525b52d, including fresh Go race tests, all ten fuzz smoke targets, GoReleaser snapshot without publication or Docker, configured Qlty, Go/workflow linters, govulncheck, 192 combined contract tests plus eight website-header tests, static builds and both Lighthouse budgets. All eight focused artifact/profile regressions pass, including six first-failing artifact-selection cases, missing/empty/present profile guards and a no-op counterfactual. The resolver selected the real attempt-1 artifact in a read-only check of the original attempt-2 case. Hosted delivery on this implementation commit remains to be verified.Review scope: three CI/test files. Threat model is a public Go repository's CI reporting path; artifact metadata must identify the current run/head and is treated as data. This change does not alter runtime Docker authority or branch protection. Base is merged dev commit
48cb9a16from PR #402. The local ancestry-only restack preserved the previously tested tree; hosted delivery on this exact implementation head remains pending.Changelog
Concerns