Repository navigation
Conversation
…ls under --dry-run/--package-lock-only (npm#9800)
Vihvarsan
marked this pull request as ready for review
July 29, 2026 15:19
Vihvarsan
marked this pull request as draft
July 29, 2026 15:24
Vihvarsan
marked this pull request as ready for review
July 29, 2026 15:39
Vihvarsan
marked this pull request as draft
July 29, 2026 15:40
Vihvarsan
marked this pull request as ready for review
August 3, 2026 15:27
Vihvarsan
marked this pull request as draft
August 3, 2026 15:27
v-kchindam-infy
marked this pull request as ready for review
August 14, 2026 14:12
3 tasks done
Habitats
added a commit
to Vaskeladden/uptime-monitor
that referenced
this pull request
Oct 8, 2026
…ies (#5) ## Summary Renovate's hosted runner uses npm 12, whose default is `allow-remote=none`. During `npm install --package-lock-only`, npm opens the registry tarball of every package that declares `bundleDependencies` and treats that URL as a remote spec (npm/cli#9800, fix pending in npm/cli#9819). This repository's tree contains `npm` itself (via `@semantic-release/npm`), which bundles its dependencies, so any update that re-resolves it fails with `EALLOWREMOTE`. The builder repositories hit the same bug through Tailwind (Vaskeladden/builder-app-template#22). This sets `npmrc: "allow-remote=all"` with `npmrcMerge: true`, so Renovate keeps the existing `package-lock=true` line. It applies only to Renovate's `--ignore-scripts` lockfile runs; local development and CI keep npm defaults. ## Verification In a fresh clone of master, deleting `package-lock.json` and running `npx npm@12 install --package-lock-only --no-audit --ignore-scripts` fails with `Refusing to fetch "https://registry.npmjs.org/npm/-/npm-11.21.0.tgz"`. With the merged `.npmrc` Renovate writes from this config it succeeds. `renovate-config-validator --strict` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Upptime Bot <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
6 tasks done
Rxphee
added a commit
to Rxphee/plannr
that referenced
this pull request
Oct 30, 2026
Renovate's #9 raised `constraints.npm` from `^11` to `^12.0.0`. That undoes the workaround from #8: lock file maintenance for `web/package-lock.json` fails again with `EALLOWREMOTE`, because npm 12 refuses the registry tarball of `@tailwindcss/oxide-wasm32-wasi` (a package with `bundleDependencies`) when it runs with `--package-lock-only`. The upstream bug, [npm/cli#9800](npm/cli#9800), is still open; both fix PRs (npm/cli#9818, npm/cli#9819) are unmerged. ## Change - Set `constraints.npm` back to `^11`. - Add a package rule with `allowedVersions: "<12"` for the dependency that raised it. The `renovate-config` manager extracts every entry of `constraints` in `renovate.json` as a dependency with `depType: tool-constraint` (datasource `npm`, package `npm`), so the rule matches exactly that and leaves the npm packages in `package.json` alone. ## Verification - `renovate-config-validator --strict` passes. - A local `renovate --platform=local --dry-run=lookup` lists no update for the npm tool constraint. With the rule's limit removed, the same run proposes `^12.0.0` as a major update again. Once npm/cli#9800 is fixed and released, remove the rule and the constraint together. The next lock file maintenance runs on its monthly schedule; to check the fix earlier, tick "Lock file maintenance" under "Awaiting Schedule" in the Dependency Dashboard (#1) after merging.
cewert
added a commit
to jellyrock/jellyrock.app
that referenced
this pull request
Nov 10, 2026
…es (#191) * chore: Mark the required PR template sections Overview, Changes and Testing are now marked required in their hints, so a contributor and the /pr skill read the same rule in one place. The Testing hint already asked for "Not tested" and why when nothing ran, so it read as required without saying so. * chore(agents): Update the agent skills and rules * chore(agents): Update the agent skills and rules * fix: Name the screenshot build in the browser-test commands `npm test` also runs the screenshot tests against dist-visual/, which only `npm run build:visual` makes. #171 moved the screenshot tests to that build and updated the README, but the PR template's Testing hint still said `npm run build && npm test`. In a fresh checkout that fails, and playwright-docker.sh told you to run `npm run build`, which does not make dist-visual/. With an old dist-visual/ left over, the screenshots ran against a stale build. - The Testing hint now says `npm run build && npm run build:visual && npm test`, and `npm run build:visual && npm run test:visual:update` for new baselines. - playwright-docker.sh names `npm run build:visual` when DIST_DIR is dist-visual. A unit test covers both messages; the dist-visual case failed before the fix. Rejected: making `npm test` run both builds itself. It would rebuild the site twice on every run and change what `npm test` does for anyone used to it. * chore(agents): Update the agent skills and rules * build: Let Renovate write lock files past npm 12's bundle bug Renovate's tailwindcss 4.3.5 PR (#178) has failed CI since 2026-11-02: package.json was bumped but package-lock.json was not, so `npm ci` refused the mismatch. Renovate's lock update had failed with EALLOWREMOTE ("Artifact update problem" comment on the PR). Cause: npm 12 defaults allow-remote to none. When it writes a lock file (--package-lock-only), it fetches a package that declares bundleDependencies by its full registry URL to read the bundle, then refuses that fetch as "remote". @tailwindcss/oxide-wasm32-wasi bundles its WASM runtime, so every tailwind bump hits it. Known upstream: npm/cli#9800, fix in npm/cli#9819 (unreviewed). Reproduced: `npx [email protected] install --package-lock-only` on #178's package.json fails the same way. With --allow-remote=all it writes the 4.3.5 lock, and a plain `npm ci` (npm 12 defaults) then passes against it. The setting sits in the npm manager block, so only Renovate's npm runs get it; CI and local installs keep npm 12's default. renovate-config-validator passes. Rejected: a repo .npmrc (drops the guard for every install), going back to npm 11 (loses npm 12's allow-scripts defaults), regenerating each lock by hand (recurs on every tailwind bump, and Renovate stops managing a branch someone else pushed to). * chore(agents): Update the agent skills and rules
This was referenced Nov 16, 2026
4 tasks
doonga
added a commit
to greyrock-labs/home-ops
that referenced
this pull request
Nov 21, 2026
Every npm lockfile artifact update (e.g. todd/unleashed-voucher-manager #2–#5) fails with EALLOWREMOTE. **Cause:** no repo constrains npm, so Renovate installs the latest npm (12.2.3) before running `npm install --package-lock-only`. npm 12 made `allow-remote` default to `none`, and it wrongly treats registry tarballs of packages with `bundleDependencies` (here `@tailwindcss/oxide-wasm32-wasi`) as remote in lockfile-only/dry-run installs: npm/cli#9800, fix pending in npm/cli#9819. npm 11.20.0 resolves the same lockfile fine. **Fix:** set the global `constraints` default `{"npm": "^11"}` through `RENOVATE_CONSTRAINTS`. Remove it once npm 12 ships the fix. The `Unknown env config "store"` warning is unrelated noise (Renovate passes `npm_config_store` for pnpm). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/900
Merged
9 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes --dry-run/--package-lock-only throwing EALLOWREMOTE on registry packages that declare bundleDependencies.
The ideal-tree build "cracks open" the tarball to read bundled deps, but that pacote.extract call was missing the same
registry-tarball allowRemote exemption that reify()'s real extraction path already applies, so pacote's own
allow-remote gate mis-fired on ordinary registry tarballs. Extracted the exemption check into a shared helper used by
both paths, and added a regression test
Root cause: GitHub issue #9800 — npm install --dry-run (and --package-lock-only) crash with EALLOWREMOTE on any
registry package that declares bundleDependencies, even though a real install of the same package succeeds.