Repository navigation
Conversation
Run test_base on 2 shards instead of 4 and muzzle on 4 instead of 8, check_inst and check_smoke on 2 instead of 4, fold the profiling and debugger checks into check_base, and run checkInstrumentationNaming and checkConfigurations in the spotless job. Every check and test still runs once; --continue keeps all failures reported in merged Gradle invocations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Contributor
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
Contributor
Author
|
Closing: the owner decided to keep a single, scoped CI PR for SDCT-1444. The |
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.
What Does This Do
Cuts about 2 runner-hours from every full GitLab pipeline (−7.5%) by running fewer, larger jobs where setup costs more than the work. Every check and test still runs exactly once, and the pipeline is not slower.
test_base(andtest_base_arm64): 2 shards per JVM instead of 4.muzzle: 4 shards instead of 8.check_instandcheck_smoke: 2 shards instead of 4.check_basealso runs the profiling and debugger checks (replacescheck_profilingandcheck_debugger).spotlessjob also runscheckInstrumentationNamingandcheckConfigurations(replacescheck-instrumentation-namingandconfig-inversion-linter).Motivation
Each GitLab job spends a fixed 3–6 minutes before doing any work: pod start, git clone and submodules, dependency-cache restore,
chownof.gradleand Gradle configuration. In one full pipeline,test_base [8, 1/4]ran about 160 s of tests in a 574 s job;muzzleand thecheck_*jobs spent about 3–3.5 minutes on setup on the shared runners. None of these jobs sets the pipeline's duration (test_basewas on the critical path in 9 of about 270 PR pipelines;muzzleandcheck_*almost never), so fewer shards save runner time without making the pipeline longer.Additional Notes
Results
Measured on DDCI with a control branch on the same base (97096d1, comment-only change in both, so both run the full suite), two rounds started at the same time:
test_basemuzzlecheck_inst+check_smokecheck_base+ profiling + debuggerspotless+ naming + config lintertest_baseshard and 3.8 min for a small shared-runner job, which matches the measured setup cost.test_base_arm64): about 6.6k job-hours per 28 days (about 2.5% of GitLab runner time).Tests
aggregate_test_countsidentical per job family and JVM (total, passed, failed, skipped) in both rounds: 483,751 tests per pipeline--continueon the merged Gradle invocations so one failing task doesn't hide the othersTrade-offs and limits
test_baseshards are p95 18.8 / max 27.3 min andmuzzleshards p95 8.3 / max 13.1 min; with about 6 min of fixed setup, merged shards should be about 32 min (p95) and 48 min (worst case) fortest_baseand about 11 min formuzzle, under the 1-hour job timeout. A retried flaky shard also reruns twice as many tests.test_base_arm64(manual on PRs), master/merge-queue rules, a run with planted failures in merged jobs, and thepopulate_dep_cachechange (scheduled pipeline only).check_profiling,check_debugger,check-instrumentation-namingandconfig-inversion-linterdisappear. The only required GitLab status isdd-gitlab/default-pipeline.Jira ticket: SDCT-1444
🤖 Generated with Claude Code