pingqiuandClaude Opus 5.5 69cd5c08bb ci: a dead recorder hands its stream to cat; a sampler that will not stop is recorded
If the Go event recorder itself dies or cannot start, the rest of its
stream (stdout, and the stderr side) now drains through cat, so go test
never writes into a closed pipe and its own exit status stays the answer.
Twins with a recorder that exits after 100 bytes and a large stream:
exit 0 stays 0, exit 7 stays 7.

Stopping the load sampler now waits on its pidfd (readable on exit) for
2 s; a sampler still alive leaves load.incomplete beside its rows and a
stderr note instead of returning as if it had flushed. The stop test
checks the process is gone (no file-stability guess) and a SIGTERM-
ignoring stand-in yields the note within 5 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 23:50:48 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%