Skip to content

chore(renovate): ignore intentionally broken snapshot inputs - #531

Merged
christoph-sg merged 1 commit into
mainfrom
renovate-ignore-broken-snapshots
Nov 4, 2026
Merged

christoph-sg merged 1 commit into
mainfrom
renovate-ignore-broken-snapshots

Conversation

@christoph-sg

Copy link
Copy Markdown
Contributor

The Dependency Dashboard (#5) reports the grouped non-major update as errored because Renovate fails to look up @example/a. That package is declared by snapshots/input/invalid-package-json and snapshots/input/pnpm-workspaces. These test inputs are broken on purpose and do not exist on npm.

This adds both directories to ignorePaths. ignorePaths is not mergeable, so setting it would replace the paths inherited from :ignoreModulesAndTests (via config:base). Those paths are repeated here so they stay ignored.

Test plan:

  • renovate-config-validator renovate.json passes.
  • Local renovate --platform=local --dry-run=lookup: on main it logs Failed to look up npm package @example/a: no-result for both files. With this change there are no lookup failures. The remaining snapshot manifests and snapshots/package.json are still extracted.

Renovate fails to look up @example/a, a workspace-local package declared
by the invalid-package-json and pnpm-workspaces snapshot inputs, which
blocks the grouped non-major update PR.

ignorePaths is not mergeable, so the paths inherited from
:ignoreModulesAndTests are repeated here.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1a5de-6816-752c-8a39-c93e0918cdab
Co-authored-by: Amp <amp@ampcode.com>
@christoph-sg
christoph-sg merged commit 5a82110 into main Nov 4, 2026
5 checks passed
@christoph-sg
christoph-sg deleted the renovate-ignore-broken-snapshots branch November 4, 2026 12:39
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.

2 participants