Skip to content

Renovate: fix lockfile-regen OOM blocking grouped dep PRs (#719) #869

Description

@tombeckenham

Renovate's renovate/artifacts step OOMs while regenerating the lockfile (heap limit, e.g. PR #719), so the lockfile never updates and every --frozen-lockfile check cascades to red.

Cause: group:allNonMajor + postUpdateOptions: [pnpmDedupe] resolves the entire 1.1MB lockfile across 75 package.jsons in one pass.

Adjust in .github/renovate.json (and/or Mend env):

  • Raise runner heap (NODE_OPTIONS=--max-old-space-size=8192)
  • Drop or narrow pnpmDedupe
  • Split group:allNonMajor into smaller per-ecosystem groups

We also need to adjust the minimum age requirement in renovate to match pnpm

Metadata

Metadata

Assignees

No one assigned

    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