Skip to content

ci: Fix Spring Boot matrix version updates#5372

Draft
adinauer wants to merge 4 commits intomainfrom
ci/fix-spring-boot-matrix-version-sed
Draft

ci: Fix Spring Boot matrix version updates#5372
adinauer wants to merge 4 commits intomainfrom
ci/fix-spring-boot-matrix-version-sed

Conversation

@adinauer
Copy link
Copy Markdown
Member

@adinauer adinauer commented May 6, 2026

📜 Description

Fix the Spring Boot 2.x, 3.x, and 4.x matrix workflows so their version override matches the TOML version catalog format.

The workflows now preserve whitespace around the assignment and replace the quoted Spring Boot version value in gradle/libs.versions.toml.

💡 Motivation and Context

The existing sed expressions looked for keys without spaces around =, but the version catalog uses entries like springboot2 = "2.7.18". As a result, matrix jobs did not actually update the Spring Boot version under test.

💚 How did you test it?

  • Ran the updated sed expressions against a temporary copy of gradle/libs.versions.toml and verified Spring Boot 2, 3, and 4 versions were updated.
  • Ran ./gradlew spotlessApply apiDump.

📝 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.

🔮 Next steps

#skip-changelog

Match the TOML version catalog format when overriding Spring Boot versions in matrix jobs. Preserve whitespace around the assignment and replace the quoted version value so the CI jobs actually test the requested matrix version.

Co-Authored-By: Claude <noreply@anthropic.com>
@sentry
Copy link
Copy Markdown

sentry Bot commented May 6, 2026

📲 Install Builds

Android

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

⚙️ sentry-android Build Distribution Settings

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 286.84 ms 369.64 ms 82.80 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
674d437 355.28 ms 504.18 ms 148.90 ms
2195398 321.31 ms 391.66 ms 70.35 ms
62b579c 312.88 ms 361.57 ms 48.70 ms
b77456b 393.26 ms 441.10 ms 47.84 ms
694d587 312.37 ms 402.77 ms 90.41 ms
6b019b7 319.84 ms 333.15 ms 13.31 ms
6edfca2 305.52 ms 432.78 ms 127.26 ms
b03edbb 314.90 ms 350.22 ms 35.33 ms
d15471f 294.13 ms 399.49 ms 105.36 ms
fcec2f2 314.96 ms 373.66 ms 58.70 ms

App size

Revision Plain With Sentry Diff
674d437 1.58 MiB 2.10 MiB 530.94 KiB
2195398 0 B 0 B 0 B
62b579c 0 B 0 B 0 B
b77456b 1.58 MiB 2.12 MiB 548.11 KiB
694d587 1.58 MiB 2.19 MiB 620.06 KiB
6b019b7 0 B 0 B 0 B
6edfca2 1.58 MiB 2.13 MiB 559.07 KiB
b03edbb 1.58 MiB 2.13 MiB 557.32 KiB
d15471f 1.58 MiB 2.13 MiB 559.54 KiB
fcec2f2 1.58 MiB 2.12 MiB 551.50 KiB

Previous results on branch: ci/fix-spring-boot-matrix-version-sed

Startup times

Revision Plain With Sentry Diff
7092449 316.43 ms 352.15 ms 35.72 ms
da499be 312.21 ms 351.30 ms 39.09 ms

App size

Revision Plain With Sentry Diff
7092449 0 B 0 B 0 B
da499be 0 B 0 B 0 B

adinauer and others added 3 commits May 6, 2026 15:02
The matrix jobs now actually update the version catalog. Remove Spring Boot versions that the current sample setup cannot build with the repository's Spring GraphQL integrations and Gradle version.

Co-Authored-By: Claude <noreply@anthropic.com>
Expand the Spring Boot 2 and 3 CI matrices to cover supported minor versions. Exclude GraphQL from Spring Boot 2 versions before 2.7 because the starter is unavailable there.

Keep the Spring Boot 3 Gradle plugin pinned to a Gradle-compatible version while importing the tested Spring Boot BOM in samples, so the matrix exercises the intended runtime dependencies.

Co-Authored-By: Claude <noreply@anthropic.com>
Remove the explicit elastic scheduler from the Spring Boot WebFlux sample. Mono.delay already schedules the delayed work, and using Schedulers.elastic triggers deprecation warnings that fail CI under -Werror.

Co-Authored-By: Claude <noreply@anthropic.com>
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