Repository navigation
chore(deps): refresh npm dependencies and rebuild yarn.lock - #350
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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]>
cf547bb to
753b34b
Compare
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; itsrenovate/artifactscheck fails onyarn.lock. Renovate rebuildsyarn.lockfrom empty, and a fresh resolve fails: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/coreis 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 npmgotthat our lock already ships, and keeps@yarnpkg/coreat its newest release.Refresh
yarn.lock--immutablepassespackage.jsonfiles raised to npm latest; no major version changes existexamples/package.json@napi-rs/imageexact pin1.14.0→1.16.0;ai,zod,@openrouter/ai-sdk-providerranges raised@napi-rs/cli~3.8.6(was^3.8.6); see belowdrizzle-orm1.0.0-rc.5-ab785fcpin (npmlatest0.45.4 is older); other exact pins are already latestThe
@napi-rs/imagepin mattered: with1.14.0inexamples/and^1.16.0elsewhere, Yarn nested a copy inexamples/node_modules.findNodeModules()inexamples/grpo/lsp.tsstops at the nearestnode_modules, so it could not find@octokitandexamples/__tests__/lsp.test.tsfailed (75 tests).Checks (local)
yarn build:ts,yarn typecheck,vp lint --type-aware --type-check, dashboardbuild:ui: pass.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.Why
@napi-rs/cliis held at~3.8.6@napi-rs/cli3.10.0+ adds a__napiBindingTargetexport to the generated loader andindex.d.cts(checked in the published 3.8.0 … 3.10.12 tarballs: first in 3.10.0). Neither committed declaration copy has it, sopackages/core/build.tsassertDeclarationCopiesMatch()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