ci: reduce indy=true to one job per test type#15438
Merged
jamesfredley merged 1 commit intoapache:7.1.xfrom Feb 24, 2026
Merged
ci: reduce indy=true to one job per test type#15438jamesfredley merged 1 commit intoapache:7.1.xfrom
jamesfredley merged 1 commit intoapache:7.1.xfrom
Conversation
Instead of running indy=true for every Java version combination, run it only once per job type (Java 17) to maintain coverage without doubling the CI matrix size. - buildForge: 4 → 3 jobs (Java 17+21 indy=false, Java 17 indy=true) - functional: 6 → 4 jobs (Java 17+21+25 indy=false, Java 17 indy=true) - mongodbFunctional: 8 → 5 jobs (all indy=false, Java 17+MongoDB 7.0 indy=true) - hibernate5Functional: 4 → 3 jobs (Java 17+25 indy=false, Java 17 indy=true) Assisted-by: Claude Code <Claude@Claude.ai>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR optimizes CI job execution time by reducing the number of invokedynamic (indy) test configurations. Instead of testing indy=true with every Java version (as introduced in #15415), it now runs a single indy=true job per test type using Java 17 (the minimum supported version), while continuing to test indy=false with all Java versions.
Changes:
- Reduced total CI jobs from 22 to 15 across four job types (buildForge, functional, mongodbFunctional, hibernate5Functional)
- All jobs now use a consistent matrix pattern:
indy: [false]in the base matrix with anincludeentry for Java 17 withindy: true - MongoDB functional tests pin MongoDB 7.0 for the indy=true job
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jdaugherty
approved these changes
Feb 24, 2026
Contributor
Author
|
This reduces the chances of a "fake" failure by 7. |
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.
Summary
Follow-up to #15415. Instead of pairing `indy=true` with every Java version, run a single `indy=true` job (Java 17) per test type alongside all the existing `indy=false` combinations.
Job count change
buildForgefunctionalmongodbFunctionalhibernate5FunctionalThe single
indy=truerun per job type uses Java 17 (minimum supported version). FormongodbFunctionalit also pins MongoDB 7.0.Relates to #15321, follow-up to #15415