Skip to content

fix: Remove obsolete native-image component from graalvm/setup-graalvm step - #398

Merged
EvgheniPopusoi merged 1 commit into
masterfrom
fix/remove-obsolete-graalvm-native-image-component
Sep 8, 2026
Merged

EvgheniPopusoi merged 1 commit into
masterfrom
fix/remove-obsolete-graalvm-native-image-component

Conversation

@EvgheniPopusoi

Copy link
Copy Markdown
Contributor

Summary

  • Removes components: 'native-image' from the graalvm/setup-graalvm@v1 step in the native image build job.
  • GraalVM for JDK 21+ (including the 25.x releases this workflow targets) ships native-image bundled in the base distribution and no longer includes the gu (GraalVM Updater) tool. Requesting components: 'native-image' makes the action try to run gu install native-image, which fails since gu doesn't exist in these distributions:
    Error: Unable to locate executable file: gu.
    
  • Confirmed against upstream: graalvm/setup-graalvm#62 reports the identical failure for the identical reason, and the action's own quickstart/HelloWorld templates for modern distributions omit components: entirely.
  • Follow-up to feat: Decouple GraalVM version from Java version in native image build #397 (GraalVM version decoupling), which is where this failure first surfaced in CI.

Test plan

  • Re-run build-image job for hiiretail-price-specification-stream-processor (or another native-image consumer) and confirm graalvm/setup-graalvm@v1 succeeds and native-image is available on PATH
  • Confirm the native image is still built and pushed successfully end to end

…m step

GraalVM for JDK 21+ (including the 25.x releases this workflow uses)
ships native-image bundled in the base distribution and no longer
includes the gu (GraalVM Updater) tool. Requesting components:
'native-image' makes the action try to run `gu install native-image`,
which fails with "Unable to locate executable file: gu" since gu no
longer exists in these distributions. native-image is already on PATH
after setup, so the component request is unnecessary.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@EvgheniPopusoi
EvgheniPopusoi merged commit 5b1c14c into master Sep 8, 2026
1 check passed
@EvgheniPopusoi
EvgheniPopusoi deleted the fix/remove-obsolete-graalvm-native-image-component branch September 8, 2026 09:18
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