From 9aa5d5da24f25132747182674c5d124bed7dd852 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Mon, 5 Oct 2026 07:50:57 +0000 Subject: [PATCH] app ui: a finished job's banner stays 5 minutes when it succeeded, 30 when it failed Co-Authored-By: Claude Fable 5.1 --- app/igneum-app/ui/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/igneum-app/ui/app.js b/app/igneum-app/ui/app.js index d1f36e3ae..6fd6f2f12 100644 --- a/app/igneum-app/ui/app.js +++ b/app/igneum-app/ui/app.js @@ -768,8 +768,8 @@ } var l = j.last; if (!l || !l.id) return null; - // the last outcome stays up for 30 minutes - if (l.finished_at && now - l.finished_at > 1800) return null; + // the last outcome stays up for 5 minutes when it succeeded, 30 minutes when it failed (hide dismisses it at once) + if (l.finished_at && now - l.finished_at > (l.status === 'done' ? 300 : 1800)) return null; var d = Math.max(0, Math.round((l.finished_at - l.started_at) / 60)); return { text: 'Job: ' + (l.title || l.kind) + ' ' + l.status + ' after ' + d + ' min, exit ' + l.exit + (l.uploaded ? ', report uploaded' : ', report not uploaded') + (l.summary ? '. ' + l.summary : ''), results: j.last_results || [], failed: l.status !== 'done' }; }