Pin @vitest/coverage-v8 to latest#88
Merged
devlux76 merged 2 commits intoenforce-coverage-80from Mar 14, 2026
Merged
Conversation
Merged
Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [WIP] Address feedback on enforcing 80% coverage by using latest dependencies
Pin @vitest/coverage-v8 to latest
Mar 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Aligns Vitest’s coverage provider dependency with the project’s existing “latest” devDependency strategy to avoid peer dependency drift as vitest@latest advances.
Changes:
- Update
@vitest/coverage-v8from^4.1.0tolatestfor consistency withvitestand other devDependencies.
devlux76
added a commit
that referenced
this pull request
Mar 14, 2026
* feat: add coverage enforcement for tests and update CI configuration * Enforce minimum 80% test coverage in CI + local pre-push hook * Relax branch coverage enforcement while keeping 80% minimum line/function/statement coverage * Fix vitest coverage config: remove unsupported 'all' option * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Opt into Node.js 24 for GitHub Actions (force JS actions to Node 24) * Pin @vitest/coverage-v8 to latest (#88) * Initial plan * Update @vitest/coverage-v8 to latest to match all other dependencies Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com> * Run guard:model-derived and guard:hotpath-policy on pre-push and fix model-derived guard false positives * Fix guard-hotpath-policy to allow lib/core/HotpathPolicy.ts --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@vitest/coverage-v8was pinned to^4.1.0whilevitestusedlatest, risking peer dependency mismatches asvitest@latestadvances.Change
@vitest/coverage-v8:^4.1.0→latest, consistent with all otherdevDependencies📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.