Skip to content

test(spring-boot): [Sample Tests 41] Drop Spring Boot 2.4 to 2.6 from the test matrix - #6381

Draft
runningcode wants to merge 1 commit into
no/integration-test-docsfrom
no/drop-boot-2.4-2.6
Draft

runningcode wants to merge 1 commit into
no/integration-test-docsfrom
no/drop-boot-2.4-2.6

Conversation

@runningcode

@runningcode runningcode commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

PR Stack (Sample Tests)


📜 Description

Drops Spring Boot 2.4.13, 2.5.15 and 2.6.15 from the Spring Boot 2 matrix, which now tests 2.7.0 and 2.7.18.

  • The Boot 2 suites no longer leave GraphQL and Kafka out below 2.7. bootSupportsGraphqlAndKafka, the conditional dependencies and the compile excludes are gone.
  • The comment on the suites' JVM 17 Kotlin pin now gives 2.7.0 (Spring 5.3.20) as the only reason for it.
  • The Kafka beans stay in a profile, so only the Kafka tests need a broker. The six comments that justified the profile with old-version support now say that instead.

💡 Motivation and Context

Part of JAVA-802 (#6379). Spring Boot 2.4 to 2.6 are long past end of life. They were the only reason for the gating, which would stand in the way of compiling the suites once and running them on each version's classpath in the next PR.

💚 How did you test it?

  • The six Boot 2 tasks pass locally on 2.7.18.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

#6382 moves the matrix to a Gradle task per version.

#skip-changelog

🤖 Generated with Claude Code

Spring Boot 2.4 to 2.6 are long past end of life. They were the only
reason the Boot 2 suites left GraphQL and Kafka out of their compilation
below 2.7, which stands in the way of compiling the suites once and
running them on each Boot version's classpath (JAVA-802).

The Kafka beans stay in a profile, so only the Kafka tests need a broker.

Co-Authored-By: Claude <noreply@anthropic.com>
@linear-code

linear-code Bot commented Oct 26, 2026

Copy link
Copy Markdown

JAVA-802

This was referenced Oct 26, 2026
@sentry

sentry Bot commented Oct 26, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.61.1 (1) release

⚙️ sentry-android Build Distribution Settings

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant