Skip to content

chore: upgrade deps - #22

Merged
Brooooooklyn merged 1 commit into
mainfrom
chore/upgrade-deps
Feb 22, 2026
Merged

Brooooooklyn merged 1 commit into
mainfrom
chore/upgrade-deps

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Feb 22, 2026 •

Copy link
Copy Markdown
Contributor

Note

Low Risk
Primarily dependency/version bumps and CI caching changes; main risk is CI/tooling or runtime behavior shifting due to upstream dependency updates.

Overview
CI switches Rust/Cargo caching in .github/workflows/ci.yml from manual actions/cache paths to Swatinem/rust-cache@v2 across build/test/lint jobs.

Dependencies are upgraded across the workspace and lockfile (notably ai/@openrouter/ai-sdk-provider/zod, @huggingface/hub, @inquirer/prompts, @types/node, oxc-parser, and oxfmt in @mlx-node/core), updating the generated yarn.lock accordingly.

Written by Cursor Bugbot for commit c0bc29b. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

  • Chores
    • Updated multiple dependency versions across examples and packages, including AI SDKs, language model libs, validation tooling, and dev tooling.
  • Chores (CI)
    • Improved CI caching by consolidating cache steps to a Rust-focused cache provider to streamline builds and workflows.

@coderabbitai

coderabbitai Bot commented Feb 22, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updated dependency versions across multiple package.json files and replaced Cargo-specific cache steps with a Rust cache action in the CI workflow; changes are limited to dependency version bumps and a CI cache-step replacement.

Changes

Cohort / File(s) Summary
Examples dependencies
examples/package.json
Bumped @openrouter/ai-sdk-provider (^2.2.1 → ^2.2.3), ai (^6.0.78 → ^6.0.97), zod (^4.3.5 → ^4.3.6).
Root workspace devDependencies
package.json
Updated devDependencies: @huggingface/hub (^2.7.2 → ^2.10.3), @inquirer/prompts (^8.2.0 → ^8.2.1), @types/node (^25.0.10 → ^25.3.0), oxc-parser (^0.110.0 → ^0.114.0).
Package workspace devDependencies
packages/core/package.json, packages/trl/package.json
packages/core: bumped oxfmt (^0.27.0 → ^0.34.0). packages/trl: bumped @huggingface/hub (^2.7.1 → ^2.10.3).
CI workflow
.github/workflows/ci.yml
Replaced Cargo-specific cache steps with Swatinem/rust-cache@v2 Rust cache step across relevant jobs (build/test/lint).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • ci: publish #13 — also modifies .github/workflows/ci.yml (adds a Publish job and other CI changes); related by CI workflow edits.

Poem

🐰 I hopped through json, small and spry,
Bumped a version, gave a sigh,
Cache swapped in the CI night,
Dependencies now sleep tight,
A tiny hop — the repo’s bright. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: upgrade deps' directly corresponds to the main changes in the PR, which consist entirely of dependency version updates across multiple package.json files and CI workflow optimizations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/upgrade-deps

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.github/workflows/ci.yml (1)

33-34: Consider explicitly setting CARGO_INCREMENTAL: '0' in CI.

Swatinem/rust-cache@v2 is a clean, well-motivated improvement that already handles incremental compilation artifacts by removing them from the cache and automatically setting CARGO_INCREMENTAL=0 internally.

While the workflow functions correctly as-is, explicitly setting CARGO_INCREMENTAL: '0' in the global env is idiomatic for CI workflows with rust-cache—it aligns with documented best practices and makes the intent clear to future maintainers.

♻️ Suggested fix
 env:
   CARGO_TERM_COLOR: always
-  CARGO_INCREMENTAL: '1'
+  CARGO_INCREMENTAL: '0'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/ci.yml around lines 33 - 34, Add an explicit global
environment variable CARGO_INCREMENTAL set to '0' in the GitHub Actions workflow
so CI clearly disables Rust incremental compilation (in addition to using
Swatinem/rust-cache@v2); update the workflow's env block to include
CARGO_INCREMENTAL: '0' to make the intent explicit and align with rust-cache
best practices.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.github/workflows/ci.yml:
- Around line 33-34: Add an explicit global environment variable
CARGO_INCREMENTAL set to '0' in the GitHub Actions workflow so CI clearly
disables Rust incremental compilation (in addition to using
Swatinem/rust-cache@v2); update the workflow's env block to include
CARGO_INCREMENTAL: '0' to make the intent explicit and align with rust-cache
best practices.

@Brooooooklyn
Brooooooklyn merged commit 033e915 into main Feb 22, 2026
6 checks passed
@Brooooooklyn
Brooooooklyn deleted the chore/upgrade-deps branch February 22, 2026 08:18
@coderabbitai coderabbitai Bot mentioned this pull request Mar 11, 2026
Brooooooklyn added a commit that referenced this pull request Apr 11, 2026
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