Skip to content

mono - chore: upgrade vitest to 4.1.10 and migrate biome config#1683

Merged
jaredwray merged 1 commit into
mainfrom
claude/cacheable-dependency-management-d6gb1r
Jul 8, 2026
Merged

mono - chore: upgrade vitest to 4.1.10 and migrate biome config#1683
jaredwray merged 1 commit into
mainfrom
claude/cacheable-dependency-management-d6gb1r

Conversation

@jaredwray

Copy link
Copy Markdown
Owner

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines and Code of Conduct
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

No new tests are required — this is dev-tooling maintenance with no behavioral change. The existing suite continues to pass at 100% coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Chore — catch-up dev-tooling maintenance. No runtime or public-API changes.

Changes

vitest 4.1.9 → 4.1.10 (dev dependencies, root package.json)

  • vitest, @vitest/coverage-v8, @vitest/spy
  • Patch release; both 4.1.10 and its siblings are past the 48h minimumReleaseAge window (published 2026-07-06).

biome migrate (config only)

  • biome.json and packages/benchmark/biome.json: replace the deprecated linter.rules.recommended: true with linter.rules.preset: "recommended" (the form Biome 2.5 expects — clears the deprecation left by the Biome 2.5 upgrade in mono - chore: upgrade code quality dependencies #1669).
  • packages/benchmark/biome.json: add "root": false, required for nested configs in Biome 2.x.
  • Behavior-neutral: verified identical lint findings before and after the migration.

Verification

  • pnpm build — all packages build.
  • pnpm -r --no-bail test — 8 packages fully green; the only failures are the 3 pre-existing, environment-only cases (external mockhttp.org:8080 egress; two file-entry-cache tests that rely on non-root file-permission enforcement), all unrelated to this change and green on CI.
  • biome check — migrated config validated; findings unchanged vs. main.

Generated by Claude Code

Catch-up dev-tooling maintenance:

- Bump vitest, @vitest/coverage-v8, and @vitest/spy from 4.1.9 to 4.1.10.
- Run `biome migrate`: replace the deprecated `linter.rules.recommended: true`
  with `linter.rules.preset: "recommended"`, and add `root: false` to the
  nested benchmark config (required for nested configs in Biome 2.x). The
  migration is behavior-neutral: identical lint findings before and after.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P1TBuMiXotBjpNHYcbwvqf

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Biome configuration files to use the "preset": "recommended" linter rule and marks the benchmark package's Biome configuration as non-root. Additionally, it upgrades Vitest and its related coverage and spy packages from version 4.1.9 to 4.1.10, along with corresponding lockfile updates. There are no review comments, so I have no feedback to provide.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​vitest/​spy@​4.1.101001007099100
Addedvitest@​4.1.10981007999100
Added@​vitest/​coverage-v8@​4.1.10991007999100

View full report

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c21df29) to head (dc3a3ae).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1683   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines         3504      3504           
  Branches       795       795           
=========================================
  Hits          3504      3504           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray jaredwray merged commit 93aedf3 into main Jul 8, 2026
12 checks passed
@jaredwray jaredwray deleted the claude/cacheable-dependency-management-d6gb1r branch July 8, 2026 22:12
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.

2 participants