Skip to content

fix(ci): replace EOL GraalVM 17/21 with GraalVM 25#4096

Merged
987Nabil merged 1 commit intozio:mainfrom
987Nabil:fix/ci-graalvm-25
Apr 20, 2026
Merged

fix(ci): replace EOL GraalVM 17/21 with GraalVM 25#4096
987Nabil merged 1 commit intozio:mainfrom
987Nabil:fix/ci-graalvm-25

Conversation

@987Nabil
Copy link
Copy Markdown
Contributor

Summary

  • GraalVM JDK 17 is EOL — gu install native-image consistently fails because Oracle's download server (gds.oracle.com) is dead/unreliable
  • This has been breaking CI on every PR (e.g. fix(openapi): produce binary schema for non-multipart outStream[Byte] #4092)
  • Replace both graalvm@17 and graalvm@21 with a single graalvm@25 (latest, native-image bundled)
  • JDK 17 and 21 compatibility still covered by temurin@17 and temurin@21
  • CI matrix drops from 12 to 9 jobs (faster feedback)

Copilot AI review requested due to automatic review settings April 20, 2026 13:22
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 20, 2026

Deploy Preview for zio-http ready!

Name Link
🔨 Latest commit 3978729
🔍 Latest deploy log https://app.netlify.com/projects/zio-http/deploys/69e62c7388db8400088e3999
😎 Deploy Preview https://deploy-preview-4096--zio-http.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s CI Java matrix to stop relying on EOL GraalVM 17/21 in GitHub Actions, aiming to eliminate recurring native-image installation failures and reduce overall CI workload.

Changes:

  • Switch githubWorkflowJavaVersions from GraalVM 17/21 to a single GraalVM 25 entry.
  • Update CI workflow matrices and GraalVM setup steps to use graal_graalvm@25.
  • Reduce the CI job matrix size (fewer Java variants).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
build.sbt Updates sbt-github-actions Java version matrix to use GraalVM 25 instead of 17/21.
.github/workflows/ci.yml Regenerates/updates the workflow to run the build and publish jobs with graal_graalvm@25.

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

Comment thread .github/workflows/ci.yml
Comment on lines +126 to 129
java-version: 25
distribution: graalvm
components: native-image
github-token: ${{ secrets.GITHUB_TOKEN }}
Comment thread .github/workflows/ci.yml
Comment on lines +44 to 47
java-version: 25
distribution: graalvm
components: native-image
github-token: ${{ secrets.GITHUB_TOKEN }}
@987Nabil 987Nabil force-pushed the fix/ci-graalvm-25 branch from 388550e to 3978729 Compare April 20, 2026 13:38
@987Nabil 987Nabil merged commit 4854980 into zio:main Apr 20, 2026
41 checks passed
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.

2 participants