Skip to content

Build macOS release binaries on macos-26 with --parallelism 4 - #130

Open
Bencheng21 wants to merge 2 commits into
mainfrom
macos-26-arm64-parallelism
Open

Bencheng21 wants to merge 2 commits into
mainfrom
macos-26-arm64-parallelism

Conversation

@Bencheng21

@Bencheng21 Bencheng21 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What

Three changes to the goreleaser-binaries job in .github/workflows/release.yaml:

  • Pin the runner to macos-26 instead of macos-latest.
  • Pass --parallelism 4 to GoReleaser. Without it GoReleaser sizes its build semaphore from runtime.GOMAXPROCS(0), so the runner's core count silently decides how many of the four targets build at once.
  • Add a Report runner hardware diagnostic step at the top of the job, logging the runner label, core counts, CPU brand, and memory.

Why

The standard macOS tier is billed as "3-core or 4-core", so the effective build concurrency has been varying between releases rather than being something we control. Pinning the label and setting parallelism explicitly makes the build deterministic; the diagnostic step records the hardware we actually got instead of leaving us to infer it from timings.

Testing

Branch is wired up for a live run via ConductorOne/baton-github-test on branch test-macos-26-arm64-parallelism, which points its uses: at this branch. Triggering it requires pushing a tag there.

Note: the branch name still reads macos-26-arm64-parallelism from the first revision; it is kept as-is so the test repo's uses: ref stays valid.

🤖 Generated with Claude Code

Bencheng21 and others added 2 commits September 24, 2026 10:38
Pin the binaries job to the macos-26-arm64 label instead of macos-latest,
pass --parallelism 4 to GoReleaser so all four darwin/linux targets build
concurrently regardless of the semaphore GOMAXPROCS would pick, and log the
runner hardware up front so the observed core count is recorded rather than
inferred.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Bencheng21 Bencheng21 changed the title Build macOS release binaries on macos-26-arm64 with --parallelism 4 Build macOS release binaries on macos-26 with --parallelism 4 Sep 24, 2026
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