Limit goreleaser parallel builds to 2 - #955
Conversation
GitHub-hosted runners are being killed mid-build with a shutdown signal when all 4 cross-compilation targets run concurrently. Capping at 2 reduces peak resource usage without making the build excessively long.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to data retention organization setting WalkthroughGoReleaser now limits ChangesBuild configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dustman9000 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
🤖 Finished Review · ✅ Success · Started 12:47 PM UTC · Completed 12:52 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.59 |
|
Review skipped — this PR is already merged. The Posted by fullsend pre-review check |
|
Review skipped — this PR is already merged. The Posted by fullsend post-review check |
The v0.64.0 release workflow has failed twice with GitHub's runner receiving a shutdown signal ~11 minutes into goreleaser's cross-compilation phase. By default goreleaser runs all 4 build targets (linux/amd64, linux/arm64, darwin/amd64, darwin/arm64) concurrently, which puts heavy parallel load on the runner.
This caps parallelism at 2 to reduce peak resource usage and avoid triggering runner preemption, while still being faster than fully sequential builds.
Testing
Re-running the release workflow after this merges will validate the fix.
Summary by CodeRabbit
osdctl.