Skip to content

fix(goreleaser): merge build blocks and increase timeout to 120m - #912

Merged
cdalar merged 1 commit into
mainfrom
fix/ci-warnings
Jun 16, 2026
Merged

cdalar merged 1 commit into
mainfrom
fix/ci-warnings

Conversation

@cdalar

@cdalar cdalar commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Root cause: Three separate builds: blocks in .goreleaser.yml caused goreleaser to cross-compile linux+windows sequentially before darwin, consuming the entire 1-hour default timeout. v0.1.25 hit exactly 59m49s on builds alone, leaving no time for archiving/release.
  • Fix 1: Merge the three build blocks into one β€” all 5 targets (linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64) now run concurrently in a single parallelism pool.
  • Fix 2: Add --timeout 120m to goreleaser-action args as a safety net for slow runners.

Test plan

  • All platforms cross-compile locally: GOOS=windows GOARCH=amd64 go build ./... βœ“, GOOS=linux GOARCH=arm64 go build ./... βœ“, GOOS=darwin GOARCH=amd64 go build ./... βœ“
  • Goreleaser CI passes on next tag push

Three separate build blocks caused goreleaser to cross-compile linux/windows
sequentially before darwin, consuming the entire 1-hour default timeout.
Merging into one block lets all 5 targets build concurrently. Safety net
timeout raised to 120m.
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 22.18%. Comparing base (602a2ed) to head (5332b61).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #912   +/-   ##
=======================================
  Coverage   22.18%   22.18%           
=======================================
  Files          42       42           
  Lines        4111     4111           
=======================================
  Hits          912      912           
  Misses       3083     3083           
  Partials      116      116           

β˜” 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.

@cdalar
cdalar merged commit d5a6d58 into main Jun 16, 2026
15 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.

1 participant

⌂ 捒网址