From af8a99fcb6a6841c65e542c5cdc807b8182a135a Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Fri, 16 Oct 2026 23:56:24 -0600 Subject: [PATCH] fix(deps): upgrade Spring Boot to 4.0.8 Spring Boot 4.0.0 manages Spring Batch 6.0.0, whose TaskExecutorJobLauncher updates the job execution in a finally block on the calling thread while the async thread runs updateStatus(STARTED). The race intermittently fails asynchronous launches with OptimisticLockingFailureException ("Attempt to update job execution ... with wrong version") before any JobExecutionListener runs. Boot 4.0.8 manages Spring Batch 6.0.5, where that update only runs when the task executor rejects the job. Upgrade the host and the shared API. --- batch-job-api/pom.xml | 2 +- fr-batch-service/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch-job-api/pom.xml b/batch-job-api/pom.xml index e94d2ee..226acfd 100644 --- a/batch-job-api/pom.xml +++ b/batch-job-api/pom.xml @@ -7,7 +7,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.0 + 4.0.8 diff --git a/fr-batch-service/pom.xml b/fr-batch-service/pom.xml index ac4e1c3..f6d18cc 100644 --- a/fr-batch-service/pom.xml +++ b/fr-batch-service/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.0 + 4.0.8 com.fronzec