Roll forward io expansion service to Java17#38974
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #38974 +/- ##
============================================
- Coverage 60.25% 57.72% -2.54%
+ Complexity 20572 13032 -7540
============================================
Files 3318 2513 -805
Lines 315452 261376 -54076
Branches 17142 10722 -6420
============================================
- Hits 190073 150868 -39205
+ Misses 116830 104796 -12034
+ Partials 8549 5712 -2837
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the Java version requirement for the expansion service from Java 11 to Java 17. Specifically, it updates the base Docker image to eclipse-temurin:17 and modifies the Gradle build configuration to require JavaVersion.VERSION_17, noting that Delta Lake requires Java 17+. There are no review comments, and I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
898e6d6 to
5ea0a53
Compare
5ea0a53 to
d8735a1
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request upgrades the Java environment requirements to Java 17 for the expansion service, updates the setup-java action to v4, and automatically configures Java home properties in the Gradle build configuration using environment variables. Feedback suggests refactoring the Gradle plugin logic to support ARM64 runners by checking both _X64 and _ARM64 environment variables, which can be simplified using a Groovy loop.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request facilitates the migration of the IO expansion service to Java 17. It includes necessary updates to build configurations, CI/CD environment setups, and container definitions to ensure compatibility with modern Java requirements and dependencies. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the Java environment configuration to support Java 17, including adding a Java 17 fallback installation in GitHub Actions, updating the expansion service Dockerfile base image to Java 17, and requiring Java 17 for the IO expansion service. Additionally, it configures Gradle to dynamically set JDK home properties and redirect JavaExec tasks to the specified JDK. Feedback points out that the Java 17 fallback installation path is overwritten and lost by the subsequent Java installation step, and suggests explicitly exporting the path. Another comment recommends adding a null check for testJavaHome before configuring JavaExec tasks to prevent build failures when the JDK path is unresolved.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Assigning reviewers: R: @ahmedabu98 for label java. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
First iteration that was reverted - #38931
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.