Skip to content

chore(deps): refresh npm dependencies and rebuild yarn.lock - #350

Merged
Brooooooklyn merged 2 commits into
fix/discovery-nested-gguffrom
chore/refresh-npm-deps
Nov 9, 2026
Merged

Brooooooklyn merged 2 commits into
fix/discovery-nested-gguffrom
chore/refresh-npm-deps

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Part of stack #349, on top of #341. CI runs after the PR below it merges and GitHub retargets this one to main.

Why Renovate's lock file maintenance (#328) never succeeds

#328 updated only Cargo.lock; its renovate/artifacts check fails on yarn.lock. Renovate rebuilds yarn.lock from empty, and a fresh resolve fails:

@yarnpkg/[email protected] (npm, 2026-09-24)
  dependencies.got = "patch:got@npm%3A11.8.2#~/.yarn/patches/got-npm-11.8.2-c1eb105458.patch"
→ YN0001: ENOENT .yarn/patches/got-npm-11.8.2-c1eb105458.patch

The patch file exists only in the Yarn repository. Our current lock still holds @yarnpkg/[email protected], so normal installs work; only a fresh resolve fails. @yarnpkg/core is used only by the private @mlx-node/internal-tools.

Fix: root resolution "@yarnpkg/core/got": "npm:^11.8.6". It replaces only that one dependency, with the plain npm got that our lock already ships, and keeps @yarnpkg/core at its newest release.

Refresh

Change Detail
yarn.lock rebuilt from empty (Renovate's method); a full install leaves it unchanged; --immutable passes
Caret ranges 41 lower bounds in 14 package.json files raised to npm latest; no major version changes exist
examples/package.json @napi-rs/image exact pin 1.14.0 → 1.16.0; ai, zod, @openrouter/ai-sdk-provider ranges raised
Held @napi-rs/cli ~3.8.6 (was ^3.8.6); see below
Kept drizzle-orm 1.0.0-rc.5-ab785fc pin (npm latest 0.45.4 is older); other exact pins are already latest

The @napi-rs/image pin mattered: with 1.14.0 in examples/ and ^1.16.0 elsewhere, Yarn nested a copy in examples/node_modules. findNodeModules() in examples/grpo/lsp.ts stops at the nearest node_modules, so it could not find @octokit and examples/__tests__/lsp.test.ts failed (75 tests).

Checks (local)

  • yarn build:ts, yarn typecheck, vp lint --type-aware --type-check, dashboard build:ui: pass.
  • Full vp test --run, compared with the base branch (fix(lm): discover GGUFs in a repository's variant folders #341) on the same machine: same result on both (119 files pass; 125 files / 17 tests fail on both, all |addon| tests that need a current native addon build, which this machine does not have). No test fails only on this branch.
  • Peer-dependency warnings after install are the same 3 as before.

Why @napi-rs/cli is held at ~3.8.6

@napi-rs/cli 3.10.0+ adds a __napiBindingTarget export to the generated loader and index.d.cts (checked in the published 3.8.0 … 3.10.12 tarballs: first in 3.10.0). Neither committed declaration copy has it, so packages/core/build.ts assertDeclarationCopiesMatch() would fail every macOS native build. With ^3.8.6, any fresh resolve (Renovate's lock rebuild included) picks 3.10.x, so the range is narrowed to the version this repo already builds with. The 3.10 upgrade needs regenerated bindings and a full native build; that is a separate change. (Found by Codex adversarial review.)

🤖 Generated with Claude Code

@Brooooooklyn
Brooooooklyn added this pull request to stack #349 November 9, 2026 03:16
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9905ca18-3444-484d-b3be-a301e91c4c67

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T04:51:03.479614Z 753b34b New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Brooooooklyn and others added 2 commits November 9, 2026 12:42
Renovate's monthly lock file maintenance (#328) has failed on yarn.lock
since 2026-09-24: @yarnpkg/[email protected] was published with
  got: "patch:got@npm%3A11.8.2#~/.yarn/patches/got-npm-11.8.2-c1eb105458.patch"
a patch file that exists only in the Yarn repository. Any fresh resolve
(yarn.lock deleted, as Renovate does) fails with ENOENT on that patch.
The root resolution "@yarnpkg/core/got": "npm:^11.8.6" replaces it with
the plain npm package our lock already used.

- yarn.lock rebuilt from empty (Renovate's method); stable under a full
  install and `--immutable`
- every caret lower bound raised to the npm latest (no major bumps exist)
- examples: @napi-rs/image exact pin 1.14.0 -> 1.16.0. The old pin made
  Yarn nest a second copy in examples/node_modules, and
  examples/grpo/lsp.ts findNodeModules() then stopped there and could not
  find @octokit (examples/__tests__/lsp.test.ts failed)
- drizzle-orm stays on its 1.0.0-rc pin (npm latest 0.45.4 is older)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@napi-rs/cli 3.10.0+ adds a `__napiBindingTarget` export to the generated
loader and index.d.cts. Neither committed declaration copy has it, so
packages/core/build.ts assertDeclarationCopiesMatch() would fail every
macOS native build. A caret range lets any fresh resolve (Renovate's lock
rebuild included) pick 3.10. Upgrading needs regenerated bindings and a
full native build, so it is left to its own change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Brooooooklyn
Brooooooklyn force-pushed the chore/refresh-npm-deps branch from cf547bb to 753b34b Compare November 9, 2026 04:42
@Brooooooklyn
Brooooooklyn merged commit 2bfd119 into main Nov 9, 2026
10 checks passed
@Brooooooklyn
Brooooooklyn deleted the chore/refresh-npm-deps branch November 9, 2026 05:43
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