Skip to content

Intermittent networking issues lead to failed setup #64

Description

@jamietanna

In @renovatebot we're seeing pnpm/setup (as part of our job setup) failing i.e.

Setup pnpm
0s
Run pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b
Installing pnpm...
    Downloading pnpm 11.27.0 from the npm registry
  Error: Could not reach https://registry.npmjs.org/pnpm: fetch failed
      at e8 (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:256:2090)
      at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      at async Z4 (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:256:1847)
      at async i8 (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:261:300)
      at async a8 (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:263:145)
      at async z0e (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:263:1530)
      at async V0e (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:273:404)
      at async oSe (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:273:5098)
      at async iSe (/home/runner/work/_actions/pnpm/setup/703c52620218391530e48b9e8870d5c0082e1b9b/dist/index.js:273:5012) {
    [cause]: [TypeError: fetch failed] {
      [cause]: Error: read ECONNRESET
          at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) {
        errno: -104,
        code: 'ECONNRESET',
        syscall: 'read'
      }
    }
  }
  Error: Error: Could not reach https://registry.npmjs.org/pnpm: fetch failed

A quick review with Claude Sonnet 5 indicates that this isn't due to code in this repo, but potentially in get-pnpm which isn't retrying requests

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions