runner: keep export handoffs nonterminal through recovery
This commit is contained in:
@@ -41,6 +41,7 @@ export function runStatusLabel(run) {
|
||||
if (["queued", "running", "waiting"].includes(run?.status)) {
|
||||
if (run.cleanup_unconfirmed) return "Cleanup unconfirmed — workspace reserved";
|
||||
if (run.cancel_requested) return "Stopping — waiting for execution to stop";
|
||||
if (run.status === "waiting" && Number(run.export_pending_sequence) > 0) return "Waiting for session export";
|
||||
}
|
||||
return run?.status || "unknown";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user