Combine the exit-code message with a tail of captured stdout/stderr so AFTER failures show the actual tsc/pnpm diagnostic instead of just "exited with code N".
Combine the exit-code message with a tail of captured stdout/stderr so AFTER failures show the actual tsc/pnpm diagnostic instead of just "exited with code N".