fix(ci): licence acceptance no longer fails on SIGPIPE #11

Merged
brian merged 1 commit from test into main 2026-08-07 19:10:36 +00:00
Owner

Exit 141 is 128+13, SIGPIPE. yes is killed the moment sdkmanager stops
reading its input, and the runner's shell has pipefail on, so the pipeline
reports the signal and the step fails even though every licence was accepted.

pipefail is off for that one pipeline now, which leaves sdkmanager's own
status deciding it. A bounded printf was tried first on the theory that a
writer which finishes before the reader closes wouldn't be signalled; it is
signalled anyway, and the check below caught that before it was pushed.

Also verifies the SDK actually landed, so a partial install fails here rather
than three steps later as a confusing Gradle error.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

Exit 141 is 128+13, SIGPIPE. `yes` is killed the moment sdkmanager stops reading its input, and the runner's shell has pipefail on, so the pipeline reports the signal and the step fails even though every licence was accepted. pipefail is off for that one pipeline now, which leaves sdkmanager's own status deciding it. A bounded `printf` was tried first on the theory that a writer which finishes before the reader closes wouldn't be signalled; it is signalled anyway, and the check below caught that before it was pushed. Also verifies the SDK actually landed, so a partial install fails here rather than three steps later as a confusing Gradle error. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
fix(ci): licence acceptance no longer fails on SIGPIPE
All checks were successful
Build and Deploy / test (push) Successful in 24s
Build and Deploy / deploy-main (push) Has been skipped
Build and Deploy / deploy (push) Successful in 14s
Build and Deploy / build (push) Successful in 9s
4d04911f31
Exit 141 is 128+13, SIGPIPE. `yes` is killed the moment sdkmanager stops
reading its input, and the runner's shell has pipefail on, so the pipeline
reports the signal and the step fails even though every licence was accepted.

pipefail is off for that one pipeline now, which leaves sdkmanager's own
status deciding it. A bounded `printf` was tried first on the theory that a
writer which finishes before the reader closes wouldn't be signalled; it is
signalled anyway, and the check below caught that before it was pushed.

Also verifies the SDK actually landed, so a partial install fails here rather
than three steps later as a confusing Gradle error.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
brian merged commit cd17cb467b into main 2026-08-07 19:10:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
brian/Journal!11
No description provided.