Skip to content

Pin @vitest/coverage-v8 to latest#88

Merged
devlux76 merged 2 commits intoenforce-coverage-80from
copilot/sub-pr-87
Mar 14, 2026
Merged

Pin @vitest/coverage-v8 to latest#88
devlux76 merged 2 commits intoenforce-coverage-80from
copilot/sub-pr-87

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 14, 2026

@vitest/coverage-v8 was pinned to ^4.1.0 while vitest used latest, risking peer dependency mismatches as vitest@latest advances.

Change

  • @vitest/coverage-v8: ^4.1.0latest, consistent with all other devDependencies

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

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
Copilot AI requested a review from devlux76 March 14, 2026 10:22
@devlux76 devlux76 marked this pull request as ready for review March 14, 2026 10:32
Copilot AI review requested due to automatic review settings March 14, 2026 10:32
@devlux76 devlux76 merged commit 59de096 into enforce-coverage-80 Mar 14, 2026
2 of 4 checks passed
@devlux76 devlux76 deleted the copilot/sub-pr-87 branch March 14, 2026 10:33
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

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-v8 from ^4.1.0 to latest for consistency with vitest and 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>
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.

3 participants