Skip to content

fix(release): avoid SIGPIPE in changelog generation for long ranges - #559

Merged
abahmed merged 1 commit into
mainfrom
fix/release-changelog-sigpipe
Oct 18, 2026
Merged

abahmed merged 1 commit into
mainfrom
fix/release-changelog-sigpipe

Conversation

@abahmed

@abahmed abahmed commented Oct 18, 2026

Copy link
Copy Markdown
Owner

The Generate changelog step piped git log into head -100 under pipefail. For the stable range (v0.10.5..HEAD, 116 commits) head closes the pipe early, git log gets SIGPIPE and the step exits 141 (dry run 39145997677). Use git log -n 100 instead of the pipe.

Other early-exit pipes reviewed and left unchanged: release.yml git show ... | head -1 (catalog TSV headers, 4-31 KB, below the pipe buffer so git finishes writing before head exits) and publish.yml echo "$TAG" | grep -q (tiny input).

@abahmed
abahmed merged commit cafb222 into main Oct 18, 2026
12 checks passed
@abahmed
abahmed deleted the fix/release-changelog-sigpipe branch October 18, 2026 17:03
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