Skip to content

fix(deps): restore readdir-glob@3.0.0 lockfile entry for npm 11 ci - #163

Merged
GenAICloudDevOps merged 1 commit into
mainfrom
fix/lockfile-readdir-glob-sync
Nov 1, 2026
Merged

GenAICloudDevOps merged 1 commit into
mainfrom
fix/lockfile-readdir-glob-sync

Conversation

@GenAICloudDevOps

Copy link
Copy Markdown
Owner

Repairs the red CI on main after the minimatch override change. Lockfile-only; package.json is untouched.

Root cause: the lockfile shipped with the global minimatch override contains no readdir-glob@3.0.0 entry, even though the exceljs override pins readdir-glob: ^3.0.0 for that subtree. npm ci under npm 10 (Node 22 line, and local verification) accepts the lockfile, but npm 11 (Node 24 and 26 lines) runs a stricter package.json/lockfile sync check and fails the install step with "Missing: readdir-glob@3.0.0 from lock file" — every 24.x/26.x test job on the PR and on main died at install, before any test ran.

Fix: one install pass with npm 11 against the current main, which restores node_modules/readdir-glob at 3.0.0 in the lockfile (+15/−9 lines, no version changes anywhere — minimatch stays a single 11.0.3, glob stays 14.0.3).

Verification in scratch on top of main (765efa0):

  • npm ci exit 0 under BOTH npm 11.7 (via npx) and npm 10.9.4
  • tsc clean, eslint clean, prettier --check clean
  • Full test suite: 1434/1451 pass; only the 3 known fetch_url sandbox-DNS failures, identical on unmodified main

Going forward, lockfile changes are verified with both npm generations before shipping.

@GenAICloudDevOps
GenAICloudDevOps merged commit 216c525 into main Nov 1, 2026
47 checks passed
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