Skip to content

Test under JDK 26-ea#296

Open
mernst wants to merge 2 commits intoplume-lib:mainfrom
mernst:java-26-ea
Open

Test under JDK 26-ea#296
mernst wants to merge 2 commits intoplume-lib:mainfrom
mernst:java-26-ea

Conversation

@mernst
Copy link
Copy Markdown
Contributor

@mernst mernst commented Mar 29, 2026

No description provided.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 29, 2026

📝 Walkthrough

Walkthrough

Two GitHub Actions workflow files are updated to expand their Gradle CI build matrices. The Java version matrix in .github/workflows/gradle-native-compile.yml and .github/workflows/gradle.yml is changed from ['21', '25'] to ['21', '25', '26-ea']. This addition introduces Java 26 early access as a tested version in the continuous integration pipeline. All other workflow configuration, including job steps and GraalVM setup, remains unchanged. Each file requires a single line modification to the matrix definition.

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

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

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/gradle-native-compile.yml:
- Around line 10-12: The workflow's strategy.matrix currently lists java
versions but lacks fail-fast configuration; update the strategy to include
fail-fast: false (i.e., set strategy.fail-fast to false alongside the existing
matrix/java values) so the 26-ea job failure won't cancel the 21 and 25
jobs—modify the strategy block that contains "matrix" and "java:
['21','25','26-ea']" to add the fail-fast setting, mirroring the existing
gradle.yml behavior.

In @.github/workflows/gradle.yml:
- Around line 10-12: Add fail-fast: false under the workflow's strategy matrix
to prevent an early-access (26-ea) failure from cancelling stable-version jobs;
locate the strategy -> matrix block (the matrix: java: ['21','25','26-ea']
entry) and add fail-fast: false at the same strategy level so all job variants
run to completion regardless of EA failures.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 50977e64-b4cd-4baa-9ede-9963cc916320

📥 Commits

Reviewing files that changed from the base of the PR and between 14f595e and ab6ebc7.

📒 Files selected for processing (2)
  • .github/workflows/gradle-native-compile.yml
  • .github/workflows/gradle.yml

Comment on lines 10 to +12
strategy:
matrix:
java: ['21', '25']
java: ['21', '25', '26-ea']
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Add fail-fast: false here too, same as gradle.yml.

The same concern applies: a 26-ea native-compilation failure (EA builds can break on native-image more readily than JIT) will cancel the 21 and 25 jobs mid-run, silencing the stable-version signal.

The setup-graalvm action already tests against GraalVM 25 and 26 EA builds in its own CI, confirming that java-version: '26-ea' is a valid input for graalvm/setup-graalvm@v1.

⚙️ Proposed fix
     strategy:
+      fail-fast: false
       matrix:
         java: ['21', '25', '26-ea']
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
strategy:
matrix:
java: ['21', '25']
java: ['21', '25', '26-ea']
strategy:
fail-fast: false
matrix:
java: ['21', '25', '26-ea']
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/gradle-native-compile.yml around lines 10 - 12, The
workflow's strategy.matrix currently lists java versions but lacks fail-fast
configuration; update the strategy to include fail-fast: false (i.e., set
strategy.fail-fast to false alongside the existing matrix/java values) so the
26-ea job failure won't cancel the 21 and 25 jobs—modify the strategy block that
contains "matrix" and "java: ['21','25','26-ea']" to add the fail-fast setting,
mirroring the existing gradle.yml behavior.

Comment on lines 10 to +12
strategy:
matrix:
java: ['21', '25']
java: ['21', '25', '26-ea']
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Add fail-fast: false to prevent EA failures from cancelling stable version jobs.

GitHub Actions defaults fail-fast to true. With 26-ea in the matrix, an EA-related failure would cancel any still-running 21 or 25 jobs, erasing the CI signal you actually need to protect. Setting fail-fast: false ensures all three variants run to completion regardless of whether the EA job fails.

actions/setup-java with distribution: 'temurin' does support early-access versions, so the 26-ea entry itself is valid.

⚙️ Proposed fix
     strategy:
+      fail-fast: false
       matrix:
         java: ['21', '25', '26-ea']
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
strategy:
matrix:
java: ['21', '25']
java: ['21', '25', '26-ea']
strategy:
fail-fast: false
matrix:
java: ['21', '25', '26-ea']
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/gradle.yml around lines 10 - 12, Add fail-fast: false
under the workflow's strategy matrix to prevent an early-access (26-ea) failure
from cancelling stable-version jobs; locate the strategy -> matrix block (the
matrix: java: ['21','25','26-ea'] entry) and add fail-fast: false at the same
strategy level so all job variants run to completion regardless of EA failures.

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