Skip to content

chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.14.0#1

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vitest-pool-workers-0.x
Open

chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.14.0#1
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vitest-pool-workers-0.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Oct 16, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vitest-pool-workers (source) ^0.8.19^0.14.0 age confidence

Release Notes

cloudflare/workers-sdk (@​cloudflare/vitest-pool-workers)

v0.14.7

Compare Source

Patch Changes

v0.14.6

Compare Source

Patch Changes
  • Updated dependencies [9b2b6ba]:
    • wrangler@​4.82.2

v0.14.5

Compare Source

Patch Changes

v0.14.4

Compare Source

Patch Changes

v0.14.3

Compare Source

Patch Changes

v0.14.2

Compare Source

Patch Changes
  • #​13095 65e6684 Thanks @​penalosa! - Reject V8 coverage provider with a clear error message

    V8 native code coverage (@vitest/coverage-v8) requires node:inspector to collect profiling data from V8's runtime. workerd only provides node:inspector as a non-functional stub, so V8 coverage would silently fail or crash with a confusing No such module "node:inspector" error.

    The pool now detects this configuration early — during Vite plugin setup, before Vitest tries to load the coverage provider — and throws a clear error directing users to use Istanbul coverage instead, which works by instrumenting source code at build time and runs on any JavaScript runtime.

  • Updated dependencies [a3e3b57, 7d318e1, fa6d84f, 96ee5d4, 7d318e1, 7a60d4b, 78cbe37, 6fa5dfd]:

    • miniflare@​4.20260405.0
    • wrangler@​4.81.0

v0.14.1

Compare Source

Patch Changes
  • #​13131 65acf66 Thanks @​dario-piotrowicz! - Use miniflare's handleStructuredLogs option instead of handleRuntimeStdio for processing workerd output

    Previously, vitest-pool-workers manually processed raw stdout/stderr streams from the workerd runtime via handleRuntimeStdio, with its own filtering of known noisy messages (e.g. LLVM symbolizer warnings). This switches to miniflare's handleStructuredLogs option, which parses workerd's structured JSON log output and automatically filters known unhelpful messages. This aligns with how both wrangler and vite-plugin-cloudflare handle workerd logs.

  • Updated dependencies [9c4035b, 5d29055, fb67a18, d5bffde, ab44870, 48d83ca, b2f53ea, b9b7e9d, 14e72eb, 4dc94fd, b2f53ea, d5bffde, 48d83ca]:

    • wrangler@​4.80.0
    • miniflare@​4.20260401.0

v0.14.0

Compare Source

Minor Changes
  • #​12858 f05f2da Thanks @​repository! - Add disableRetryDelays() to WorkflowInstanceModifier to skip retry backoff delays in tests

    When testing Workflows with retry configurations, the backoff delays between retry attempts of a failing step.do() caused real wall-clock waiting (e.g., 35 seconds for 3 retries with 5-second exponential backoff), even when step results were fully mocked. The new disableRetryDelays() method eliminates these delays while preserving retry behavior — all attempts still execute, just without waiting between them.

Patch Changes
  • #​13091 6d58f0f Thanks @​penalosa! - Use today's date for the RTTI compat date query instead of a hardcoded "2023-12-01", so newly added Node.js builtin modules are recognized by the module fallback service.

  • #​13070 cdb9c88 Thanks @​penalosa! - Suppress CODE_MOVED for unknown code block log spam from workerd

    These are internal workerd diagnostic messages not relevant to application developers. Miniflare's structured log handler already filters them, but vitest-pool-workers uses a custom handleRuntimeStdio that bypasses that pipeline. This adds the pattern to the pool's own ignore list.

  • #​13069 6d0e329 Thanks @​penalosa! - fix: suppress outputGateBroken stderr noise when testing Workflows

  • #​13075 b8df076 Thanks @​penalosa! - Support @voidzero-dev/vite-plus-test as an alternative to vitest

    Users running tests via Vite+ (@voidzero-dev/vite-plus-test) with the recommended pnpm overrides no longer hit spurious version warnings or Disallowed operation called within global scope errors.

  • Updated dependencies [ffbc268, 9eff028, ed20a9b, f214760, 746858a, 9aad27f, 1fc5518, b539dc7, 9282493, a532eea, cd0e971, d4c6158, 2565b1d]:

    • wrangler@​4.79.0
    • miniflare@​4.20260329.0

v0.13.5

Compare Source

Patch Changes
  • #​13077 11c77b7 Thanks @​penalosa! - fix: runInDurableObject now correctly returns redirect responses (3xx) from Durable Object callbacks instead of throwing "Expected callback for X" errors

  • #​13056 8384743 Thanks @​penalosa! - fix: Support dynamic import() inside entrypoint and Durable Object handlers

    Previously, calling exports.default.fetch() or SELF.fetch() on a worker whose handler used a dynamic import() would hang and fail with "Cannot perform I/O on behalf of a different Durable Object". This happened because the module runner's transport — which communicates over a WebSocket owned by the runner Durable Object — was invoked from a different DO context.

    The fix patches the module runner's transport via the onModuleRunner hook so that all invoke() calls are routed through the runner DO's I/O context, regardless of where the import() originates.

  • #​13074 4618c05 Thanks @​penalosa! - fix: only apply module fallback extension probing for require(), not import

    The module fallback service previously tried adding .js, .mjs, .cjs, and .json suffixes to extensionless specifiers unconditionally. Per the Node.js spec, this extension-probing behaviour is specific to CommonJS require(). ESM import statements must include explicit file extensions.

    Extension-less TypeScript import specifiers continue to work correctly — they are resolved by Vite's resolver rather than the fallback's extension loop.

  • #​13073 baec845 Thanks @​penalosa! - Add adminSecretsStore() to cloudflare:test for seeding secrets in tests

    Secrets store bindings only expose a read-only .get() method, so there was previously no way to seed secret values from within a test. The new adminSecretsStore() helper returns Miniflare's admin API for a secrets store binding, giving tests full control over create, update, and delete operations.

    import { adminSecretsStore } from "cloudflare:test";
    import { env } from "cloudflare:workers";
    
    const admin = adminSecretsStore(env.MY_SECRET);
    await admin.create("test-value");
    
    const value = await env.MY_SECRET.get(); // "test-value"
  • #​13083 cfd513f Thanks @​penalosa! - Add a 30-second timeout to waitUntil promise draining to prevent hanging tests

    Previously, if a ctx.waitUntil() promise never resolved, the test suite would hang indefinitely after the test file finished. Now, any waitUntil promises that haven't settled within 30 seconds are abandoned with a warning, allowing the test suite to continue. This aligns with the production waitUntil limit.

  • Updated dependencies [eeaa473, 9fcdfca, bc24ec8, 1faff35, 0b4c21a, 535582d, 992f9a3, f4ea4ac, 91b7f73, f6cdab2, 53ed15a, ce65246, 7a5be20, 6b50bfa, 0386553, 9c5ebf5, 53ed15a, 53ed15a]:

    • wrangler@​4.78.0
    • miniflare@​4.20260317.3

v0.13.4

Compare Source

Patch Changes

v0.13.3

Compare Source

Patch Changes

v0.13.2

Compare Source

Patch Changes

v0.13.1

Compare Source

Patch Changes

v0.13.0

Compare Source

Minor Changes
  • #​11632 a6ddbdb Thanks @​penalosa! - Support Vitest 4 in @cloudflare/vitest-pool-workers.

    This a breaking change to the @cloudflare/vitest-pool-workers integration in order to support Vitest v4. Along with supporting Vitest v4 (and dropping support for Vitest v2 and v3), we've made a number of changes that may require changes to your tests. Our aim has been to improve stability & the foundations of @cloudflare/vitest-pool-workers as we move towards a v1 release of the package.

    We've made a codemod to make the migration easier, which will make the required changes to your config file:

    npx jscodeshift -t node_modules/@​cloudflare/vitest-pool-workers/dist/codemods/vitest-v3-to-v4.mjs vitest.config.ts

    Or, without installing the package first:

    npx jscodeshift -t https://unpkg.com/@​cloudflare/vitest-pool-workers/dist/codemods/vitest-v3-to-v4.mjs --parser=ts vitest.config.ts
    • Config API: defineWorkersProject and defineWorkersConfig from @cloudflare/vitest-pool-workers/config have been replaced with a cloudflareTest() Vite plugin exported from @cloudflare/vitest-pool-workers. The test.poolOptions.workers options are now passed directly to cloudflareTest():

      Before:

      import { defineWorkersProject } from "@​cloudflare/vitest-pool-workers/config";
      
      export default defineWorkersProject({
        test: {
          poolOptions: {
            workers: {
              wrangler: { configPath: "./wrangler.jsonc" },
            },
          },
        },
      });

      After:

      import { cloudflareTest } from "@​cloudflare/vitest-pool-workers";
      import { defineConfig } from "vitest/config";
      
      export default defineConfig({
        plugins: [
          cloudflareTest({
            wrangler: { configPath: "./wrangler.jsonc" },
          }),
        ],
      });
    • isolatedStorage & singleWorker: These have been removed in favour of a simpler isolation model that more closely matches Vitest. Storage isolation is now on a per test file basis, and you can make your test files share the same storage by using the Vitest flags --max-workers=1 --no-isolate

    • import { env, SELF } from "cloudflare:test": These have been removed in favour of import { env, exports } from "cloudflare:workers". exports.default.fetch() has the same behaviour as SELF.fetch(), except that it doesn't expose Assets. To test your assets, write an integration test using startDevWorker()

    • import { fetchMock } from "cloudflare:test": This has been removed. Instead, mock globalThis.fetch or use ecosystem libraries like MSW (recommended).

    • Vitest peer dependency: @cloudflare/vitest-pool-workers now requires vitest@^4.1.0.

Patch Changes

v0.12.21

Compare Source

Patch Changes

v0.12.20

Compare Source

Patch Changes
  • Updated dependencies [ec2459e]:
    • wrangler@​4.71.0
    • miniflare@​4.20260301.1

v0.12.19

Compare Source

Patch Changes

v0.12.18

Compare Source

Patch Changes

v0.12.17

Compare Source

Patch Changes
  • Updated dependencies [3d6e421, 294297e]:
    • wrangler@​4.68.1
    • miniflare@​4.20260302.0

v0.12.16

Compare Source

Patch Changes

v0.12.15

Compare Source

Patch Changes
  • #​12602 58a4020 Thanks @​anonrig! - Optimize filesystem operations by using Node.js's throwIfNoEntry: false option

    This reduces the number of system calls made when checking for file existence by avoiding the overhead of throwing and catching errors for missing paths. This is an internal performance optimization with no user-visible behavioral changes.

  • Updated dependencies [e93dc01, c2ed7c2, d920811, 896734d, ebdbe52, 58a4020, 6f6cd94]:

    • wrangler@​4.67.1
    • miniflare@​4.20260302.0

v0.12.14

Compare Source

Patch Changes

v0.12.13

Compare Source

Patch Changes

v0.12.12

Compare Source

Patch Changes
  • #​11771 4b6fd36 Thanks @​avenceslau! - Fix Durable Object storage causing SQLITE_CANTOPEN errors on repeated test runs

    When running vitest multiple times in watch mode, Durable Object storage would fail with SQLITE_CANTOPEN errors. This happened because the storage reset function was deleting directories that workerd still had file handles to.

    The fix preserves directory structure during storage reset, deleting only files while
    keeping directories intact. This allows workerd to maintain valid handles to SQLite
    database directories across test runs.

  • Updated dependencies [ad817dd, b900c5a, f7fa326, 734792a, 7aaa2a5, cc5ac22, 62a8d48, 84252b7, e5efa5d, d06ad09, 10a1c4a, be9745f, d7b492c, 122791d, 8809411, 1a9eddd, 41e18aa]:

    • wrangler@​4.65.0
    • miniflare@​4.20260212.0

v0.12.11

Compare Source

Patch Changes

v0.12.10

Compare Source

Patch Changes

v0.12.9

Compare Source

Patch Changes

v0.12.8

Compare Source

Patch Changes

v0.12.7

Compare Source

Patch Changes
  • #​12056 6d5f69f Thanks @​edmundhung! - fix: allow Vite query parameters like ?raw on .sql file imports

    Importing .sql files with Vite query parameters (e.g., import sql from "./query.sql?raw") would fail with "No such module" errors in vitest-pool-workers 0.12.x. Both import styles now work:

    • import sql from "./query.sql?raw" (Vite handles the ?raw transform)
    • import sql from "./query.sql" (loaded as Text module)
  • #​11917 7b40ceb Thanks [@​ksawaneh](


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 181bfb9 to d36e8fe Compare October 16, 2025 18:09
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from d36e8fe to 1bc4692 Compare October 25, 2025 07:12
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.9.0 chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.10.0 Oct 25, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 1bc4692 to adc3a66 Compare November 1, 2025 08:02
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from adc3a66 to be0e234 Compare November 8, 2025 16:11
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 3 times, most recently from a5e9122 to 7138c73 Compare November 22, 2025 08:13
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from a4b7b54 to 3548608 Compare December 2, 2025 23:42
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 51da923 to b24c116 Compare December 5, 2025 19:13
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from dd2d8e7 to e9322a8 Compare December 18, 2025 07:59
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.10.0 chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.11.0 Dec 18, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 992b135 to 5246d62 Compare December 19, 2025 11:50
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 940ce63 to 3916255 Compare January 8, 2026 06:59
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.11.0 chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.12.0 Jan 8, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 3 times, most recently from 14a49ec to 804145d Compare January 16, 2026 08:09
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 3 times, most recently from bcf9ad4 to a70ff93 Compare January 28, 2026 08:07
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 3 times, most recently from 8646e6a to 641fe6d Compare February 6, 2026 11:12
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 73da25f to f482164 Compare February 13, 2026 08:11
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 4 times, most recently from 0b726ec to 4dd3542 Compare February 24, 2026 05:49
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 3a5a43c to 6d49ea6 Compare March 8, 2026 08:56
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 6d49ea6 to 3525d82 Compare March 14, 2026 20:48
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.12.0 chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.13.0 Mar 14, 2026
@renovate
Copy link
Copy Markdown
Author

renovate bot commented Mar 14, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: rewriter/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: rewriter@0.0.0
npm error Found: vitest@3.2.4
npm error node_modules/vitest
npm error   dev vitest@"~3.2.0" from the root project
npm error   peer vitest@"3.2.4" from @vitest/browser@3.2.4
npm error   node_modules/@vitest/browser
npm error     peerOptional @vitest/browser@"3.2.4" from vitest@3.2.4
npm error   1 more (@vitest/ui)
npm error
npm error Could not resolve dependency:
npm error peer vitest@"^4.1.0" from @cloudflare/vitest-pool-workers@0.14.7
npm error node_modules/@cloudflare/vitest-pool-workers
npm error   dev @cloudflare/vitest-pool-workers@"^0.14.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-04-15T11_44_15_546Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-04-15T11_44_15_546Z-debug-0.log

@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 3525d82 to 4a077c0 Compare April 15, 2026 11:44
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.13.0 chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.14.0 Apr 15, 2026
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.

0 participants