Repository navigation
feat(release): ship Windows binaries (amd64, arm64) - #809
Open
vijayakrishnans wants to merge 1 commit into
Open
vijayakrishnans wants to merge 1 commit into
vijayakrishnans wants to merge 1 commit into
Conversation
The GitHub release now carries orun_<version>_windows_{amd64,arm64}.zip
with orun.exe, alongside the existing darwin and linux tarballs.
To get there, `orun run --background` stops using the Unix-only
Setpgid: process-group setup moves into command_run_background_unix.go
(unchanged behaviour) and command_run_background_windows.go, which
starts the detached run with CREATE_NEW_PROCESS_GROUP so a Ctrl+C in
the launching console does not reach it.
provider.yaml (the kiox OCI platforms) is unchanged; Windows ships
through the GitHub release only.
Verified: all six targets cross-compile, GOOS=windows go vet ./cmd/...
is clean, go test ./cmd/orun/... passes, a goreleaser snapshot release
produces both zips, and orun.exe runs `version` and `--help` on Windows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: vijayakrishnans <vijayakrishnan12994@gmail.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
What
The GitHub release gains
orun_<version>_windows_amd64.zipandorun_<version>_windows_arm64.zip, each withorun.exe. Until now orun shipped only for darwin and linux, so Windows users (for example, wiringorun mcp serveinto an agent) had to go through WSL.Changes
.goreleaser.yaml: addswindowstogoos, packages Windows as.zip(format_overrides), and the post-build hook copiesorun{{ .Ext }}, sodist/bin/windows/<arch>/orun.exegets the right name.cmd/orun/command_run_background*.go: the only Windows compile blocker wassyscall.SysProcAttr{Setpgid: true}inorun run --background. That moves behindbackgroundSysProcAttr():_unix.go:Setpgid: true(unchanged behaviour)_windows.go:CREATE_NEW_PROCESS_GROUP, so the detached run survives a Ctrl+C in the launching consoleprovider.yamlis unchanged. The kiox OCI artifact keeps its four platforms, and Windows ships only through the GitHub release. Adding it to the OCI manifest can follow once kiox's Windows support is confirmed.Verified
GOOS={linux,darwin,windows} GOARCH={amd64,arm64} go build ./cmd/orun: all six buildGOOS=windows go vet ./cmd/...: cleango test ./cmd/orun/...: passgoreleaser checkplusgoreleaser release --snapshot --skip=publish: produces the four existing tarballs, both Windows zips andchecksums.txtorun.exe versionandorun.exe --helprun on Windows (x86-64)Not in this PR
install.shstays POSIX-only. Windows users download the zip from the release page for now. Ainstall.ps1can follow.orun agent --detachstill returns "not supported on this platform" on Windows (existingagent_detach_other.gobehaviour).🤖 Generated with Claude Code