Skip to content

chore: exclude @oxc-project/* from pnpm minimum release age gate#671

Merged
Boshen merged 1 commit into
mainfrom
chore/oxc-release-age-exclude
Jul 7, 2026
Merged

chore: exclude @oxc-project/* from pnpm minimum release age gate#671
Boshen merged 1 commit into
mainfrom
chore/oxc-release-age-exclude

Conversation

@Boshen

@Boshen Boshen commented Jul 7, 2026

Copy link
Copy Markdown
Member

What

Add @oxc-project/* to minimumReleaseAgeExclude in pnpm-workspace.yaml.

Why

pnpm 11.9 enforces a 24h supply-chain cooldown (minimumReleaseAge: 1440, on by default — it's not set anywhere in the repo). Renovate oxc PRs bump @oxc-project/runtime to a release that is typically only hours old, so pnpm install fails the policy check:

[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 1 lockfile entries failed verification:
  @oxc-project/runtime@0.139.0 was published at 2026-07-06T15:28:20.000Z, within the minimumReleaseAge cutoff

(see the failing run on #670).

vite-plus (vp config) already seeds this list with the oxlint/oxfmt/vitest families but not @oxc-project/*. This is the only registry-sourced oxc package in the workspace — the @oxc-node/* packages are workspace:* and never gated. A full pnpm install (which runs vp config) leaves the entry intact.

Verified locally against the #670 bump with a fresh, cache-cleared check: without the exclude the lockfile fails with the violation above; with it, ✓ Lockfile passes supply-chain policies.

pnpm 11.9 enforces a 24h supply-chain cooldown (minimumReleaseAge) by
default, which blocks renovate oxc bumps until the new @oxc-project/runtime
release is a day old (ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION). Exempt the
@oxc-project/* scope, matching the oxlint/oxfmt exemptions vite-plus already
seeds.
@Boshen
Boshen merged commit c3c8ae6 into main Jul 7, 2026
51 checks passed
@Boshen
Boshen deleted the chore/oxc-release-age-exclude branch July 7, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant