Skip to content

fix(deps): upgrade Spring Boot to 4.0.8 - #114

Merged
fronzec merged 1 commit into
mainfrom
fix/deps-spring-boot-4.0.8
Oct 17, 2026
Merged

fronzec merged 1 commit into
mainfrom
fix/deps-spring-boot-4.0.8

Conversation

@fronzec

@fronzec fronzec commented Oct 17, 2026

Copy link
Copy Markdown
Owner

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.

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.

fronzec commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner Author

@coderabbitai

coderabbitai Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 75b4200e-3f14-44a0-9cce-1ad8678c3487
📥 Commits

Reviewing files that changed from the base of the PR and between 691f343 and af8a99f.

📒 Files selected for processing: 2
  • batch-job-api/pom.xml
  • fr-batch-service/pom.xml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fronzec
fronzec merged commit 14a20a2 into main Oct 17, 2026
8 checks passed
@fronzec
fronzec deleted the fix/deps-spring-boot-4.0.8 branch October 17, 2026 06:07
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