feat: add native Windows support - #1982
Draft
sethkarten wants to merge 36 commits into
Draft
Conversation
sethkarten
force-pushed
the
feat/bun-primary-runtime
branch
from
September 2, 2026 21:58
50b4919 to
caec73c
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.
Stack
Draft PR stacked directly on #1970 (
feat/bun-primary-runtime). It does not depend on the provisional npm package PR.Windows support contract
What changed
Install and release
bun-windows-x64andbun-windows-arm64executablesinstall.ps1in compiled sidecarsRuntime
taskkill /Tfor Windows process-tree cancellation and force terminationScripts\python.exeCI and docs
windows-latestjob to the existing required CI aggregateCompatibility
No daemon command, event, response shape, schema revision, or protocol version changes. Windows endpoint naming is local runtime behavior and Unix socket behavior is unchanged.
Validation
Local
bun install --frozen-lockfilewith Bun 1.4.0bun run checkbun test test/bun-installer.test.ts(16 passed)bun test test/bun-release-archives.test.ts(11 passed)bun test test/child-process.test.ts(6 passed)bun test test/daemon-socket.test.ts(13 passed)bun test test/kernel-bootstrap.test.ts(22 passed)bash -n scripts/build-binaries.sh install.shinstall.ps1, the installer smoke script, and the CI PE inspection stepNative Windows runner
CI run 33606586146 passed with every required job green.
D:\a\_temp\Prime Agent ø\kernel-venv: 19 passed, 2 skipped, 0 failed0x8664and0xAA64The PR remains draft for review. It has not published artifacts or packages.
Note
Add native Windows support for installer, daemon, kernel, and release builds
taskkillin signalProcessGroupOrProcess and uses it for aborted/timed-out commands inexecCommandScripts\python.exefor venvs, installsuvvia PowerShell, and reports Windows-specific uv paths\\.\pipe\...<scope>) instead of a fixed name; Windows process termination usestaskkill /Tfor tree kills with direct-signal fallbackMacroscope summarized 4d41a62. (Automatic summaries will resume when PR exits draft mode or review begins).