[DNM] ci(spring-boot): Parallelize Spring Boot matrix builds (JAVA-510)#5459
Draft
0xadam-brown wants to merge 1 commit into
Draft
[DNM] ci(spring-boot): Parallelize Spring Boot matrix builds (JAVA-510)#54590xadam-brown wants to merge 1 commit into
0xadam-brown wants to merge 1 commit into
Conversation
… jobs (JAVA-510) Prior to this commit, each Spring Boot matrix version ran all 5+ system tests sequentially in a single job (~45 min per version). A slow test blocked every test after it, and a build failure for one version had no clean failure isolation. What changed: - One build job per version compiles the SDK and samples, uploads JARs as a short-lived artifact - One test job per (version × sample config) cell downloads the artifact and runs a single test with --build false - A versions job is the single source of truth for the version list across all three workflows - The WAR servlet sample is extracted to its own job so it doesn't block or pad the main matrix - paths-ignore now correctly excludes all Android modules (not just sentry-android/) Result: The full SB2 matrix (7 versions × 5 configs = 35 jobs) runs in parallel. Wall-clock time drops from ~45 min × 7 sequential to ~15 min flat. Build failures are isolated per version; a single bad version no longer skips all others.
📲 Install BuildsAndroid
|
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.
📜 Description
Test PR for parallel Spring Boot matrix CI: per-version Gradle build jobs upload
sdk-build-sb*-{version}artifacts; matrix test jobs download them and runsystem-test-runner.pywith--build false.Changes only
.github/workflows/spring-boot-{2,3,4}-matrix.yml.💡 Motivation and Context
Reduces wall-clock time by splitting build and test across matrix cells and reusing build artifacts.
💚 How did you test it?
CI only — validating via Spring Boot 2.x / 3.x / 4.x Matrix workflows on this PR.
📝 Checklist
sendDefaultPIIis enabled.#skip-changelog
Made with Cursor