Skip to content

windows: add native Windows support#30

Merged
zzet merged 2 commits into
mainfrom
windows/support
May 21, 2026
Merged

windows: add native Windows support#30
zzet merged 2 commits into
mainfrom
windows/support

Conversation

@zzet
Copy link
Copy Markdown
Owner

@zzet zzet commented May 21, 2026

Gortex now builds and runs on windows/amd64.

  • internal/platform isolates OS-specific runtime primitives — shutdown signals, process liveness/termination, and detached-spawn attributes — behind unix/windows files. The daemon, CLI, and servers call through it instead of using syscall directly.
  • internal/daemon: a Windows fdlimit stub, daemon state relocated to %LocalAppData%\gortex, and the AF_UNIX socket transport reused as-is (supported on Windows 10 1803+).
  • .goreleaser.yml builds a windows/amd64 zip archive and a Scoop manifest; Makefile gains build-windows; release.yml signs, hashes, and scans the zip alongside the other artifacts.
  • scripts/install.ps1 is a PowerShell installer; install.sh now points native-Windows users at it.
  • CI builds every package for windows and parse-checks install.ps1.
  • internal/thirdparty/renameio vendors github.com/google/renameio with an added Windows implementation — upstream v1.0.1 is Unix-only and blocked the build through the github.com/coder/hnsw dependency.

daemon install-service stays unsupported on Windows; users run gortex daemon start --detach instead.

Gortex now builds and runs on windows/amd64.

- internal/platform isolates OS-specific runtime primitives — shutdown
  signals, process liveness/termination, and detached-spawn attributes
  — behind unix/windows files. The daemon, CLI, and servers call
  through it instead of using syscall directly.
- internal/daemon: a Windows fdlimit stub, daemon state relocated to
  %LocalAppData%\gortex, and the AF_UNIX socket transport reused as-is
  (supported on Windows 10 1803+).
- .goreleaser.yml builds a windows/amd64 zip archive and a Scoop
  manifest; Makefile gains build-windows; release.yml signs, hashes,
  and scans the zip alongside the other artifacts.
- scripts/install.ps1 is a PowerShell installer; install.sh now points
  native-Windows users at it.
- CI builds every package for windows and parse-checks install.ps1.
- internal/thirdparty/renameio vendors github.com/google/renameio with
  an added Windows implementation — upstream v1.0.1 is Unix-only and
  blocked the build through the github.com/coder/hnsw dependency.

daemon install-service stays unsupported on Windows; users run
gortex daemon start --detach instead.
@zzet zzet self-assigned this May 21, 2026
@zzet zzet merged commit 5423bfe into main May 21, 2026
13 of 14 checks passed
@zzet zzet deleted the windows/support branch May 21, 2026 07:12
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.

1 participant