pnpm / pnpm/setup

Document any delay of moving selector caches (eg. `runtime: node@lts`) after release of new versions

Open
#53 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
140
Forks
19
Avg merge
13h 19m
Merged PRs (30d)
3

Description

actions/setup-node has significant delays (up to 1 month!) of lts/* aliases (cache invalidation bug), due to slow updates in actions/runner-images:

Does pnpm/setup also suffer from the same delays due to caching? I noticed this wording, which sounds familiar to the explanations by the actions/setup-node team:

a moving selector such as node@lts is reported and cached under the version it resolved to

https://github.com/pnpm/setup/blob/703c52620218391530e48b9e8870d5c0082e1b9b/src/install-runtime/index.ts#L61-L64

If there are any delays, these should be documented.

But if pnpm/setup does not suffer from cache invalidation problems like the actions/setup-node problem, then I would propose it also in those two issues above as an alternative to actions/setup-node.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/install-runtime/index.ts at lines 61-64 and review the linked actions/setup-node issues for the described cache behavior. Determine whether moving selectors such as node@lts experience delays in pnpm/setup, then document the observed behavior and any delay details or clarify that the issue does not apply.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.