fix(coding-agent/launch): surfaced pre-ready exits in TUI
The model-facing start content reported when a process exited before readiness, but launchRenderResult rebuilt the interactive result solely from structured details and dropped that explanation. Mirror the terminal-without-readyAt condition in the TUI start renderer and add a renderer contract test. Fixes #6303
This commit is contained in:
@@ -442,6 +442,8 @@ export function launchRenderResult(
|
||||
: "Readiness timed out; the process is still running.",
|
||||
),
|
||||
);
|
||||
} else if (params.ready && daemon && daemon.readyAt === undefined && TERMINAL_STATES[daemon.state]) {
|
||||
body.push(theme.fg("warning", "Process exited before readiness was observed."));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user