Repository navigation
ci: build the maven-verify job with two threads - #1638
Merged
Merged
Conversation
joaodinissf
force-pushed
the
ci/maven-verify-parallel
branch
from
November 20, 2026 09:22
6ba830b to
cead295
Compare
rubenporras
approved these changes
Nov 20, 2026
rubenporras
approved these changes
Nov 20, 2026
The job runs the reactor with -T 2, so two modules build and run their static analysis at a time. Test runtimes still take turns through the Surefire reactorConcurrencyLevel lock. Measured on the 4 vCPU runner over three runs each, the Build with Maven step took 654-738 s serial, 618-633 s with -T 2, 603-662 s with -T 1C and 613-913 s with -T 2C. With -T 2 the tests run at serial speed; -T 1C slows them by about 10-20% and -T 2C overloads the runner. Co-Authored-By: Claude Fable 5.2 <[email protected]>
joaodinissf
force-pushed
the
ci/maven-verify-parallel
branch
from
November 20, 2026 16:22
cead295 to
610f5a4
Compare
joaodinissf
marked this pull request as ready for review
November 20, 2026 16:23
joaodinissf
enabled auto-merge
November 20, 2026 16:24
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.
The
maven-verifyjob runs the reactor with-T 2, so two modules build and run PMD, Checkstyle and SpotBugs at a time. Test runtimes still take turns through the SurefirereactorConcurrencyLevellock.Measurements
Build with Mavenstep on the 4 vCPU, 16 GB runner, three runs per setting on the same commit:-T 2-T 1C-T 2C-T 2Clog was not saved)-T 2saves about 45-60 s per run and leaves the tests at serial speed.-T 1Cbuilds in about the same time but slows the tests by about 10-20%.-T 2Coverloads the runner and was slower than serial in two of three runs.Every build passed with surefire reports for all 98 test classes (490 tests, 2 skipped) and no kernel out-of-memory kills.
🤖 Generated with Claude Code