Skip to content

ci: build two release targets at a time - #200

Merged
zsltg merged 1 commit into
mainfrom
ci/release-parallelism
Oct 28, 2026
Merged

zsltg merged 1 commit into
mainfrom
ci/release-parallelism

Conversation

@zsltg

@zsltg zsltg commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

What and why

On 2026-10-27 the release-snapshot job of #199 was killed three times, at the same step. goreleaser was building the five targets, and the runner stopped the job with a shutdown signal (exit code 137 once, 143 twice). The job runs only when a release input changes. Its last success was on 2026-10-26.

goreleaser runs as many tasks at once as GOMAXPROCS, so the 4-core runner built four targets in parallel. This PR passes --parallelism=2 in the release-snapshot job and in release.yml, so both build two targets at a time. The real release would otherwise probably fail the same way.

This PR changes no release input, so its own CI does not run release-snapshot. That is the documented design: the comment in the changes job says the next pull request that changes a release input tests an edit to these steps. #199 changes go.mod, so it will be the proof after this merges.

Checks

  • make check (actionlint and zizmor included)
  • make cover: not needed, no Go code changes
  • make security: left to CI
  • End-to-end tests: not needed, no Go code changes
  • scripts/mutation-gate.sh: not needed, no Go code changes
  • Tests: the proof is the release-snapshot run of fix(deps): bump the rdb fork to stop a print to stdout #199 after this merges
  • scripts/capabilities.sh: not needed, go.mod and go.sum did not change
  • Docs: no developer command changes

Generated by Claude Code

Summary by CodeRabbit

  • Maintenance
    • Set GoReleaser to use two parallel jobs in snapshot and release workflows.

goreleaser runs as many tasks at once as GOMAXPROCS, so the runner
built four targets in parallel. On 2026-10-27 the release-snapshot job
of #199 was killed three times during that build step, with a runner
shutdown signal and exit code 137. The last success was on 2026-10-26.

Pass --parallelism=2 to goreleaser in the release-snapshot job and in
the release workflow, so both build two targets at a time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Zsolt Gaspar <17578237+zsltg@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 9fd4913 and 8b979b2.

Files selected for processing: 2
  • .github/workflows/ci.yml
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The CI snapshot and release workflows now run GoReleaser with a parallelism limit of two.

Changes: Release workflows

Layer / File(s) Summary
Set parallel build limit
.github/workflows/ci.yml, .github/workflows/release.yml
Both GoReleaser commands now use --parallelism=2. The CI workflow comments note that four concurrent builds previously ended with exit 137.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: codescene-access

Merge Risk: Minimal · up to 8b979

The release workflows are consistently configured and ready for normal validation.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: limiting GoReleaser to two concurrent release targets.
Description check Passed The description includes the required What and why and Checks sections. It explains the failure context, the proposed fix, and the status or rationale for each listed check.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@zsltg

zsltg commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.43%. Comparing base (9fd4913) to head (8b979b2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #200   +/-   ##
=======================================
  Coverage   96.43%   96.43%           
=======================================
  Files         145      145           
  Lines       14563    14563           
=======================================
  Hits        14044    14044           
  Misses        518      518           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zsltg
zsltg merged commit 0392687 into main Oct 28, 2026
75 of 77 checks passed
@zsltg
zsltg deleted the ci/release-parallelism branch October 28, 2026 07:56
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