fix(builder): truncate large error output to prevent log overflow

Build errors from nix can be very large (100k+ chars). This truncates
error output to the first 50 and last 50 lines when it exceeds 100
lines, preventing journal and NATS message overflow.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 00:42:13 +01:00
parent a8aab16d0e
commit c13914bf5a
3 changed files with 130 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ import (
"github.com/urfave/cli/v3"
)
const version = "0.2.0"
const version = "0.2.1"
func main() {
app := &cli.Command{