On 26/11/2026 00:27, Collin Funk wrote:
Pádraig Brady <[email protected]> writes:
Oh interesting. I usually do a test run with SIGPIPE ignored
before doing a release. It's interesting github CI also
ignores SIGPIPE. That seems generally problematic, especially
for a CI framework where you don't want to inadvertently spin CPU.
Anyway, yes I can repro with:
$ (trap '' PIPE && make check SUBDIRS=. TESTS=tests/tee/tee.sh)
The fix looks good to me.
FWIW, I looked into it a bit more, and it seems like more of a
consequence of the actions runner being written in C# than a conscious
choice they made
Oh right: https://github.com/actions/runner/issues/2684 :(
I've updated my page with that info:
https://www.pixelbeat.org/programming/sigpipe_handling.html
cheers,
Padraig