Skip to content

CI: Remove GraalVM job#9319

Merged
mbien merged 1 commit intoapache:masterfrom
mbien:ci-remove-graalvm-job
Apr 6, 2026
Merged

CI: Remove GraalVM job#9319
mbien merged 1 commit intoapache:masterfrom
mbien:ci-remove-graalvm-job

Conversation

@mbien
Copy link
Copy Markdown
Member

@mbien mbien commented Apr 2, 2026

as discussed in #9302, the GraalVM job became somewhat redundant

  • the tests can run on regular JDKs, GraalVM's polyglot features became dependencies in past (e.g 9931c15)
  • the modules are already covered by the java, debugger, ide, profiler and platform jobs (only the nashorn module needed to be moved)

the tests can run on regular JDKs, GraalVM's polyglot features became
dependencies in pasts.

the modules are already covered by the java, debugger, ide, profiler
and platform jobs (only the nashorn module needed to be moved).
@mbien mbien added this to the NB30 milestone Apr 2, 2026
@mbien mbien requested review from jtulach and lahodaj April 2, 2026 11:14
@mbien mbien added CI continuous integration changes GraalVM debugger labels Apr 2, 2026
Copy link
Copy Markdown
Contributor

@jtulach jtulach left a comment

Choose a reason for hiding this comment

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

  • NetBeans no longer need GraalVM to test behavior of its Graal.js usage

- name: Extract
run: tar --zstd -xf build.tar.zst

- name: Setup GraalVM ${{ matrix.graal }}
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.

Yeah, since GraalVM for JDK 21+ there is no difference between OpenJDK and GraalVM with respect to Graal.js except speed (peak performance of JavaScript). NetBeans don't need peak performance of JavaScript for the usecases tested here-in...

GRAALVM=$(realpath graalvm-community-openjdk-*)
echo "JAVA_HOME=$GRAALVM" >> $GITHUB_ENV

- name: platform/core.network
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.

This module is using Graal.js to process proxy configuration files. They are executed once and running at any JDK21+ is going to be fast enough.

run: ant $OPTS -f platform/core.network test

- name: platform/api.scripting
run: ant $OPTS -f platform/api.scripting test
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.

  • Graal.js is no longer part of GraalVM
  • it is a normal Maven library
  • hence testing this module on any OpenJDK21+ is enough

run: ant $OPTS -f webcommon/libs.graaljs test

- name: profiler/profiler.oql
run: ant $OPTS -f profiler/profiler.oql test
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.

  • profilier is using some JavaScript integration
  • as Graal.js is no longer distributed as part of GraalVM
  • testing on any OpenJDK21+ is enough

run: ant $OPTS -f java/nashorn.execution test

- name: java/debugger.jpda.truffle
run: .github/retry.sh ant $OPTS -f java/debugger.jpda.truffle test
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.

@mbien
Copy link
Copy Markdown
Member Author

mbien commented Apr 6, 2026

thanks for the review, will merge to reduce the PR count a little.

another thing we could try as followup is to update the graalvm dependencies which had the same version for 2 years:

06055903437576484DCC6545AF995FF67E0A3B55 org.graalvm.sdk:launcher-common:24.0.0
335646EC205A3BCE0D518748D08A5C45900A9869 org.graalvm.shadowed:jline:24.0.0
26F391313D8B7A4376B0778EA32A075422FB70DD org.graalvm.polyglot:polyglot:24.0.0
E7FBA15F217232D59E2C7EBA0EE7480F8DBF32B7 org.graalvm.sdk:collections:24.0.0
B6BD5F7B8A375832A64E7BEA9F2AEED08E7AA9D1 org.graalvm.sdk:nativeimage:24.0.0
DEA1FD82AECD2B7776FDA84FE944C605B0A44339 org.graalvm.sdk:word:24.0.0
206525F96C8D47633769F7DD96ADE4C9253E1FD7 org.graalvm.sdk:jniutils:24.0.0

06055903437576484DCC6545AF995FF67E0A3B55 org.graalvm.sdk:launcher-common:24.0.0
335646EC205A3BCE0D518748D08A5C45900A9869 org.graalvm.shadowed:jline:24.0.0
26F391313D8B7A4376B0778EA32A075422FB70DD org.graalvm.polyglot:polyglot:24.0.0
E7FBA15F217232D59E2C7EBA0EE7480F8DBF32B7 org.graalvm.sdk:collections:24.0.0
B6BD5F7B8A375832A64E7BEA9F2AEED08E7AA9D1 org.graalvm.sdk:nativeimage:24.0.0
DEA1FD82AECD2B7776FDA84FE944C605B0A44339 org.graalvm.sdk:word:24.0.0
206525F96C8D47633769F7DD96ADE4C9253E1FD7 org.graalvm.sdk:jniutils:24.0.0

BC925B49DCE52653AFBA11F65100CF9D83171D40 org.graalvm.truffle:truffle-api:24.0.0
2F3EE79085E59314C8B4AB9D40AC2A118E8CBA15 org.graalvm.truffle:truffle-runtime:24.0.0
1DFB80E64DCD92460C2ACCAC4C90935FE6CDDF12 org.graalvm.truffle:truffle-compiler:24.0.0

C82C42FC2154836A7DB7B0A23B96E031B1C069A9 org.graalvm.js:js-scriptengine:24.0.0
9A93F546EA83144A7A57E6D80F3991ED83F6D7BD org.graalvm.js:js-language:24.0.0
218D40861169B063B3193B06C0489A128B172B4E org.graalvm.js:js-launcher:24.0.0
67571B504B06CF10C909A364936C318CF6373D74 org.graalvm.regex:regex:24.0.0
2D75AB0726628F9A0A88270EA57CF9C997DB26F4 org.graalvm.shadowed:icu4j:24.0.0

I checked and 25.x would still use JDK 17 as baseline - so we would be good there.

@mbien mbien merged commit 4d933a7 into apache:master Apr 6, 2026
31 checks passed
@jtulach
Copy link
Copy Markdown
Contributor

jtulach commented Apr 6, 2026

I checked and 25.x would still use JDK 17 as baseline - so we would be good there.

Some upgrade is certainly possible. But which version still supports OpenJDK21 and which runs only on OpenJDK25?

image

I saw some matrix of versions at GraalVM Summit in autumn, but I cannot find it. I guess it is best to ask the expert: Andreas @woess, what would be your recommended version to upgrade to if NetBeans want to run Graal.js on OpenJDK21? Thanks for your advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI continuous integration changes debugger GraalVM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants