Skip to content

Error: getCacheEntry failed: Cache service responded with 500 in new workflow #378

Closed
@dominikg

Description

@dominikg

Description:
setup-node fails with an error

Run actions/setup-node@v2
  with:
    node-version: 16
    cache: pnpm
    cache-dependency-path: **/pnpm-lock.yaml
    always-auth: false
    check-latest: false
    token: ***
Found in cache @ /opt/hostedtoolcache/node/16.13.0/x64
/opt/hostedtoolcache/node/16.13.0/x64/bin/pnpm store path
/home/runner/.pnpm-store/v3
Error: getCacheEntry failed: Cache service responded with 500

Action version:
setup-node@v2

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
node 14 + 16
pnpm 6.23

Repro steps:
Workflow here https://github.com/svitejs/vite-plugin-env-config/blob/main/.github/workflows/ci.yml

It uses setup-node twice:

Expected behavior:

setup succeeds

Actual behavior:
setup fails
log shows a 500 error for cache service
https://github.com/svitejs/vite-plugin-env-config/runs/4494014103?check_suite_focus=true#step:5:12

Additional information

  • The repo is very new and cloned from a template. other repos with a similar setup don't show this behavior
  • These are the initial workflow runs, there hasn't been a success. Maybe some initializaion failed?

Metadata

Metadata

Assignees

No one assigned

    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