Skip to content

chore: bump the vitest group across 1 directory with 2 updates#795

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vitest-24294b4acf
Open

chore: bump the vitest group across 1 directory with 2 updates#795
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vitest-24294b4acf

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 15, 2026

Bumps the vitest group with 2 updates in the / directory: @cloudflare/vitest-pool-workers and vitest.

Updates @cloudflare/vitest-pool-workers from 0.10.1 to 0.15.1

Release notes

Sourced from @​cloudflare/vitest-pool-workers's releases.

@​cloudflare/vitest-pool-workers@​0.15.1

Patch Changes

@​cloudflare/vitest-pool-workers@​0.15.0

Minor Changes

  • #13623 b156b2e Thanks @​penalosa! - Add reset() and abortAllDurableObjects() helpers to cloudflare:test

    The reset() helper deletes all data from attached bindings, and resets all Durable Object instances. This is useful for resetting state between test blocks.

    The abortAllDurableObjects() helper resets all Durable Object instances without deleting persisted data.

    import { reset } from "cloudflare:test";
    import { afterEach } from "vitest";
    

    afterEach(async () => { await reset(); });

Patch Changes

@​cloudflare/vitest-pool-workers@​0.14.9

Patch Changes

@​cloudflare/vitest-pool-workers@​0.14.8

Patch Changes

  • #13548 1aee990 Thanks @​emily-shen! - Update warning message when attempting to access exports not defined on the main worker

    Previously this referred to the SELF worker, which is now a deprecated API in the Vitest integration.

  • #13607 d5d0446 Thanks @​petebacondarwin! - fix: Restore workflow binding before async cleanup in WorkflowIntrospectorHandle.dispose()

    Previously, dispose() awaited all instance abort operations before restoring the original env binding. On slower CI environments (especially Windows), this left a window where the next test could see a stale proxy, causing "Trying to mock step multiple times" errors or failed introspection. The binding is now restored synchronously before the async instance cleanup begins.

  • #13007 2c3258d Thanks @​sheplu! - Reduce default log verbosity from VERBOSE to INFO

... (truncated)

Changelog

Sourced from @​cloudflare/vitest-pool-workers's changelog.

0.15.1

Patch Changes

0.15.0

Minor Changes

  • #13623 b156b2e Thanks @​penalosa! - Add reset() and abortAllDurableObjects() helpers to cloudflare:test

    The reset() helper deletes all data from attached bindings, and resets all Durable Object instances. This is useful for resetting state between test blocks.

    The abortAllDurableObjects() helper resets all Durable Object instances without deleting persisted data.

    import { reset } from "cloudflare:test";
    import { afterEach } from "vitest";
    

    afterEach(async () => { await reset(); });

Patch Changes

0.14.9

Patch Changes

0.14.8

Patch Changes

  • #13548 1aee990 Thanks @​emily-shen! - Update warning message when attempting to access exports not defined on the main worker

    Previously this referred to the SELF worker, which is now a deprecated API in the Vitest integration.

  • #13607 d5d0446 Thanks @​petebacondarwin! - fix: Restore workflow binding before async cleanup in WorkflowIntrospectorHandle.dispose()

... (truncated)

Commits

Updates vitest from 3.2.4 to 4.1.5

Release notes

Sourced from vitest's releases.

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.4

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.3

   🚀 Experimental Features

... (truncated)

Commits
  • e399846 chore: release v4.1.5
  • 7dc6d54 Revert "fix: respect diff config options in soft assertions (#8696)"
  • 9787ded fix: respect diff config options in soft assertions (#8696)
  • 325463a fix(ast-collect): recognize _vi_import prefix in static test discovery (#10...
  • 0e0ff41 feat(coverage): istanbul to support instrumenter option (#10119)
  • 663b99f fix: alias agent reporter to minimal (#10157)
  • 122c25b fix: fix vi.defineHelper called as object method (#10163)
  • 6abd557 feat(api): make test-specification options writable (#10154)
  • 596f739 fix: project color label on html reporter (#10142)
  • 9423dc0 fix: --project negation excludes browser instances (#10131)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 15, 2026
@dependabot dependabot Bot requested a review from a team as a code owner January 15, 2026 05:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 15, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from 50b6a52 to 7ca0a70 Compare February 1, 2026 12:05
Comment thread package.json Outdated
Comment on lines 36 to 37
"vitest": "^4.0.18",
"wrangler": "^4.51.0"

This comment was marked as outdated.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from 7ca0a70 to a60496d Compare February 3, 2026 21:09
Comment thread package.json Outdated
"tsx": "^4.20.6",
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"vitest": "^4.0.18",

This comment was marked as outdated.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from a60496d to d21fd03 Compare February 4, 2026 02:46
Comment thread package.json Outdated
"tsx": "^4.20.6",
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"vitest": "^4.0.18",

This comment was marked as outdated.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from d21fd03 to 9b1d078 Compare February 4, 2026 03:20
Comment thread package.json
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"vitest": "^4.0.18",
"wrangler": "^4.51.0"

This comment was marked as outdated.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from 9b1d078 to 626307e Compare February 6, 2026 17:45
Comment thread package.json Outdated
Comment on lines 38 to 39
"vitest": "^4.0.18",
"wrangler": "^4.51.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The update to vitest ^4.0.18 violates the peer dependency of @cloudflare/vitest-pool-workers, which only supports vitest up to version 3.2.x, causing test failures.
Severity: CRITICAL

Suggested Fix

Downgrade vitest to a version compatible with @cloudflare/vitest-pool-workers (e.g., ~3.2.4). Alternatively, find and upgrade to a newer version of @cloudflare/vitest-pool-workers that officially supports vitest 4.x, if one is available.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L38-L39

Potential issue: The pull request upgrades `vitest` to `^4.0.18`, but the
`@cloudflare/vitest-pool-workers` package at version `0.12.9` explicitly declares a peer
dependency on `vitest` versions `2.0.x - 3.2.x`. This version mismatch constitutes a
peer dependency violation that will lead to runtime failures. When tests are run, the
pool worker initialization will fail because its code is incompatible with the breaking
API changes in `vitest` 4.x. This will break the test suite and block the CI/CD
pipeline.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch 2 times, most recently from 26fd7bf to a971550 Compare February 10, 2026 13:40
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from a971550 to 8cb5d6a Compare March 1, 2026 12:03
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from 8cb5d6a to 77c5f05 Compare March 24, 2026 14:13
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from 77c5f05 to 764d3b9 Compare April 1, 2026 14:28
Copy link
Copy Markdown
Member

@flakey5 flakey5 left a comment

Choose a reason for hiding this comment

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

tests failing

Bumps the vitest group with 2 updates in the / directory: [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `@cloudflare/vitest-pool-workers` from 0.10.1 to 0.15.1
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.15.1/packages/vitest-pool-workers)

Updates `vitest` from 3.2.4 to 4.1.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest)

---
updated-dependencies:
- dependency-name: "@cloudflare/vitest-pool-workers"
  dependency-version: 0.12.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
- dependency-name: vitest
  dependency-version: 4.0.16
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore: bump the vitest group with 2 updates chore: bump the vitest group across 1 directory with 2 updates May 1, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-24294b4acf branch from 764d3b9 to 6b80a3c Compare May 1, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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