Skip to content

PNPM: Failed pipelines with the "ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION" error #1390

Description

@blackakula

What happened (was reproducible on July 17th)

  1. Dependabot created an automatic package update: "Bump @fission-ai/openspec from 1.5.0 to 1.6.0"
  2. Pipeline step pnpm install --frozen-lockfile failed with the error:
[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 3 lockfile entries failed verification:
  @posthog/core@1.43.1 was published at 2026-07-16T21:01:32.000Z, within the minimumReleaseAge cutoff (2026-07-16T19:25:11.784Z)
  @posthog/types@1.397.0 was published at 2026-07-16T23:09:11.000Z, within the minimumReleaseAge cutoff (2026-07-16T19:25:11.784Z)
  posthog-node@5.45.2 was published at 2026-07-16T20:59:55.000Z, within the minimumReleaseAge cutoff (2026-07-16T19:25:11.784Z)

Run pnpm why posthog-node:

posthog-node@5.45.2
└─┬ @fission-ai/openspec@1.6.0
  └── <my project> (devDependencies)

The problem is that transitive dependencies do not respect exact library versions (locked in pnpm-lock.yaml).
The easiest solution I can see: fix specific versions in OpenSpec's package.json.

Related bug-issue on pnpm repo does not provide any better solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions