Skip to content

refactor: Update micronaut and postgresql libraries - #10345

Draft
Kef131 wants to merge 7 commits into
mainfrom
deps/update-micronaut-and-postgresql
Draft

refactor: Update micronaut and postgresql libraries#10345
Kef131 wants to merge 7 commits into
mainfrom
deps/update-micronaut-and-postgresql

Conversation

@Kef131

@Kef131 Kef131 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #
b/511911721
b/511714659
b/511714136
b/511093634

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.
  • Tests pass: mvn clean verify required
  • Lint passes: mvn -P lint checkstyle:check required
  • Static Analysis: mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only

Compliance & Style

  • I have followed Sample Format Guide
  • pom.xml parent set to latest shared-configuration
  • Appropriate changes to README are included in PR
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample

Post-Approval Actions

  • Please merge this PR for me once it is approved

dependabot Bot and others added 4 commits September 7, 2026 19:41
Bumps [io.micronaut:micronaut-inject](https://github.com/micronaut-projects/micronaut-core) from 3.10.3 to 4.10.22.
- [Release notes](https://github.com/micronaut-projects/micronaut-core/releases)
- [Changelog](https://github.com/micronaut-projects/micronaut-core/blob/5.1.x/RELEASE.adoc)
- [Commits](micronaut-projects/micronaut-core@v3.10.3...v4.10.22)

---
updated-dependencies:
- dependency-name: io.micronaut:micronaut-inject
  dependency-version: 4.10.22
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. api: cloudsql Issues related to the Cloud SQL for MySQL API. api: dataflow Issues related to the Dataflow API. labels Sep 7, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates dependency versions across several pom.xml files, including upgrading PostgreSQL to 42.7.11 and Micronaut to newer versions. Feedback highlights that upgrading Micronaut from 3.x to 4.x in the flexible/java-17 sample introduces breaking changes due to the namespace migration from javax to jakarta. It is recommended to use version 3.10.10 instead to maintain compatibility and consistency with other samples.

Comment thread flexible/java-17/micronaut-helloworld/pom.xml Outdated
…helloworld

Micronaut 4.10.22 breaks dependency resolution because io.micronaut:micronaut-validation
was moved to a new group ID in Micronaut 4. Keeping it on 3.10.10 matches
appengine-java11/micronaut-helloworld and allows dependencies to resolve cleanly.
- In ApacheIcebergIT, replace rigid 60s sleep with polling up to 3 minutes,
  avoiding race conditions before writing data to Cloud Storage.
- In ApacheIcebergIT, handle GCS bucket creation and cleanup safely with Assume.
- In Cloud SQL client-side encryption tests, use JUnit Assume so tests skip
  gracefully when required environment variables or live DB/KMS resources are
  unavailable in CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: appengine Issues related to the App Engine Admin API API. api: cloudsql Issues related to the Cloud SQL for MySQL API. api: dataflow Issues related to the Dataflow API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants