Repository navigation
fix(release): resolve the image digest without a broken pipe - #22
Open
michielvha wants to merge 1 commit into
Open
michielvha wants to merge 1 commit into
michielvha wants to merge 1 commit into
Conversation
The digest step piped a paginated gh api call into head -1 under set -o pipefail. head exits at the first match while gh is still paginating, gh then dies of SIGPIPE, and the step fails with exit 141 although the digest was found. sed -n 1p reads every page instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Resolve image digeststep rangh api --paginate ... | head -1underset -o pipefail.headexits at the first match whileghis still fetching pages,ghdies of SIGPIPE, and the step fails with exit 141 even though the digest was found. It failed this way twice on 2026-11-25 for stackweaver-orchestrator (0.4.206 and 0.4.207, run) and once for stackweaver-api 0.17.92.sed -n 1preads every page, so the pipe stays open. Checked locally:set -euo pipefail; d=$(seq 1 500000 | head -1)exits 141, the same withsed -n 1pexits 0.The same fix goes to every satellite with this step: orchestrator, api, frontend, ansible-runner, secrets-init and zitadel-init. Each satellite keeps its own release.yml; the monorepo sync copies source only.