Skip to content

fix(ci): bound GoReleaser build concurrency on self-hosted runners - #323

Merged
JHWang-1997 merged 1 commit into
mainfrom
fix/goreleaser-build-memory
Oct 20, 2026
Merged

JHWang-1997 merged 1 commit into
mainfrom
fix/goreleaser-build-memory

Conversation

@zpzjzj

@zpzjzj zpzjzj commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

GoReleaser's six cross-platform builds exhausted memory on the 8-vCPU / 16-GiB self-hosted runners. Host logs show the OOM killer terminating a Go compile process and the runner exiting; #320 also lost its runner during the snapshot build, with memory-pressure messages on that host.

Limit both the Extended CI snapshot build and the release artifact build to one GoReleaser task, two parallel Go package builds (GOFLAGS=-p=2), and GOMAXPROCS=2 per Go process. All six platform targets, checks, cache isolation, release permissions, and publication approval remain in place. This bounds concurrency; it is not a hard memory cap.

Validation:

  • make fmt verify test build passed, including race-enabled Go tests and plugin/Skill regressions.
  • Actionlint v1.7.7 and goreleaser check with the pinned v2.17.0 passed.
  • All standard CI checks passed on 0e3fc0591088b4d6f62dcc197400467e5a5fa1aa.
  • Linux GoReleaser snapshot build completed in 3m33s on the recovered 16-GiB runner. Its log confirms --parallelism=1, GOFLAGS=-p=2, GOMAXPROCS=2, all six target builds, archives, and checksums; all Linux runners remained online after completion.
  • CI unit/race tests, lint, E2E Smoke, Windows/Docker E2E, CodeQL, workflow security, and release-tooling verification passed. The tag-only release publication path was not executed for validation.

Related infrastructure failures: #315, #320. Their feature changes are not included in this PR.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T07:46:44.803115Z 0e3fc05 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JHWang-1997 JHWang-1997 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JHWang-1997
JHWang-1997 added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 6d121cb Oct 20, 2026
18 checks passed
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.

2 participants