ci: parallel build and jcstress jobs — ~50min → ~35min per PR, gates intact - #291
Merged
Conversation
The single serial job summed test (~15min) + jcstress (~30-35min) + jacoco to ~50min wall clock on every PR. The two workloads share nothing: jcstress is CPU-bound on its own forked JVMs. As parallel jobs the wall clock becomes max(~20, ~35) ≈ 35min with every gate intact - both jobs are required checks, so a concurrency regression still blocks the merge (deliberately NOT moved to nightly, which would weaken the PR gate). jacoco stays in the build job rather than a third parallel job: jacocoTestReport consumes the .exec execution data the test task writes in the same workspace; an isolated job would silently re-run the whole test suite to regenerate it.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #291 +/- ##
============================================
+ Coverage 79.26% 79.43% +0.16%
- Complexity 1032 1034 +2
============================================
Files 83 83
Lines 3560 3560
Branches 457 457
============================================
+ Hits 2822 2828 +6
+ Misses 546 542 -4
+ Partials 192 190 -2 ☔ View full report in Codecov by Harness. |
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.
Architecture-pass item #7. The serial job summed test + jcstress + jacoco; the two heavy workloads share nothing, so they now run as parallel required jobs: build (docs-check → spotless → build test → jacoco → codecov) and jcstress (the 4-module suite, 55-min wedge guard with its documented rationale carried over).
Two deliberate choices:
jacocoTestReportconsumes the test task's.execdata from the same workspace; isolating it would silently re-run every test. Two jobs is the correct maximum parallelism without duplicated work.