Skip to content

Bump @vitest/coverage-v8 from 3.2.4 to 4.1.4 in /src/vscode-bicep-ui#19428

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/src/vscode-bicep-ui/vitest/coverage-v8-4.1.4
Open

Bump @vitest/coverage-v8 from 3.2.4 to 4.1.4 in /src/vscode-bicep-ui#19428
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/src/vscode-bicep-ui/vitest/coverage-v8-4.1.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 12, 2026

Bumps @vitest/coverage-v8 from 3.2.4 to 4.1.4.

Release notes

Sourced from @​vitest/coverage-v8's releases.

v4.1.4

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.3

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (vitest-dev/vitest#9975).

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​vitest/coverage-v8 since your current version.


Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 12, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot enabled auto-merge (squash) April 12, 2026 23:33
@microsoft-github-policy-service microsoft-github-policy-service Bot added the auto-merge Automatically merge this PR label Apr 12, 2026
Copy link
Copy Markdown
Contributor

@microsoft-github-policy-service microsoft-github-policy-service Bot left a comment

Choose a reason for hiding this comment

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

:shipit:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 12, 2026

Test this change out locally with the following install scripts (Action run 24867864061)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 24867864061
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 24867864061"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 24867864061
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 24867864061"

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/src/vscode-bicep-ui/vitest/coverage-v8-4.1.4 branch from a695ca1 to c7a00f1 Compare April 12, 2026 23:50
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 3.2.4 to 4.1.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.4/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/src/vscode-bicep-ui/vitest/coverage-v8-4.1.4 branch from c7a00f1 to d76dd2a Compare April 14, 2026 08:20
@brendandburns
Copy link
Copy Markdown
Member

@copilot please fix.

@brendandburns
Copy link
Copy Markdown
Member

@copilot please fix ci/cd failures.

…sion

Agent-Logs-Url: https://github.com/Azure/bicep/sessions/683bdbe5-d126-40a3-a108-f2519ce2467b

Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

@copilot please fix.

The CI failure was caused by a version mismatch: @vitest/coverage-v8 was bumped to 4.1.4, but vitest was still at 3.2.4. The coverage-v8 v4 uses BaseCoverageProvider from vitest/node, which only exists in vitest v4. Fixed in cd9d390 by also bumping vitest from ^3.2.4 to ^4.1.4 in all three workspace packages (apps/deploy-pane, packages/components, packages/messaging).

@copilot please fix ci/cd failures.

Fixed in cd9d390. The Test: VSCode Bicep UI jobs were failing with SyntaxError: The requested module 'vitest/node' does not provide an export named 'BaseCoverageProvider' because @vitest/coverage-v8 4.x requires vitest 4.x. Bumped vitest to ^4.1.4 across all affected packages to match.

@brendandburns
Copy link
Copy Markdown
Member

@copilot please fix CI/CD

…changes

Agent-Logs-Url: https://github.com/Azure/bicep/sessions/d19db16f-ad7b-4f30-866a-991f13fa9260

Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

@copilot please fix CI/CD

Fixed in 1e3c90f. There was a second CI failure after the vitest version bump — the @vscode-bicep-ui/messaging build failed with TypeScript errors because vitest 4 changed the Mock generic type. Mock<Procedure | Constructable> (returned by untyped vi.fn()) no longer satisfies function callback signatures. Updated the test to use vi.fn<WebviewNotificationCallback>() with explicit type parameters.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 26, 2026

A newer version of @​vitest/coverage-v8 exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Copy link
Copy Markdown
Contributor

@microsoft-github-policy-service microsoft-github-policy-service Bot left a comment

Choose a reason for hiding this comment

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

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Automatically merge this PR dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants