Fix processing log bugs: error handler crash, early-exit path, stale-run detection, and duration formatting

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/3f1ca3bd-627e-4c78-a652-0262d63638fc

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-28 11:19:37 +00:00
parent 1135ee81e2
commit 88fac1d8dd
3 changed files with 61 additions and 4 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ const STATUS_STYLES: Record<string, string> = {
function formatDuration(seconds?: number | null): string {
if (seconds == null) return '—';
if (seconds < 60) return `${seconds.toFixed(1)}s`;
return `${Math.floor(seconds / 60)}m ${Math.round(seconds % 60)}s`;
const totalSecs = Math.floor(seconds);
return `${Math.floor(totalSecs / 60)}m ${totalSecs % 60}s`;
}
function formatDate(iso: string): string {