Skip to content

ci(release): publish darwin and windows archives - #118

Merged
NovusEdge merged 1 commit into
mainfrom
ci/release-cross-platform
Sep 7, 2026
Merged

NovusEdge merged 1 commit into
mainfrom
ci/release-cross-platform

Conversation

@NovusEdge

@NovusEdge NovusEdge commented Sep 7, 2026

Copy link
Copy Markdown
Owner

The release workflow built linux amd64 and arm64 only. It now also builds darwin amd64 and arm64 tarballs, plus windows amd64 and arm64 zips, and checksums.txt covers all six.

Those binaries run doctor and capabilities. internal/hostops refuses every other command on darwin and windows until #82 (QEMU HVF) and #83 (QEMU WHPX) qualify the hosts. docs/getting-started/installation.md states that next to the download so nobody expects a working VM there.

All six targets cross-compile locally with CGO_ENABLED=0.

Summary by CodeRabbit

  • New Features

    • Release packages are now available for Linux, macOS, and Windows on amd64 and arm64.
    • Windows releases are provided as ZIP archives, while other platforms use tar.gz archives.
    • Release checksums now include all archive formats.
  • Documentation

    • Installation guidance now lists supported platform variants and clarifies that macOS and Windows currently support only doctor and capabilities.
    • Linux with KVM remains the supported host for other commands.

The release workflow built linux amd64 and arm64 only. Add darwin
amd64 and arm64 tarballs, and windows amd64 and arm64 zips.

These binaries run doctor and capabilities. hostops refuses every
other command until #82 and #83 qualify those hosts, so the
installation guide says so next to the download.

Signed-off-by: NovusEdge <novusedge0@gmail.com>
@NovusEdge NovusEdge added the enhancement New feature label Sep 7, 2026
@NovusEdge NovusEdge self-assigned this Sep 7, 2026
@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: c0c81af1-6d81-42b2-86fb-8ae3a35b2e25

📥 Commits

Reviewing files that changed from the base of the PR and between a697342 and 71b013d.

📒 Files selected for processing (3)
  • .github/workflows/release.yml
  • CHANGELOG.md
  • docs/getting-started/installation.md

Walkthrough

The release workflow now builds six platform targets, packages Windows binaries as ZIP files, generates checksums for all archives, and uploads both archive types. The changelog and installation guide document platform coverage and command limitations.

Changes

Cross-platform release

Layer / File(s) Summary
Build and publish release archives
.github/workflows/release.yml
The workflow builds Linux, Darwin, and Windows binaries for amd64 and arm64. It creates tar.gz archives for non-Windows targets and ZIP archives for Windows. It generates checksums and uploads both archive types.
Document platform availability
CHANGELOG.md, docs/getting-started/installation.md
The documentation lists the new archives. It states that Darwin and Windows support only doctor and capabilities until host qualification work is complete.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Workflow as GitHub Actions release workflow
  participant Go as Go toolchain
  participant Archives as Release archives
  participant Release as GitHub release
  Workflow->>Go: Build six GOOS/GOARCH targets
  Go-->>Workflow: Produce stoat or stoat.exe
  Workflow->>Archives: Create tar.gz or zip archives
  Workflow->>Archives: Generate checksums
  Workflow->>Release: Upload tar.gz and zip assets
Loading

Poem

A rabbit reads each line,
The patch grows clear beneath the moon,
Small changes hop in place,
Tests guard the garden path,
Reviews bloom before the dawn.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/release-cross-platform

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@NovusEdge
NovusEdge merged commit f7af46b into main Sep 7, 2026
7 of 8 checks passed
@NovusEdge
NovusEdge deleted the ci/release-cross-platform branch September 7, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant