Repository navigation
Conversation
The KinD e2e job from oras-project#1913 runs the same Ginkgo suite, so the Docker-on-the-runner path in build.yml is redundant. Drop the Run E2E Tests step, the teste2e/teste2e-covdata make targets, and the now-unused e2e.sh, prepare.sh and common.sh scripts. Fixes oras-project#2188. Signed-off-by: Ashutosh Panda <[email protected]>
495768b to
12c713e
Compare
|
Thanks for picking this up — the premise holds up. I checked the parts that matter: One thing needs to ride along in this PR. The coverage floor
coverage:
status:
project:
default:
target: 75%
if_ci_failed: errorRemoving the e2e run drops the project below that floor, so Measured on
So the e2e suite contributes roughly 27 points. Worth noting the coverage was never a property of the Docker path itself: Suggested change — GitHub will not let me attach this as an applicable suggestion, since coverage:
status:
project:
default:
- target: 75%
+ # Temporarily lowered: the Docker-based e2e run contributed ~27 points of
+ # coverage, and the KinD job does not collect any yet.
+ # Restore to 75% with #2213.
+ target: 55%
if_ci_failed: error55% rather than 60% because codecov counts branch-partial lines against you (288 partials in the current report) while
Follow-ups filed so this is not lost: #2209 collects coverage from the KinD job, #2213 uploads it and restores the 75% target. One small thing
Also filed #2215 for two |
The Docker-based e2e run contributed roughly 27 points of the reported coverage, and the KinD job does not collect any yet, so the 75% floor would report a failure on every PR once this merges. Restore it to 75% with oras-project#2213. Also repoint the ORAS_REGISTRY_HOST comment in the k8s e2e job at test/e2e/internal/utils/init.go now that prepare.sh is gone. Signed-off-by: Ashutosh Panda <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2208 +/- ##
===========================================
- Coverage 88.14% 56.21% -31.93%
===========================================
Files 139 139
Lines 6015 6021 +6
===========================================
- Hits 5302 3385 -1917
- Misses 425 2427 +2002
+ Partials 288 209 -79 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Fixes #2188.
The KinD e2e job from #1913 runs the same Ginkgo suite, so the Docker-on-the-runner path was redundant. This drops the Run E2E Tests step from build.yml, removes the teste2e and teste2e-covdata make targets, and deletes the now-unused e2e.sh, prepare.sh and common.sh scripts (verified nothing else sources or calls them).
On the open questions in the issue: