Skip to content

Conversation

@domdomegg
Copy link
Member

@domdomegg domdomegg commented Nov 26, 2025

Summary

Adds dependabot configuration to address npm workspace lockfile issues that caused PR #3021 to fail.

Problem

PR #3021 (Dependabot security update for glob) failed with:

npm error Invalid: lock file's glob@11.1.0 does not satisfy glob@12.0.0

Root cause: Dependabot tried to update glob to different major versions across workspace directories (11.1.0 for transitive deps, 12.0.0 for filesystem's direct dep), creating an inconsistent package-lock.json.

This is a known Dependabot limitation with npm workspaces:

Solution

Add dependabot.yml that:

  • Manages npm from root directory only (workspaces handled as a unit)
  • Uses versioning-strategy: increase for consistent lockfile updates
  • Configures security update grouping via applies-to: security-updates

Also adds config for Python packages and GitHub Actions.

Adds dependabot configuration to address npm workspace lockfile issues
that caused PR #3021 to fail.

The root cause was Dependabot trying to update the same package (glob)
to different major versions across workspace directories, creating an
inconsistent package-lock.json that fails `npm ci`.

Key changes:
- Configure npm updates from root directory only (per issue #6346)
- Use versioning-strategy: increase for consistent lockfile updates
- Explicitly configure security update grouping via applies-to

See:
- dependabot/dependabot-core#6346
- dependabot/dependabot-core#7157
@domdomegg
Copy link
Member Author

(I think we should do something like this, OR disable dependabot updates generally because they always fail)

@domdomegg
Copy link
Member Author

Managed to poke around in the settings and got #3076 working. Gonna see if that holds for now

@domdomegg domdomegg closed this Nov 26, 2025
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