Repository navigation
build(ci): build a reduced matrix on pull requests - #2011
Merged
Merged
Conversation
Every push to a pull request queued 8 jobs on the shared ASF runner pool. Pull requests now build JDK 17 (the required check) and JDK 25 with Jakarta EE 11, covering the oldest JDK and the newest stack; pushes to the long-lived branches still build the full matrix. OWASP runs on a pull request only when it changes a pom.xml, the suppression file or the workflow itself. It is not a required check, so the path filter cannot leave a pull request waiting on it. A pull request push now queues 4 jobs instead of 8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lukaszlenart
marked this pull request as ready for review
October 14, 2026 11:41
|
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.



Why
GitHub Actions jobs here spend 30–90 minutes queued on the shared ASF runner pool and 1–7 minutes running. Each push to a pull request queued 8 jobs. This PR halves that.
It complements #2010, which removes the separate
changesjob so that each job queues once instead of twice. The two are kept apart so that each one's effect is visible on its own.What changes
java×profiledimensions. The JDK 17 + Jakarta EE 11 combination is excluded, which leaves the same 5 combinations and the same check names as before.-Pjakartaee11. That covers the oldest JDK and the newest stack.main/develop/release/*/support/*andworkflow_dispatchstill build all 5 combinations.pom.xml,src/etc/project-suppression.xmlor the workflow itself changes. It isn't a required check, so the path filter can't leave a PR blocked. All dependencies are declared inpom.xmlfiles.A PR push now queues 4 jobs instead of 8: JDK 17, JDK 25 + Jakarta EE 11, CodeQL and Sonar.
Trade-offs
main, not on unrelated PRs.Verification
actionlintis clean.mainbuild after merge, or earlier with aworkflow_dispatchon this branch.🤖 Generated with Claude Code