Skip to content

fix(renovate): allow remote tarball fetches during artifact updates - #1346

Merged
gabrielseco merged 1 commit into
mainfrom
fix/renovate-allow-remote-artifacts
Sep 22, 2026
Merged

gabrielseco merged 1 commit into
mainfrom
fix/renovate-allow-remote-artifacts

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Renovate artifact updates are still failing after #1341, but on a different error. This fixes it.

Changes

  • Add allow-remote=all to Renovate's own npmrc config in renovate.json.

npm 12 (Renovate's hosted runner) changed the allow-remote default from all to none. @tailwindcss/oxide's wasm32-wasi optional fallback declares bundleDependencies, which forces npm to download/unpack that tarball to re-resolve the tree on any package.json edit. npm 12 now refuses that as a "remote" fetch by default, even though it comes straight from registry.npmjs.org:

npm error code EALLOWREMOTE
npm error Fetching packages of type "remote" have been disabled
npm error Refusing to fetch ".../@tailwindcss/oxide-wasm32-wasi-4.2.4.tgz"

This repo's Renovate npmrc already forces include=optional (to keep every platform's optional binaries in the lockfile for devs/CI on other platforms) — that's why Renovate touches this package at all. allow-remote=all is scoped the same way as #1341's ignoreScripts: it only affects Renovate's own artifact-update sandbox, not real CI or local installs.

Seen failing live on #1340 (jsdom patch bump), which hit this after #1341 already fixed the earlier tsdown/prepare-script issue.

Test plan

🤖 Generated with Claude Code


Note

Low Risk
Single Renovate-only npmrc tweak with no change to application runtime, auth, or production install behavior.

Overview
Renovate artifact updates were failing with npm 12’s EALLOWREMOTE when re-locking after dependency bumps, because optional packages such as @tailwindcss/oxide’s wasm32-wasi tarball are treated as remote fetches while include=optional keeps them in the tree.

This PR adds allow-remote=all to Renovate’s npmrc in renovate.json, alongside the existing optional=true / include=optional settings, so Renovate’s lockfile refresh sandbox can download those registry tarballs again. The setting applies only to Renovate’s update runs, not local installs or CI.

Reviewed by Cursor Bugbot for commit 3123d22. Bugbot is set up for automated code reviews on this repo. Configure here.

npm 12 (Renovate's hosted runner) changed allow-remote's default from
all to none. @tailwindcss/oxide's wasm32-wasi optional fallback
declares bundleDependencies, which forces npm to download/unpack that
tarball to re-resolve the tree on any package.json edit — npm 12 now
refuses that as a "remote" fetch even though it comes straight from
registry.npmjs.org:

  npm error code EALLOWREMOTE
  npm error Fetching packages of type "remote" have been disabled
  npm error Refusing to fetch ".../@tailwindcss/oxide-wasm32-wasi-4.2.4.tgz"

This repo's Renovate npmrc already forces `include=optional` (to keep
every platform's optional binaries in the lockfile for devs/CI on
other platforms), which is why Renovate touches this package at all.
Adding allow-remote=all to that same Renovate-only npmrc unblocks the
fetch. Same scoping as #1341's ignoreScripts: it has no effect on real
CI or local installs.

Seen failing on #1340 (jsdom bump) after #1341 fixed the earlier
tsdown/prepare-script issue.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-rhiqwdm2n-remotecom.vercel.app
Latest Commit:3123d22

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-dgzcg8r8o-remotecom.vercel.app
Latest Commit:3123d22

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 86.19% 86.19% 0% ⚪
Statements 85.77% 85.77% 0% ⚪
Functions 84.73% 84.73% 0% ⚪
Branches 77.66% 77.66% 0% ⚪

Detailed Breakdown

Lines Coverage
  • Covered: 4780 / 5546
  • Coverage: 86.19%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 4864 / 5671
  • Coverage: 85.77%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 1276 / 1506
  • Coverage: 84.73%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 2962 / 3814
  • Coverage: 77.66%
  • Change: 0% (0 branches)

✅ Coverage check passed

@gabrielseco
gabrielseco merged commit 054b489 into main Sep 22, 2026
13 checks passed
@gabrielseco
gabrielseco deleted the fix/renovate-allow-remote-artifacts branch September 22, 2026 08:19
@gabrielseco gabrielseco mentioned this pull request Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants