Skip to content

Exempt git-fi from pnpm's release-age delay - #30

Merged
chris-peterson merged 1 commit into
mainfrom
skip-burnin
Nov 27, 2026
Merged

chris-peterson merged 1 commit into
mainfrom
skip-burnin

Conversation

@chris-peterson

@chris-peterson chris-peterson commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Context

pnpm 11 won't install a version until it's a day old (minimumReleaseAge, on by default), so a pnpm user who runs git fi --update on release day gets the previous version, the one the update notice just told them to move off. This passes --config.minimumReleaseAgeExclude=<package> on that one install (UPDATE-05): only git-fi skips the wait, and nothing is written to the user's pnpm config.

Review guide

  • src/package-manager.ts: the change itself, one extra arg on the pnpm install
  • docs/index.html: the docs' pnpm install command carries the same exemption; this strips a pinned version (@gettyimages/git-fi@1.2.2 on the troubleshooting page) so the exemption names just the package
  • SPEC.md: UPDATE-05's wording for it

pnpm 11 turns on minimumReleaseAge by default at one day, and under
it `pnpm add -g @gettyimages/git-fi@latest` resolves to the newest
version older than that. For a day after each release,
`git fi --update` would reinstall the previous version and skip the
very release the update notice named (UPDATE-01).

Pass --config.minimumReleaseAgeExclude=<package> on that one install
(UPDATE-05). It names git-fi alone and is never written to the user's
config, so the cool-down still governs everything else, including
anything the same install resolves. Older pnpm ignores the setting.
The pnpm install command on the docs site carries the same exemption.
@chris-peterson chris-peterson self-assigned this Nov 19, 2026
@chris-peterson chris-peterson added the bug Something isn't working label Nov 19, 2026
@chris-peterson
chris-peterson marked this pull request as ready for review November 21, 2026 19:45
@chris-peterson
chris-peterson requested review from andyalm and removed request for andyalm November 21, 2026 19:45
@chris-peterson
chris-peterson merged commit 5464ee8 into main Nov 27, 2026
11 checks passed
@chris-peterson
chris-peterson deleted the skip-burnin branch November 27, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant