chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.14.3#3102
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.14.3#3102renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
dotfiles-worker | aa7c5bd | Apr 12 2026, 08:56 PM |
9e1b099 to
2efb5d5
Compare
271cd22 to
ecd2d67
Compare
8112f51 to
49d0711
Compare
961d9c0 to
696b1b2
Compare
d75610d to
c0dcb76
Compare
0a4ac94 to
98064ec
Compare
2be380b to
d3bbfc1
Compare
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.
This PR contains the following updates:
0.12.21→0.14.3Release Notes
cloudflare/workers-sdk (@cloudflare/vitest-pool-workers)
v0.14.3Compare Source
Patch Changes
42c7ef0,c510494,8b71eca,a42e0e8,7ca6f6e]:v0.14.2Compare Source
Patch Changes
#13095
65e6684Thanks @penalosa! - Reject V8 coverage provider with a clear error messageV8 native code coverage (
@vitest/coverage-v8) requiresnode:inspectorto collect profiling data from V8's runtime. workerd only providesnode:inspectoras a non-functional stub, so V8 coverage would silently fail or crash with a confusingNo 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]:v0.14.1Compare Source
Patch Changes
#13131
65acf66Thanks @dario-piotrowicz! - Use miniflare'shandleStructuredLogsoption instead ofhandleRuntimeStdiofor processing workerd outputPreviously,
vitest-pool-workersmanually processed raw stdout/stderr streams from the workerd runtime viahandleRuntimeStdio, with its own filtering of known noisy messages (e.g. LLVM symbolizer warnings). This switches to miniflare'shandleStructuredLogsoption, which parses workerd's structured JSON log output and automatically filters known unhelpful messages. This aligns with how bothwranglerandvite-plugin-cloudflarehandle workerd logs.Updated dependencies [
9c4035b,5d29055,fb67a18,d5bffde,ab44870,48d83ca,b2f53ea,b9b7e9d,14e72eb,4dc94fd,b2f53ea,d5bffde,48d83ca]:v0.14.0Compare Source
Minor Changes
#12858
f05f2daThanks @repository! - AdddisableRetryDelays()toWorkflowInstanceModifierto skip retry backoff delays in testsWhen 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 newdisableRetryDelays()method eliminates these delays while preserving retry behavior — all attempts still execute, just without waiting between them.Patch Changes
#13091
6d58f0fThanks @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
cdb9c88Thanks @penalosa! - SuppressCODE_MOVED for unknown code blocklog spam from workerdThese are internal workerd diagnostic messages not relevant to application developers. Miniflare's structured log handler already filters them, but
vitest-pool-workersuses a customhandleRuntimeStdiothat bypasses that pipeline. This adds the pattern to the pool's own ignore list.#13069
6d0e329Thanks @penalosa! - fix: suppressoutputGateBrokenstderr noise when testing Workflows#13075
b8df076Thanks @penalosa! - Support@voidzero-dev/vite-plus-testas an alternative tovitestUsers running tests via Vite+ (
@voidzero-dev/vite-plus-test) with the recommended pnpm overrides no longer hit spurious version warnings orDisallowed operation called within global scopeerrors.Updated dependencies [
ffbc268,9eff028,ed20a9b,f214760,746858a,9aad27f,1fc5518,b539dc7,9282493,a532eea,cd0e971,d4c6158,2565b1d]:v0.13.5Compare Source
Patch Changes
#13077
11c77b7Thanks @penalosa! - fix:runInDurableObjectnow correctly returns redirect responses (3xx) from Durable Object callbacks instead of throwing "Expected callback for X" errors#13056
8384743Thanks @penalosa! - fix: Support dynamicimport()inside entrypoint and Durable Object handlersPreviously, calling
exports.default.fetch()orSELF.fetch()on a worker whose handler used a dynamicimport()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
onModuleRunnerhook so that allinvoke()calls are routed through the runner DO's I/O context, regardless of where theimport()originates.#13074
4618c05Thanks @penalosa! - fix: only apply module fallback extension probing forrequire(), notimportThe module fallback service previously tried adding
.js,.mjs,.cjs, and.jsonsuffixes to extensionless specifiers unconditionally. Per the Node.js spec, this extension-probing behaviour is specific to CommonJSrequire(). ESMimportstatements must include explicit file extensions.Extension-less TypeScript
importspecifiers continue to work correctly — they are resolved by Vite's resolver rather than the fallback's extension loop.#13073
baec845Thanks @penalosa! - AddadminSecretsStore()tocloudflare:testfor seeding secrets in testsSecrets store bindings only expose a read-only
.get()method, so there was previously no way to seed secret values from within a test. The newadminSecretsStore()helper returns Miniflare's admin API for a secrets store binding, giving tests full control over create, update, and delete operations.#13083
cfd513fThanks @penalosa! - Add a 30-second timeout towaitUntilpromise draining to prevent hanging testsPreviously, if a
ctx.waitUntil()promise never resolved, the test suite would hang indefinitely after the test file finished. Now, anywaitUntilpromises that haven't settled within 30 seconds are abandoned with a warning, allowing the test suite to continue. This aligns with the productionwaitUntillimit.Updated dependencies [
eeaa473,9fcdfca,bc24ec8,1faff35,0b4c21a,535582d,992f9a3,f4ea4ac,91b7f73,f6cdab2,53ed15a,ce65246,7a5be20,6b50bfa,0386553,9c5ebf5,53ed15a,53ed15a]:v0.13.4Compare Source
Patch Changes
#12999
f9728fdThanks @hiendv! - chore: update some tests and fixtures to Vitest 4 / vpw 0.13.xUpdated dependencies [
593c4db,b8f3309,451dae3,5aaaab2,5aaaab2,f8516dd,9c9fe30,379f2a2,c2e9163,6a6449e,9a1cf29,875da60]:v0.13.3Compare Source
Patch Changes
#12881
8729f3dThanks @pombosilva! - Workflows testing utilwaitForStatusnow supports waiting for "terminated" and "paused" states.Updated dependencies [
782df44,3c988e2,62545c9,cb71403,71ab981,3a1c149,7c3c6c6,ce48b77,8729f3d]:v0.13.2Compare Source
Patch Changes
c9b3184,13df6c7,df0d112,81ee98e,c600ce0,f509d13,3b81fc6,0a7fef9]:v0.13.1Compare Source
Patch Changes
ade0aed,2b9a186,65f1092,7b0d8f5,351e1e1,2b9a186]:v0.13.0Compare Source
Minor Changes
#11632
a6ddbdbThanks @penalosa! - Support Vitest 4 in@cloudflare/vitest-pool-workers.This a breaking change to the
@cloudflare/vitest-pool-workersintegration 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-workersas 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:
Or, without installing the package first:
Config API:
defineWorkersProjectanddefineWorkersConfigfrom@cloudflare/vitest-pool-workers/confighave been replaced with acloudflareTest()Vite plugin exported from@cloudflare/vitest-pool-workers. Thetest.poolOptions.workersoptions are now passed directly tocloudflareTest():Before:
After:
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-isolateimport { env, SELF } from "cloudflare:test": These have been removed in favour ofimport { env, exports } from "cloudflare:workers".exports.default.fetch()has the same behaviour asSELF.fetch(), except that it doesn't expose Assets. To test your assets, write an integration test usingstartDevWorker()import { fetchMock } from "cloudflare:test": This has been removed. Instead, mockglobalThis.fetchor use ecosystem libraries like MSW (recommended).Vitest peer dependency:
@cloudflare/vitest-pool-workersnow requiresvitest@^4.1.0.Patch Changes
f7de0fd,ff543e3,8e89e85,e63539d,8d1e130,6ee18e1,ecc7f79,1dda1c8,4bb61b9]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.