Repository navigation
test(spring): [Sample Tests 43] Compile the Spring modules against their oldest Spring Boot version - #6383
Draft
runningcode wants to merge 1 commit into
Draft
test(spring): [Sample Tests 43] Compile the Spring modules against their oldest Spring Boot version#6383runningcode wants to merge 1 commit into
runningcode wants to merge 1 commit into
Conversation
…Boot version Since the matrix stopped rewriting the catalog, the SDK only compiles against the catalog's Spring Boot version, so nothing checked any more that it compiles against the oldest version of each line. An unguarded call to a newer API would only fail if a suite ran that code path. The Spring Boot matrix plugin now registers compileJavaBoot<oldest> in each of the six modules, compiling the main sources against a compile classpath resolved for the line's oldest version. The oldest version's aggregate depends on it, so the matrix workflows run it. Co-Authored-By: Claude <noreply@anthropic.com>
This was referenced Oct 26, 2026
Open
Open
Open
📲 Install BuildsAndroid
|
This branch has not been deployed
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.
PR Stack (Sample Tests)
main)📜 Description
Adds
compileJavaBoot<oldest>to each of the six Spring modules. It compiles the main Java sources against a compile classpath resolved for the oldest version of the line (2.7.0, 3.2.12 or 4.0.0), withcompileJava's compiler, release level and annotation processors. The oldest version's aggregate depends on it, so the matrix workflows run it.💡 Motivation and Context
Part of JAVA-802 (#6379). Since the previous PR, the SDK only compiles against the catalog's Spring Boot version. The catalog edit used to check, as a side effect, that it also compiles against the oldest version of each line. Without this task, an unguarded call to a newer API would only fail if a suite happened to run that code path.
💚 How did you test it?
ClientHttpRequestFactoryBuildertosentry-spring-boot-jakarta.compileJavaBoot3_2_12failed andcompileJavapassed.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
This is the last PR in the stack.
#skip-changelog
🤖 Generated with Claude Code