Skip to content

Fix vitest plugin version mismatch causing coverage test failure - #85

Merged
hotlong merged 2 commits into
dependabot/npm_and_yarn/vitest-4.0.17from
copilot/update-action-processing-workflow
Jan 15, 2026
Merged

Fix vitest plugin version mismatch causing coverage test failure#85
hotlong merged 2 commits into
dependabot/npm_and_yarn/vitest-4.0.17from
copilot/update-action-processing-workflow

Conversation

CopilotAI commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

Dependabot upgraded vitest to 4.0.17 but left @vitest/coverage-v8 and @vitest/ui at 2.1.x, causing runtime errors during coverage collection:

TypeError: Cannot read properties of undefined (reading 'fetchCache')
❯ V8CoverageProvider.convertCoverage

Changes

  • Upgrade @vitest/coverage-v8: ^2.1.8^4.0.17
  • Upgrade @vitest/ui: ^2.1.8^4.0.17

Vitest requires all companion packages to be on the same major version.

Original prompt

引用: https://github.com/objectstack-ai/objectui/actions/runs/21031234106/job/60467577993#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.

…test version
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ All checks passed!

  • ✅ Type check passed
  • ✅ Tests passed
  • ✅ Lint check completed

CopilotAI changed the title [WIP] Update action processing workflow in CIFix vitest plugin version mismatch causing coverage test failureJan 15, 2026
CopilotAI requested a review from hotlongJanuary 15, 2026 13:08
@hotlong
hotlong marked this pull request as ready for review January 15, 2026 13:09
@hotlong
hotlong merged commit a65a818 into dependabot/npm_and_yarn/vitest-4.0.17Jan 15, 2026
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@hotlong