GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Basic validation workflow fails without useful explanation · Issue #977 · actions/setup-java

Basic validation workflow fails without useful explanation #977

New issue
Copy link
New issue
Copy link
Closed
Closed
Basic validation workflow fails without useful explanation#977
Copy link
Assignees
v-chiranjib-swain
Labels
bugSomething isn't working

Description

@jsoref
jsoref
opened on Feb 3, 2026
Issue body actions

Description:
When there's a Severity: high failure from npm audit --audit-level=high, the workflow fails

Task version:
main

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

  1. Sync a fork of this repository after the release of a new Severity: high item but before the corresponding PR is merged to this repository

Expected behavior:
A useful error on the overview explaining what's gone wrong (the severity high entries)

Actual behavior:

❌ Chore: Version Update and Checkout Update to v6 (#973) #1

Annotations

9 errors
❌ Basic validation / build (macos-latest)
Process completed with exit code 1.
❌ Basic validation / build (macos-latest)
Java setup process failed due to: Available version not found
❌ Basic validation / build (macos-latest)
Java setup process failed due to: Available version not found
❌ Basic validation / build (ubuntu-latest)
Process completed with exit code 1.
❌ Basic validation / build (ubuntu-latest)
Java setup process failed due to: Available version not found
❌ Basic validation / build (ubuntu-latest)
Java setup process failed due to: Available version not found
❌ Basic validation / build (windows-latest)
Process completed with exit code 1.
❌ Basic validation / build (windows-latest)
Java setup process failed due to: Available version not found
❌ Basic validation / build (windows-latest)
Java setup process failed due to: Available version not found


To a naive reader, it feels like the problem is "Java setup process failed due to: Available version not found", but that doesn't appear to be the problem at all. Note that this is error also lousy, but it's out of scope.

Activity

  1. jsoref
    added
    bugSomething isn't working
    needs triage
    on Feb 3, 2026
  2. v-mahabaleshwars
    removed
    needs triage
    on Feb 4, 2026
  3. v-mahabaleshwars commented on Feb 4, 2026

    @v-mahabaleshwars
    v-mahabaleshwars
    on Feb 4, 2026
    Contributor
    More actions

    Hi @jsoref,
    Thank you for creating this issue. We will investigate it and provide feedback as soon as we have some updates.

  4. v-mahabaleshwars
    self-assigned this
    on Feb 5, 2026
  5. v-chiranjib-swain
    assigned
    v-chiranjib-swain
    and unassigned
    v-mahabaleshwars
    on Mar 20, 2026
  6. v-chiranjib-swain commented on Mar 20, 2026

    @v-chiranjib-swain
    v-chiranjib-swain
    on Mar 20, 2026
    More actions

    Hi — @jsoref ,

    We’ve opened a potential fix in #989 to improve error handling/logging so failures like this show a clearer root cause.

    Could you please try it in your repo/workflow and let us know if it resolves the issue (or at least produces more actionable output)? A link to a run would be very helpful — thanks!

    Reacted by Josh Soref
  7. jsoref commented on Apr 13, 2026

    @jsoref
    jsoref
    on Apr 13, 2026
    ContributorAuthor
    More actions
    • After Refactor error handling and improve test logging for installers #989, this is the result:
    Image

    https://github.com/actions/setup-java/actions/runs/24358034827

    Basic validation / build (ubuntu-latest)
    Process completed with exit code 1.
    Basic validation / build (macos-latest)
    Process completed with exit code 1.
    Basic validation / build (windows-latest)
    Process completed with exit code 1.

    i.e. it still fails w/o a useful explanation (but, it's much quieter).

    The following content would be very helpful if it were dumped into $GITHUB_STEP_SUMMARY (I've copied it from the logs):


    npm audit report

    brace-expansion <1.1.13 || >=2.0.0 <2.0.3
    Severity: moderate
    brace-expansion: Zero-step sequence causes process hang and memory exhaustion - GHSA-f886-m6hf-6m8v
    brace-expansion: Zero-step sequence causes process hang and memory exhaustion - GHSA-f886-m6hf-6m8v
    fix available via npm audit fix
    node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion
    node_modules/brace-expansion
    node_modules/filelist/node_modules/brace-expansion

    fast-xml-parser 5.0.0 - 5.5.6
    Severity: high
    fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278) - GHSA-8gc5-j5rx-235r
    Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation in fast-xml-parser - GHSA-jp2q-39xq-3w4g
    fix available via npm audit fix
    node_modules/fast-xml-parser

    flatted <=3.4.1
    Severity: high
    flatted vulnerable to unbounded recursion DoS in parse() revive phase - GHSA-25h7-pfq9-p65f
    Prototype Pollution via parse() in NodeJS flatted - GHSA-rf6f-7fwh-wjgh
    fix available via npm audit fix
    node_modules/flatted

    js-yaml <3.14.2
    Severity: moderate
    js-yaml has prototype pollution in merge (<<) - GHSA-mh29-5h37-fv8m
    fix available via npm audit fix --force
    Will install [email protected], which is a breaking change
    node_modules/xmlbuilder2/node_modules/js-yaml
    xmlbuilder2 2.3.0 - 3.1.1
    Depends on vulnerable versions of js-yaml
    node_modules/xmlbuilder2

    picomatch <=2.3.1
    Severity: high
    Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching - GHSA-3v7f-55p6-f55p
    Picomatch has a ReDoS vulnerability via extglob quantifiers - GHSA-c2c7-rcm5-vvqj
    fix available via npm audit fix
    node_modules/picomatch

    undici <=6.23.0
    Severity: high
    Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion - GHSA-g9mf-h72j-4rw9
    Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client - GHSA-f269-vfmq-vjvj
    Undici has an HTTP Request/Response Smuggling issue - GHSA-2mjp-6q6p-2qxm
    Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression - GHSA-vrm6-8vpv-qv8q
    Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation - GHSA-v9p9-hfj2-hcw8
    Undici has CRLF Injection in undici via upgrade option - GHSA-4992-7rv2-5pvq
    fix available via npm audit fix --force
    Will install @actions/[email protected], which is a breaking change
    node_modules/@actions/cache/node_modules/undici
    node_modules/undici
    @actions/http-client 2.2.0 - 3.0.1
    Depends on vulnerable versions of undici
    node_modules/@actions/http-client

    8 vulnerabilities (4 moderate, 4 high)

    To address issues that do not require attention, run:
    npm audit fix

    To address all issues (including breaking changes), run:
    npm audit fix --force

  8. jsoref commented on Apr 13, 2026

    @jsoref
    jsoref
    on Apr 13, 2026
    ContributorAuthor
    More actions

    Also note that while it's interesting to know that the npm audit failed, it's probably better to treat that as a warning and let the real basic validation run (and pass or fail) instead of just failing early.

  9. v-chiranjib-swain commented on Apr 16, 2026

    @v-chiranjib-swain
    v-chiranjib-swain
    on Apr 16, 2026
    More actions

    Thank you for raising this and for providing clear reproduction details—we really appreciate the effort.

    The failure message you’re seeing originates from our reusable workflows. Any changes to how these workflows format or report errors would have a wide-reaching impact, as they are currently used by 900+ repositories. Because of this broad usage, we need to carefully prioritize enhancements like this based on demonstrated community demand.

    With that in mind, we’ll close this issue for now. That said, if there’s increased interest or additional feedback from the community, we’d be happy to revisit and explore improvements to the messaging or annotations—especially to make failures like npm audit --audit-level=high more immediately understandable.

    Thanks again for bringing this to our attention and for helping us improve the overall experience.

  10. v-chiranjib-swain
    closed this as completedon Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @v-chiranjib-swain
    v-chiranjib-swain

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.