Skip to content

Bumped vitest catalog to 4.1.5 to match @vitest/coverage-v8#27951

Merged
9larsons merged 2 commits into
mainfrom
bump-vitest-catalog
May 18, 2026
Merged

Bumped vitest catalog to 4.1.5 to match @vitest/coverage-v8#27951
9larsons merged 2 commits into
mainfrom
bump-vitest-catalog

Conversation

@9larsons
Copy link
Copy Markdown
Contributor

Summary

pnpm-workspace.yaml pinned vitest: 4.1.2 in the top-level catalog while @vitest/coverage-v8: 4.1.5 in the same catalog declares an exact peer on vitest@4.1.5. As a result every pnpm install printed:

ghost/core
└─┬ @vitest/coverage-v8 4.1.5
  └── ✕ unmet peer vitest@4.1.5: found 4.1.2

Bumping the catalog vitest entry from 4.1.2 to 4.1.5 (a patch release) realigns the two packages and clears the warning. The lockfile is regenerated to match. Other peer warnings emitted alongside this one (bookshelf/knex, sinon-chai/chai, html-validate/vitest range, @testing-library/react, etc.) are pre-existing and out of scope here.

Test plan

  • pnpm install — the unmet peer vitest@4.1.5: found 4.1.2 warning is gone; no new peer warnings appear
  • apps/comments-ui pnpm test:unit — 13 test files / 219 tests passed (vitest 4.1.5)
  • apps/posts pnpm test:unit — 32 test files / 184 tests passed (vitest 4.1.5)

- @vitest/coverage-v8 4.1.5 declares an exact peer on vitest@4.1.5, but the
  catalog pinned vitest at 4.1.2, so every pnpm install printed an unmet peer
  warning for ghost/core
- bumping the catalog entry to 4.1.5 aligns vitest with its coverage plugin
  and clears the warning; this is a patch bump with no API impact
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

Review Change Stack

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4cd45223-9f59-44d5-8b2e-91e6dd68b9e2

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

Walkthrough

The PR bumps the vitest dependency version from 4.1.2 to 4.1.5 in the pnpm-workspace.yaml catalog configuration. This is a patch-level version update that affects the testing framework used across the monorepo workspace. No other workspace settings or package versions were changed.

Possibly related PRs

Suggested reviewers

  • EvanHahn
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main change: bumping vitest from 4.1.2 to 4.1.5 in the pnpm workspace catalog to match @vitest/coverage-v8's peer dependency requirement.
Description check ✅ Passed The description comprehensively explains the peer dependency mismatch issue, the fix applied, and includes a detailed test plan showing the warning is resolved and tests pass with the new version.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump-vitest-catalog

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.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.78%. Comparing base (82375b6) to head (b0e04a5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #27951   +/-   ##
=======================================
  Coverage   73.78%   73.78%           
=======================================
  Files        1522     1522           
  Lines      128637   128637           
  Branches    15415    15420    +5     
=======================================
+ Hits        94911    94914    +3     
+ Misses      32792    32788    -4     
- Partials      934      935    +1     
Flag Coverage Δ
admin-tests 53.54% <ø> (ø)
e2e-tests 73.78% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@9larsons 9larsons enabled auto-merge (squash) May 18, 2026 19:57
@9larsons 9larsons merged commit a0b01ce into main May 18, 2026
45 checks passed
@9larsons 9larsons deleted the bump-vitest-catalog branch May 18, 2026 20:00
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