Skip to content

Fix failing GitHub Actions job for graalvm 24-ea - #1227

Merged
brunoborges merged 4 commits into
mainfrom
copilot/fix-github-actions-job
Aug 7, 2026
Merged

Fix failing GitHub Actions job for graalvm 24-ea#1227
brunoborges merged 4 commits into
mainfrom
copilot/fix-github-actions-job

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Fix the failing GitHub Actions job "graalvm 24-ea (jdk-x64) - ubuntu-latest"
Analyze the Actions logs, identify the root cause of the failure, and implement a fix.
Check run ID: 92739975451
Job URL: https://github.com/actions/setup-java/actions/runs/31137471160/job/92739975451

Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
@brunoborges
brunoborges marked this pull request as ready for review August 7, 2026 03:17
@brunoborges
brunoborges requested a review from a team as a code owner August 7, 2026 03:17
Copilot AI lite review requested due to automatic review settings August 7, 2026 03:17
@brunoborges brunoborges changed the title [WIP] Fix failing GitHub Actions job for graalvm 24-ea Fix failing GitHub Actions job for graalvm 24-ea Aug 7, 2026

Copilot AI 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.

Pull request overview

This PR updates the E2E verification script to correctly validate early-access (EA) GraalVM Java versions where setup-java outputs a concrete EA version (e.g. 24.0.0-ea.35) but java -version reports only the major version (e.g. java version "24"), which previously caused the graalvm 24-ea (jdk-x64) - ubuntu-latest job to fail.

Changes:

  • Normalize SETUP_JAVA_VERSION for EA builds to the major version (mirroring the existing normalization for the expected input version).
  • Prevent false failures when comparing setup-java’s version output against java -version for EA GraalVM installs.
Show a summary per file
File Description
__tests__/verify-java.sh Adjusts version-output verification for *-ea* versions by matching on major version to align with GraalVM’s java -version output format.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

@brunoborges
brunoborges merged commit d2bb5a8 into main Aug 7, 2026
86 checks passed
@brunoborges
brunoborges deleted the copilot/fix-github-actions-job branch August 7, 2026 03:43
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.

3 participants