pub fn truncate_status_message(message: &str) -> StringExpand description
Truncate a human message for gRPC Status / trailers (HEADERS).
Prefer the tail: Nix/process failures print progress first and the real error last. Keeping the head (derivation lists) hides the failure.