Skip to content

build(gradle): upgrade Gradle 9.9.2, Spring Boot 4.2.0, and Spring Cloud 2026.0.0 - #1396

Merged
kamkie merged 10 commits into
mainfrom
copilot/gradle-spring-boot-4-2
Nov 26, 2026
Merged

kamkie merged 10 commits into
mainfrom
copilot/gradle-spring-boot-4-2

Conversation

@kamkie

@kamkie kamkie commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Combines and fixes Dependabot PRs #1381 (Gradle 9.9.2 + Gradle minor updates) and #1383 (Spring Boot 4.2.0).

Changes

  • Gradle 9.9.2 & minor bumps across backends/grails, backends/ktor-kotlin, backends/micronaut-java, backends/spring-java, backends/spring-kotlin, and gateways/spring-cloud-gateway.
  • Spring Boot 4.2.0 + Spring Cloud 2026.0.0 across backends/spring-java, backends/spring-kotlin, and gateways/spring-cloud-gateway:
    • Migrated org.springframework.boot.env.EnvironmentPostProcessor to org.springframework.boot.EnvironmentPostProcessor (source + META-INF/spring.factories), since Spring Boot 4.2.0 removed the deprecated env package alias.
    • Upgraded Spring Cloud BOM to 2026.0.0 in gateways/spring-cloud-gateway for Spring Boot 4.2.x compatibility.

Supersedes

Local Validation

  • backends/spring-java: ./gradlew check passed
  • backends/spring-kotlin: ./gradlew check passed
  • gateways/spring-cloud-gateway: ./gradlew check passed

kamkie and others added 7 commits November 26, 2026 20:47
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…2026.0.0, and Gradle 9.9.2

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 19:48
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.20%. Comparing base (cadd95d) to head (37008ba).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1396   +/-   ##
=========================================
  Coverage     76.20%   76.20%           
  Complexity     2235     2235           
=========================================
  Files           983      983           
  Lines         44430    44430           
  Branches       4144     4144           
=========================================
  Hits          33859    33859           
  Misses         8738     8738           
  Partials       1833     1833           
Flag Coverage Δ
backend-grails 66.00% <ø> (ø)
backend-ktor-kotlin 79.67% <ø> (ø)
backend-micronaut-java 81.29% <ø> (ø)
backend-spring-java 55.20% <ø> (ø)
backend-spring-kotlin 94.63% <ø> (ø)
gateway-spring-cloud-gateway 94.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
backend · dotnet 63.82% <ø> (ø)
backend · elixir-phoenix 86.96% <ø> (ø)
backend · go 72.51% <ø> (ø)
backend · go-echo 66.46% <ø> (ø)
backend · grails 66.00% <ø> (ø)
backend · ktor-kotlin 79.67% <ø> (ø)
backend · micronaut-java 81.29% <ø> (ø)
backend · node-nestjs 77.53% <ø> (ø)
backend · node-ts 35.25% <ø> (ø)
backend · open-liberty-java 84.62% <ø> (ø)
backend · php-laravel 92.16% <ø> (ø)
backend · play-scala 92.66% <ø> (ø)
backend · python-django 87.14% <ø> (ø)
backend · python-fastapi 91.63% <ø> (ø)
backend · quarkus-java 82.77% <ø> (ø)
backend · ruby-rails 99.26% <ø> (ø)
backend · rust-axum 70.34% <ø> (ø)
backend · scala-http4s 83.27% <ø> (ø)
backend · spring-java 55.20% <ø> (ø)
backend · spring-kotlin 94.63% <ø> (ø)
frontend · angular 90.96% <ø> (ø)
frontend · astro 83.73% <ø> (ø)
frontend · lit 57.61% <ø> (ø)
frontend · qwik 91.75% <ø> (ø)
frontend · react 86.47% <ø> (ø)
frontend · solid 88.99% <ø> (ø)
frontend · svelte 83.95% <ø> (ø)
frontend · vanilla-ts 64.49% <ø> (ø)
frontend · vue 38.06% <ø> (ø)
gateway · apisix 69.06% <ø> (ø)
gateway · go 63.50% <ø> (ø)
gateway · node-fastify 91.95% <ø> (ø)
gateway · openresty 70.23% <ø> (ø)
gateway · python 92.31% <ø> (ø)
gateway · rust 62.92% <ø> (ø)
gateway · spring-cloud-gateway 94.62% <ø> (ø)
gateway · yarp 96.05% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The review records no active issues for the dependency updates and Spring Boot post-processor migration.

No open issues 🎉

What changed in this PR

Consolidates dependency updates from #1381 and #1383 across six JVM implementations, including the Spring Boot compatibility migration for custom environment post-processors.

Changes:

  • Upgrades all six Gradle wrappers to 9.9.2 and updates Micronaut, Flyway, and Logback dependencies.
  • Upgrades both Spring backends and the gateway to Spring Boot 4.2.0, with Spring Cloud 2026.0.0 for the gateway.
  • Migrates environment post-processor imports and registrations to the new Spring Boot package.
File Description
gateways/​spring-cloud-gateway/​src/​main/​resources/​META-INF/​spring.factories Updates the gateway post-processor registration key.
gateways/​spring-cloud-gateway/​src/​main/​kotlin/​dev/​stackverse/​gateway/​config/​GatewayEnvironmentPostProcessor.kt Migrates the post-processor import.
gateways/​spring-cloud-gateway/​gradle/​wrapper/​gradle-wrapper.properties Upgrades Gradle to 9.9.2.
gateways/​spring-cloud-gateway/​build.gradle.kts Upgrades Spring Boot and Spring Cloud.
backends/​spring-kotlin/​src/​main/​resources/​META-INF/​spring.factories Updates the logging post-processor registration key.
backends/​spring-kotlin/​src/​main/​kotlin/​dev/​stackverse/​backend/​config/​LoggingEnvironmentPostProcessor.kt Migrates the post-processor import.
backends/​spring-kotlin/​gradle/​wrapper/​gradle-wrapper.properties Upgrades Gradle to 9.9.2.
backends/​spring-kotlin/​build.gradle.kts Upgrades Spring Boot to 4.2.0.
backends/​spring-java/​src/​main/​resources/​META-INF/​spring.factories Updates the logging post-processor registration key.
backends/​spring-java/​src/​main/​java/​dev/​stackverse/​backend/​config/​LoggingEnvironmentPostProcessor.java Migrates the post-processor import.
backends/​spring-java/​gradle/​wrapper/​gradle-wrapper.properties Upgrades Gradle to 9.9.2.
backends/​spring-java/​build.gradle.kts Upgrades Spring Boot to 4.2.0.
backends/​micronaut-java/​gradle/​wrapper/​gradle-wrapper.properties Upgrades Gradle to 9.9.2.
backends/​micronaut-java/​build.gradle.kts Upgrades Micronaut to 5.2.7.
backends/​ktor-kotlin/​gradle/​wrapper/​gradle-wrapper.properties Upgrades Gradle to 9.9.2.
backends/​ktor-kotlin/​build.gradle.kts Upgrades both Flyway modules and Logback.
backends/​grails/​gradle/​wrapper/​gradle-wrapper.properties Upgrades Gradle to 9.9.2.

Review effort: Balanced

kamkie and others added 3 commits November 26, 2026 20:59
…README to Boot 4.2

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…e README to Boot 4.2

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… 4.2

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 20:00
@kamkie

kamkie commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

Cross-agent review record

  • Reviewer: Claude Code (claude-opus-5-5, --model opus --effort medium)
  • Round 1 (head b9fa3841): 3 findings (1 Important, 1 Pre-existing, 1 Nit)
    1. Important (confirmed & fixed): Removed stale jackson-bom.version = "3.1.5" and postgresql.version = "42.7.12" overrides from backends/spring-java/build.gradle.kts, backends/spring-kotlin/build.gradle.kts, and gateways/spring-cloud-gateway/build.gradle.kts so Spring Boot 4.2.0 BOM manages Jackson 3.1.8 and PostgreSQL 42.7.14 (333cd602, aa555de1, 37008bab).
    2. Pre-existing (backends/grails EnvironmentPostProcessor, deferred): Out of scope — Grails 8.0.0 was not upgraded to Spring Boot 4.2 here (only the Gradle wrapper was bumped to 9.9.2 to stay on Grails' current line).
    3. Nit (confirmed & fixed): Updated backends/spring-java/README.md and backends/spring-kotlin/README.md from Spring Boot 4.1 to 4.2 (333cd602, aa555de1).
  • Round 2 (range b9fa3841..37008bab, head 37008bab): Both in-scope findings verified resolved, no new defects, ANOTHER ROUND: no.

@kamkie
kamkie marked this pull request as ready for review November 26, 2026 20:01
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T20:02:22.637256Z 37008ba Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 37008bab50

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

kotlin("jvm") version "2.4.21"
kotlin("plugin.spring") version "2.4.21"
id("org.springframework.boot") version "4.1.2"
id("org.springframework.boot") version "4.2.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Separate the dependency upgrades into per-variant commits

This commit combines changes to six application variants: Grails, Ktor, Micronaut, Spring Java, Spring Kotlin, and Spring Cloud Gateway. AGENTS.md explicitly requires multi-variant changes to use one commit per affected application variant; combining dependency updates does not exempt them from that convention. Split these changes into per-variant commits so each implementation's upgrade can be reviewed and reverted independently.

AGENTS.md reference: AGENTS.md:L57-L60

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triaged as false positive: this branch already separates every affected variant (grails, ktor-kotlin, micronaut-java, spring-java, spring-kotlin, spring-cloud-gateway) into dedicated per-variant commits and is merged with a merge commit preserving that history.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the build-tooling and dependency upgrades across the six implementations.

No open issues 🎉

Review effort: Balanced

@kamkie
kamkie merged commit e1d6655 into main Nov 26, 2026
38 checks passed
@kamkie
kamkie deleted the copilot/gradle-spring-boot-4-2 branch November 26, 2026 20:12
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.

2 participants