Skip to content

Sync vitest version with coverage-v8 to fix CI#455

Merged
hotlong merged 2 commits intodependabot/npm_and_yarn/vitest/coverage-v8-4.0.18from
copilot/view-item-details-page
Feb 1, 2026
Merged

Sync vitest version with coverage-v8 to fix CI#455
hotlong merged 2 commits intodependabot/npm_and_yarn/vitest/coverage-v8-4.0.18from
copilot/view-item-details-page

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 1, 2026

Dependabot upgraded @vitest/coverage-v8 to 4.0.18 but left vitest at 2.1.8, causing runtime error in coverage tests:

TypeError: this.getUntestedFiles is not a function

Changes

  • Upgraded vitest from ^2.1.8 to ^4.0.18 in packages/spec/package.json
  • Updated pnpm-lock.yaml to reflect the version change

The packages now run on matching major versions, resolving the API incompatibility.

Original prompt

引用: https://github.com/objectstack-ai/spec/actions/runs/21556109020/job/62112535044#step:9:1


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Feb 1, 2026 4:35am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Add view item details page Sync vitest version with coverage-v8 to fix CI Feb 1, 2026
Copilot AI requested a review from hotlong February 1, 2026 04:35
@hotlong hotlong marked this pull request as ready for review February 1, 2026 05:43
Copilot AI review requested due to automatic review settings February 1, 2026 05:43
@github-actions github-actions bot added dependencies Pull requests that update a dependency file size/xs labels Feb 1, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a dependency version mismatch that was causing test coverage failures in CI. Dependabot had previously upgraded @vitest/coverage-v8 to version 4.0.18 while leaving vitest at version 2.1.8, resulting in an API incompatibility error: "TypeError: this.getUntestedFiles is not a function".

Changes:

  • Upgraded vitest from ^2.1.8 to ^4.0.18 to match the @vitest/coverage-v8 version
  • Updated pnpm-lock.yaml with all transitive dependency changes from the vitest 2.x → 4.x upgrade

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
packages/spec/package.json Updated vitest dependency version from ^2.1.8 to ^4.0.18
pnpm-lock.yaml Updated lockfile to reflect vitest 4.x and all transitive dependencies including vite 7.x, chai 6.x, and new peer dependency requirements
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@hotlong hotlong merged commit f25ad63 into dependabot/npm_and_yarn/vitest/coverage-v8-4.0.18 Feb 1, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants