-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support jdk25 #1390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Support jdk25 #1390
Conversation
Signed-off-by: JermaineHua <[email protected]>
WalkthroughUpdated GitHub Actions Maven workflow to add JDK 25 to the build matrix alongside 17 and 21. No changes to job steps or logic. Minor indentation/formatting adjustment in the Zookeeper install step. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal). Please share your feedback with us on this Discord post. 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. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/maven.yml (2)
19-19
: JDK 25 in matrix: good. Also bump setup-java to v5 for smoother 25 support.actions/setup-java v5 has the latest fixes and docs; Temurin 25 GA is rolling out now. Recommend upgrading the action and enabling check-latest for 25 to avoid stale caches. (github.com)
Apply:
- - name: Set up JDK - uses: actions/setup-java@v4 + - name: Set up JDK + uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: ${{ matrix.jdk }} + java-version: ${{ matrix.jdk }} + check-latest: ${{ matrix.jdk == 25 }} + cache: 'maven'
27-33
: Zookeeper 3.5.6 is EOL and likely brittle on JDK 25—upgrade to 3.8.x/3.9.x.3.5.x is long EOL; current/stable are 3.9.x/3.8.x. Running the 2019-era 3.5.6 server under JDK 25 risks startup/runtime failures. Upgrade the test server to 3.9.3 (or 3.8.4). (zookeeper.apache.org)
Apply:
- - name: Install Zookeeper - run: echo "Install Zookeeper 3.5.6" - && wget https://archive.apache.org/dist/zookeeper/zookeeper-3.5.6/apache-zookeeper-3.5.6-bin.tar.gz - && tar -zxf apache-zookeeper-3.5.6-bin.tar.gz - && mv apache-zookeeper-3.5.6-bin/conf/zoo_sample.cfg apache-zookeeper-3.5.6-bin/conf/zoo.cfg - && /bin/bash apache-zookeeper-3.5.6-bin/bin/zkServer.sh start + - name: Install ZooKeeper 3.9.3 + run: | + echo "Install ZooKeeper 3.9.3" + wget https://archive.apache.org/dist/zookeeper/zookeeper-3.9.3/apache-zookeeper-3.9.3-bin.tar.gz + tar -zxf apache-zookeeper-3.9.3-bin.tar.gz + mv apache-zookeeper-3.9.3-bin/conf/zoo_sample.cfg apache-zookeeper-3.9.3-bin/conf/zoo.cfg + /bin/bash apache-zookeeper-3.9.3-bin/bin/zkServer.sh startOptional: run ZK as a service container instead of tarball for faster, reproducible CI.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/maven.yml
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: sca
Summary by CodeRabbit
Chores
Tests