From 2e535951cf6ed614da8a0f3bcee9b7c6ce69322e Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Thu, 3 Dec 2026 00:30:31 +0000 Subject: [PATCH] Keep run --wait's 'run ended STATUS' error prefix Co-Authored-By: Claude Opus 5.5 --- internal/cli/app.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/cli/app.go b/internal/cli/app.go index 2442743a..24678ec2 100644 --- a/internal/cli/app.go +++ b/internal/cli/app.go @@ -1472,10 +1472,11 @@ func (a App) finishRun(ctx context.Context, r protocol.Message, o *options, call return err } if o.wait && r.RunDetail.Status != "succeeded" { - message := fmt.Sprintf("run %d ended %s", r.RunDetail.ID, r.RunDetail.Status) + message := fmt.Sprintf("run ended %s (run %d", r.RunDetail.Status, r.RunDetail.ID) if note := failureNote(r.RunDetail); note != "" { - message += " (" + note + ")" + message += ": " + note } + message += ")" if hint := waitingHint(r.RunDetail); hint != "" { message += "; " + hint }