Repository navigation
fix(pool): handle failed forks worker start on bun - #12039
Merged
Merged
Conversation
✅ Deploy Preview for vitest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
AriPerkkio
approved these changes
Nov 19, 2026
AriPerkkio
left a comment
Member
There was a problem hiding this comment.
Fix itself looks good.
Just a note: Accepting this PR does not mean that Vitest will add all the hacks Bun needs to run NodeJS compatible code in future. No one should reference this PR in any Bun compatibility issues in future. 🤷
This was referenced Nov 19, 2026
l7aromeo
added a commit
to meocord/meocord
that referenced
this pull request
Nov 19, 2026
On a machine with Bun and no Node.js, a new app could not run its tests: vitest 5.1.1's fork pool calls child.channel.unref(), which Bun's IPC channel lacks (oven-sh/bun#33593), so `test` and `test:coverage` failed before any test with "child.channel?.unref is not a function". The template's ^5.0.5 resolved 5.1.1 for every new app. The template now asks for vitest and @vitest/coverage-istanbul at exactly 5.1.0, an exception to its pins taking the latest release. It holds until a vitest release carries vitest-dev/vitest#12039 or a Bun release ships channel.unref. The generator spec holds vitest to an exact version, so lifting the pin is a deliberate edit there, and keeps both packages at one version, since vitest refuses a coverage provider of another. Verified: lint, test, build and verify:generated pass. An app made from this build passes test and test:coverage (9 files, 15 tests) with no node on PATH, on Bun 1.4.4; the same app moved to 5.1.1 fails both with 9 channel.unref errors. The spec fails with both packages at ^5.1.1 or ~5.1.0, and with coverage-istanbul at ^5.1.1 beside vitest 5.1.0.
This was referenced Nov 19, 2026
yamazaki-yuki-23
added a commit
to yamazaki-yuki-23/skill-anatomy
that referenced
this pull request
Nov 23, 2026
Dependabot proposed four development updates. vitest 5.1.1 cannot start test workers under Bun: its new fork watchdog calls child.channel.unref(), which Bun does not implement (vitest-dev/vitest#12037, oven-sh/bun#33593), so every CI job failed in the test step. The fix (vitest-dev/vitest#12039) is merged upstream but not released yet. Take the other three updates, leave vitest at 5.1.0, and tell Dependabot to skip 5.1.1 so the next release is proposed as usual. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
yamazaki-yuki-23
added a commit
to yamazaki-yuki-23/skill-anatomy
that referenced
this pull request
Nov 23, 2026
Dependabot proposed four development updates. vitest 5.1.1 cannot start test workers under Bun: its new fork watchdog calls child.channel.unref(), which Bun does not implement (vitest-dev/vitest#12037, oven-sh/bun#33593), so every CI job failed in the test step. The fix (vitest-dev/vitest#12039) is merged upstream but not released yet. Take the other three updates, leave vitest at 5.1.0, and tell Dependabot to skip 5.1.1 so the next release is proposed as usual. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Merged
riosgabriel
added a commit
to riosgabriel/vereda
that referenced
this pull request
Nov 25, 2026
Supersedes #300. ## Why - vitest 5.1.1 can't start forks workers under Bun 1.4.5: its watchdog calls `child.channel?.unref()`, which Bun doesn't implement. Cleanup then throws `setMaxListeners(-1)`. Upstream: vitest-dev/vitest#12037. - 5.1.2 ships the fix (vitest-dev/vitest#12039). - `main` currently has `@vitest/coverage-v8@5.1.1` (from #302) next to `vitest@5.1.0`, but coverage-v8 pins `vitest` exactly. This bumps both to 5.1.2 together. ## Checked locally | Run | Result | |---|---| | `bun run --bun test` (Bun 1.3.14) | 66 files, 1006 tests pass | | `npm run test:coverage` | 1006 pass, thresholds met | | `npm run lint` | clean | CI's bun leg (Bun 1.4.5) is the real check for the fix.
This was referenced Nov 28, 2026
zunda-pixel
added a commit
to sauna-studio/sauna-web
that referenced
this pull request
Nov 28, 2026
* Build(deps-dev): bump the svelte-toolchain group across 1 directory with 4 updates Bumps the svelte-toolchain group with 4 updates in the / directory: [@sveltejs/adapter-bun](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-bun), [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit), [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@sveltejs/adapter-bun` from 1.0.1 to 1.0.2 - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/main/packages/adapter-bun/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-bun@1.0.2/packages/adapter-bun) Updates `@sveltejs/kit` from 3.2.0 to 3.4.0 - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@3.4.0/packages/kit) Updates `svelte` from 5.57.3 to 5.59.1 - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md) - [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.59.1/packages/svelte) Updates `vitest` from 5.1.0 to 5.1.1 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.1/packages/vitest) --- updated-dependencies: - dependency-name: "@sveltejs/adapter-bun" dependency-version: 1.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: svelte-toolchain - dependency-name: "@sveltejs/kit" dependency-version: 3.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: svelte-toolchain - dependency-name: svelte dependency-version: 5.59.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: svelte-toolchain - dependency-name: vitest dependency-version: 5.1.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: svelte-toolchain ... Signed-off-by: dependabot[bot] <support@github.com> * vitest 5.1.2でBun上のforks worker起動失敗を解消 vitest 5.1.1で追加されたforks poolのwatchdogがchild.channel.unref()を呼ぶが、 Bun 1.4.4のIPC channelにはunrefが無く(oven-sh/bun#33593)、全unit testのworkerが起動しない。 上流はvitest 5.1.2(vitest-dev/vitest#12039)で修正済み。 Dependabotのcooldown(7日)では12/2まで5.1.2が選ばれないため、ユーザー判断で先行して更新する。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
zunda-pixel
added a commit
to sauna-studio/sauna-admin-web
that referenced
this pull request
Nov 28, 2026
* Build(deps-dev): bump the svelte-toolchain group across 1 directory with 4 updates Bumps the svelte-toolchain group with 4 updates in the / directory: [@sveltejs/adapter-bun](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-bun), [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit), [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@sveltejs/adapter-bun` from 1.0.1 to 1.0.2 - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/main/packages/adapter-bun/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-bun@1.0.2/packages/adapter-bun) Updates `@sveltejs/kit` from 3.2.0 to 3.4.0 - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@3.4.0/packages/kit) Updates `svelte` from 5.57.3 to 5.59.1 - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md) - [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.59.1/packages/svelte) Updates `vitest` from 5.1.0 to 5.1.1 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.1/packages/vitest) --- updated-dependencies: - dependency-name: "@sveltejs/adapter-bun" dependency-version: 1.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: svelte-toolchain - dependency-name: "@sveltejs/kit" dependency-version: 3.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: svelte-toolchain - dependency-name: svelte dependency-version: 5.59.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: svelte-toolchain - dependency-name: vitest dependency-version: 5.1.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: svelte-toolchain ... Signed-off-by: dependabot[bot] <support@github.com> * vitest 5.1.2でBun上のforks worker起動失敗を解消 vitest 5.1.1で追加されたforks poolのwatchdogがchild.channel.unref()を呼ぶが、 Bun 1.4.4のIPC channelにはunrefが無く(oven-sh/bun#33593)、全unit testのworkerが起動しない。 上流はvitest 5.1.2(vitest-dev/vitest#12039)で修正済み。 Dependabotのcooldown(7日)では12/2まで5.1.2が選ばれないため、ユーザー判断で先行して更新する。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
markharding
pushed a commit
to futo-org/Harbor
that referenced
this pull request
Dec 1, 2026
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@vitest/browser-playwright](https://vitest.dev/config/browser/playwright) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright)) | [`5.1.0` → `5.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fbrowser-playwright/5.1.0/5.1.2) |  |  | | [@vitest/browser-playwright](https://vitest.dev/config/browser/playwright) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright)) | [`5.1.1` → `5.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fbrowser-playwright/5.1.1/5.1.2) |  |  | | [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.1` → `5.1.2`](https://renovatebot.com/diffs/npm/vitest/5.1.1/5.1.2) |  |  | | [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.0` → `5.1.2`](https://renovatebot.com/diffs/npm/vitest/5.1.0/5.1.2) |  |  | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/browser-playwright)</summary> ### [`v5.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v5.1.2) [Compare Source](vitest-dev/vitest@v5.1.1...v5.1.2) ##### 🐞 Bug Fixes - Report global setup errors instead of "no test files" - by [@​jszumski](https://github.com/jszumski) and **Claude Opus 5.5** in [#​12031](vitest-dev/vitest#12031) [<samp>(b7572)</samp>](vitest-dev/vitest@b7572c1e6) - Warn when projects attach the same file - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12043](vitest-dev/vitest#12043) [<samp>(5f884)</samp>](vitest-dev/vitest@5f8847345) - **browser**: - Don't fail trace when locator has no match for non-playwright providers - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11975](vitest-dev/vitest#11975) [<samp>(f0500)</samp>](vitest-dev/vitest@f05003327) - Save failure screenshots per instance - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12042](vitest-dev/vitest#12042) [<samp>(e0e8e)</samp>](vitest-dev/vitest@e0e8e0000) - Mock assets and computed dynamic imports - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11954](vitest-dev/vitest#11954) [<samp>(c6ad9)</samp>](vitest-dev/vitest@c6ad97dec) - **cli**: - Disallow --changed in vitest related - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12038](vitest-dev/vitest#12038) [<samp>(b3a80)</samp>](vitest-dev/vitest@b3a803b1f) - **coverage**: - Prevent duplicate metrics caused by source map end column differences - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​12040](vitest-dev/vitest#12040) [<samp>(45d19)</samp>](vitest-dev/vitest@45d199c58) - **deps**: - Update all non-major dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12050](vitest-dev/vitest#12050) [<samp>(ff6b4)</samp>](vitest-dev/vitest@ff6b4275f) - **mocker**: - Transform a factory-mocked module once - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12027](vitest-dev/vitest#12027) [<samp>(8b0ca)</samp>](vitest-dev/vitest@8b0ca603a) - **pool**: - Handle failed forks worker start on bun - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12039](vitest-dev/vitest#12039) [<samp>(4aec8)</samp>](vitest-dev/vitest@4aec89426) - **snapshot**: - Remove new snapshots of a failed retry - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12052](vitest-dev/vitest#12052) [<samp>(21238)</samp>](vitest-dev/vitest@2123874a4) - **ui**: - Ensure `detailsPosition: bottom` for auto-opened trace view - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​12016](vitest-dev/vitest#12016) [<samp>(366ac)</samp>](vitest-dev/vitest@366ac633b) ##### 🏎 Performance - Read external source maps once per run - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12106](vitest-dev/vitest#12106) [<samp>(b5a55)</samp>](vitest-dev/vitest@b5a553395) - **expect**: Reuse the key array in deep equality - by [@​camc314](https://github.com/camc314) in [#​12104](vitest-dev/vitest#12104) [<samp>(f88ab)</samp>](vitest-dev/vitest@f88ab6cc3) - **mocker**: Find dynamic imports with es-module-lexer - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12028](vitest-dev/vitest#12028) [<samp>(5812e)</samp>](vitest-dev/vitest@5812ec58f) ##### [View changes on GitHub](vitest-dev/vitest@v5.1.1...v5.1.2) ### [`v5.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v5.1.1) [Compare Source](vitest-dev/vitest@v5.1.0...v5.1.1) ##### 🚀 Features - **cache**: Add fs module cache env variables - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11859](vitest-dev/vitest#11859) [<samp>(708c0)</samp>](vitest-dev/vitest@708c05da0) ##### 🐞 Bug Fixes - Rerun on file changes after a config restart - by [@​magurotuna](https://github.com/magurotuna) in [#​11772](vitest-dev/vitest#11772) and [#​11829](vitest-dev/vitest#11829) [<samp>(289ca)</samp>](vitest-dev/vitest@289caab9c) - Avoid leaking the context expect - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11845](vitest-dev/vitest#11845) [<samp>(3c967)</samp>](vitest-dev/vitest@3c967a7b7) - Report fixture teardown errors once - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11857](vitest-dev/vitest#11857) [<samp>(6b167)</samp>](vitest-dev/vitest@6b167eb79) - Improve diffs for asymmetric matchers - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11855](vitest-dev/vitest#11855) [<samp>(86775)</samp>](vitest-dev/vitest@86775420f) - Apply --shard before the test run starts - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11846](vitest-dev/vitest#11846) [<samp>(e5c80)</samp>](vitest-dev/vitest@e5c80b775) - Reset local expect state between retries for `expect.assertions/hasAssertions` - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11900](vitest-dev/vitest#11900) [<samp>(50dcd)</samp>](vitest-dev/vitest@50dcdb373) - Sort test files before the seeded shuffle - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11926](vitest-dev/vitest#11926) [<samp>(3aa30)</samp>](vitest-dev/vitest@3aa3045a9) - Tear down fixture contexts one at a time - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11956](vitest-dev/vitest#11956) [<samp>(5712b)</samp>](vitest-dev/vitest@5712b5fd2) - Count merged errors in the error divider - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11955](vitest-dev/vitest#11955) [<samp>(4bc4f)</samp>](vitest-dev/vitest@4bc4f86e8) - Match `-` and `.` in `noExternal` wildcards - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11978](vitest-dev/vitest#11978) [<samp>(efba8)</samp>](vitest-dev/vitest@efba8cbfe) - Give each test attempt a new `signal` - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11998](vitest-dev/vitest#11998) [<samp>(77a30)</samp>](vitest-dev/vitest@77a306757) - Throw timeout error classes instead of Error - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12003](vitest-dev/vitest#12003) [<samp>(9b874)</samp>](vitest-dev/vitest@9b87492f7) - **ast-collect**: - Only collect calls with a name argument - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11853](vitest-dev/vitest#11853) [<samp>(c015a)</samp>](vitest-dev/vitest@c015ad5a6) - **browser**: - Scale the iframe for preview without the UI - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11856](vitest-dev/vitest#11856) [<samp>(034d4)</samp>](vitest-dev/vitest@034d44e54) - Fix expect.element with `message` and remove redundant `[ERROR]` in trace steps - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11832](vitest-dev/vitest#11832) [<samp>(1d115)</samp>](vitest-dev/vitest@1d115dcc3) - **cache**: - Always leave a manifest to the fs module cache - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11858](vitest-dev/vitest#11858) [<samp>(1b238)</samp>](vitest-dev/vitest@1b2380c88) - Watch cached files outside the root - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11860](vitest-dev/vitest#11860) [<samp>(9c044)</samp>](vitest-dev/vitest@9c044db81) - Treat a removed cache file as a miss - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11861](vitest-dev/vitest#11861) [<samp>(f21f2)</samp>](vitest-dev/vitest@f21f224ba) - Allow cache hits in configureServer - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11927](vitest-dev/vitest#11927) [<samp>(a0dfc)</samp>](vitest-dev/vitest@a0dfc8b08) - **cli**: - Parse `--bail` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11896](vitest-dev/vitest#11896) [<samp>(4f91e)</samp>](vitest-dev/vitest@4f91e76af) - **coverage**: - Transform untested files with correct project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11870](vitest-dev/vitest#11870) [<samp>(83298)</samp>](vitest-dev/vitest@832980392) - V8 to handle sub process script coverages separately - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11890](vitest-dev/vitest#11890) [<samp>(71ad4)</samp>](vitest-dev/vitest@71ad4dfa1) - Derive `ignoreNode` AST type from installed parser - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11958](vitest-dev/vitest#11958) [<samp>(cab34)</samp>](vitest-dev/vitest@cab34bb0e) - V8 to ignore more Vite's CJS import helpers - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11981](vitest-dev/vitest#11981) [<samp>(4e905)</samp>](vitest-dev/vitest@4e905a1ba) - **experimental**: - Skip ambiguous `expect.poll` trace steps in concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11869](vitest-dev/vitest#11869) [<samp>(f6ef4)</samp>](vitest-dev/vitest@f6ef4b0ef) - **mocker**: - Keep re-exports of hoisted imports - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11867](vitest-dev/vitest#11867) [<samp>(5f72c)</samp>](vitest-dev/vitest@5f72c3d0d) - **pool**: - Shutdown disconnected workers even when `testTimeout` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11924](vitest-dev/vitest#11924) [<samp>(97911)</samp>](vitest-dev/vitest@979118a70) - Terminate stuck orphaned forks workers - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11939](vitest-dev/vitest#11939) [<samp>(47c87)</samp>](vitest-dev/vitest@47c87ebb5) - `isolate: false` to not re-use workers that failed to start - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11953](vitest-dev/vitest#11953) [<samp>(7e672)</samp>](vitest-dev/vitest@7e67234a9) - **reporter**: - Report crashed test files as failed in json - by [@​magurotuna](https://github.com/magurotuna) in [#​11965](vitest-dev/vitest#11965) [<samp>(47fb9)</samp>](vitest-dev/vitest@47fb992ca) - **spy**: - Use primordials to allow spying on builtins - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11837](vitest-dev/vitest#11837) [<samp>(d951e)</samp>](vitest-dev/vitest@d951e63d3) - **typecheck**: - Add env var to hide experimental warning - by [@​aliamanatali](https://github.com/aliamanatali) in [#​11840](vitest-dev/vitest#11840) [<samp>(5a69e)</samp>](vitest-dev/vitest@5a69e4396) - Kill the checker process tree on windows - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11850](vitest-dev/vitest#11850) [<samp>(1fa69)</samp>](vitest-dev/vitest@1fa69e09b) - **vitest**: - Allow assigning to import.meta.env - by [@​aliamanatali](https://github.com/aliamanatali) in [#​11841](vitest-dev/vitest#11841) [<samp>(9fd1f)</samp>](vitest-dev/vitest@9fd1f22a4) ##### 🏎 Performance - Send source maps to workers as a string - by [@​maschwenk](https://github.com/maschwenk) in [#​11750](vitest-dev/vitest#11750) [<samp>(485cd)</samp>](vitest-dev/vitest@485cd627d) - Resolve CLI file filters once instead of per test file - by [@​maschwenk](https://github.com/maschwenk) in [#​11935](vitest-dev/vitest#11935) [<samp>(96a90)</samp>](vitest-dev/vitest@96a9032af) - **browser**: Reuse cached modules during vitest run - by [@​magurotuna](https://github.com/magurotuna) in [#​11914](vitest-dev/vitest#11914) [<samp>(0c502)</samp>](vitest-dev/vitest@0c502bc72) ##### [View changes on GitHub](vitest-dev/vitest@v5.1.0...v5.1.1) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 9am on tuesday" - 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NS4xLjEiLCJ1cGRhdGVkSW5WZXIiOiI0NS4xLjEiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlIl19--> Co-authored-by: Denis Podlozny <denis@futo.org> Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2579 Reviewed-by: Denis Podlozny <denis@futo.org>
Shiyo1101
pushed a commit
to Shiyo1101/markuplint
that referenced
this pull request
Dec 2, 2026
The forks pool of vitest 5.1.1 starts a watchdog that calls `child.channel?.unref()`. Bun's IPC channel has no `unref`, so under `bunx --bun vitest run` no worker starts and the nightly test-bun job fails. vitest 5.1.2 fixes it (vitest-dev/vitest#12039). vitest 5.1.2 is younger than the 7-day npmMinimalAgeGate. The owner chose to install it with the gate off rather than wait for Renovate, to stop the nightly failure; only the 5.1.2 releases of vitest, @vitest/mocker, @vitest/spy and @vitest/coverage-v8 fall inside the gate. Refs markuplint#4896 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #12037
unref(subprocess.channel is an empty Control stub (missing ref/unref/refCounted/unrefCounted) — breaks execa's execaNode() oven-sh/bun#33593), so the watchdog threw and no forks worker could start. In Bun,child.unref()alone already lets the main process exit.watchProcess()now runs after the stdout/stderr pipes are attached.stop()detaches the pipes and lowers the listener limits even whenstart()threw, so a throw before the pipes lowered limits that were never raised. After 10 failed workers, this reachedsetMaxListeners(-1).stop()rejects, so a failed stop no longer also logs "Timeout terminating".