Repository navigation
CI: shard coverage across 4 jobs + combine - #1795
Merged
Merged
Conversation
jlnav
force-pushed
the
fix/coverage-sharding
branch
from
October 19, 2026 13:15
f4a3cfa to
f6eebc5
Compare
jlnav
force-pushed
the
fix/coverage-sharding
branch
2 times, most recently
from
October 20, 2026 15:39
ad6476e to
50790c3
Compare
jlnav
force-pushed
the
fix/coverage-sharding
branch
from
October 28, 2026 19:41
50790c3 to
ea26647
Compare
Split canonical coverage suite (-l -m -e --coverage) round-robin across 4 matrix shards using --shard INDEX/4 (existing external sharding). Shard 0 runs unit+regression slice, shards 1-3 regression-only to avoid duplicating unit runtime. Each shard stages .cov*/.coverage* via find+cp --parents into cov_staging and uploads as coverage-data-N. New coverage-combine job downloads all shards, flat-copies into libensemble/tests, runs coverage combine + coverage xml, and uploads single coverage.xml to codecov. Cuts ~3-4x wall time; union is exact (105 standalone files round-robin, no gap/overlap). Also mirrors timings per-shard for debugging.
jlnav
force-pushed
the
fix/coverage-sharding
branch
from
October 29, 2026 14:51
ea26647 to
a1eb259
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1795 +/- ##
===========================================
- Coverage 88.99% 88.95% -0.04%
===========================================
Files 74 74
Lines 8793 8795 +2
Branches 1420 1421 +1
===========================================
- Hits 7825 7824 -1
- Misses 721 723 +2
- Partials 247 248 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The previous pattern '-name .cov* -o -name .coverage*' matched .coveragerc (via .coverage* prefix), causing coverage-combine to try to combine config files as sqlite databases (file is not a database). Switch to precise patterns (.cov_*, .coverage, .coverage.*) and explicitly exclude .coveragerc and .cov_merge_out* in both staging and combine. Also fix ls/find display to use .cov_*.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split canonical coverage suite (-l -m -e --coverage) round-robin across 4 matrix shards using --shard INDEX/4 (existing external sharding). Shard 0 runs unit+regression slice, shards 1-3 regression-only to avoid duplicating unit runtime.
Each shard stages .cov*/.coverage* via find+cp --parents into cov_staging and uploads as coverage-data-N. New coverage-combine job downloads all shards, flat-copies into libensemble/tests, runs coverage combine + coverage xml, and uploads single coverage.xml to codecov. Cuts ~3-4x wall time; union is exact (105 standalone files round-robin, no gap/overlap).
Also mirrors timings per-shard for debugging.