Skip to content

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

Merged
hotlong merged 2 commits into
dependabot/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 into
dependabot/npm_and_yarn/vitest/coverage-v8-4.0.18from
copilot/view-item-details-page

Conversation

CopilotAI commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

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

vercelBot commented Feb 1, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
specReadyReadyPreview, CommentFeb 1, 2026 4:35am

Request Review

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

CopilotAI 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.

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.

FileDescription
packages/spec/package.jsonUpdated vitest dependency version from ^2.1.8 to ^4.0.18
pnpm-lock.yamlUpdated 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.18Feb 1, 2026
12 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filesize/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@hotlong