Skip to content

chore: disable npm and cargo updates in Renovate#1536

Merged
Boshen merged 1 commit into
mainfrom
chore/disable-renovate-npm-cargo
May 8, 2026
Merged

chore: disable npm and cargo updates in Renovate#1536
Boshen merged 1 commit into
mainfrom
chore/disable-renovate-npm-cargo

Conversation

@Boshen
Copy link
Copy Markdown
Member

@Boshen Boshen commented May 8, 2026

Renovate bot cannot process npm and cargo due to our clone repo approach.

Lockfile updates currently fail because the gitignored sibling clones
(rolldown/, vite/) are not present in Renovate's worktree but are
referenced by pnpm-workspace.yaml (patches) and Cargo.toml (path member).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit eca82a0
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69fd8ee770ed980008393774

@Boshen Boshen merged commit 7989d0a into main May 8, 2026
37 checks passed
@Boshen Boshen deleted the chore/disable-renovate-npm-cargo branch May 8, 2026 07:23
fengmk2 added a commit that referenced this pull request Jun 2, 2026
…list (#1744)

## Why

Since #1536, `.github/renovate.json` disabled **all** npm and cargo
updates, so nothing gets updated and security alerts persist. The
disable was a workaround for lockfile refresh failing (the vendored
`vite/` and `rolldown/` dirs that lockfiles depend on are gitignored).

## What

Replace the blanket disable with a targeted ignore-list, keeping
everything else enabled:

- **Ignored npm** (managed upstream): `rolldown`, `oxc-*`,
`@oxc-node/*`, `@oxc-project/*`, `@vitejs/devtools`, `oxfmt`, `oxlint`,
`oxlint-tsgolint`, `tsdown`, `vite`, `vitest`, `vitest-dev`.
- **Ignored cargo**: `oxc` crates and the vite-task git deps (`fspy`,
`vite_glob`, `vite_path`, `vite_powershell`, `vite_str`, `vite_task`,
`vite_workspace`).
- **Everything else** updates again, so security alerts get remediation
PRs.

## Note

Lockfile refresh still can't succeed in Renovate (vendored dirs are
gitignored), but that no longer blocks the PR: Renovate opens it with an
"Artifact update problem" note, and the lockfile is regenerated manually
(`just init && pnpm install` / `cargo update`) before merge.
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