From 7d4aa474fc48ab41ead29c4f49de0a480416a78f Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Mon, 25 May 2026 13:16:11 -0400 Subject: [PATCH] fix(web): always show run size chip in run header The size chip was gated on billing.total_usd_micros, so it only appeared after a run reached a terminal state. summary.size is always present, so render the chip unconditionally and only append the billed amount to the tooltip when available. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/fabro-web/app/routes/run-detail.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/fabro-web/app/routes/run-detail.tsx b/apps/fabro-web/app/routes/run-detail.tsx index 619483009..06ebbab7c 100644 --- a/apps/fabro-web/app/routes/run-detail.tsx +++ b/apps/fabro-web/app/routes/run-detail.tsx @@ -562,8 +562,11 @@ export default function RunDetail({ params }: { params: { id: string } }) { ); const totalUsdMicros = summary.billing?.total_usd_micros; - const sizeChip = totalUsdMicros != null && ( - + const sizeTooltip = totalUsdMicros != null + ? `Size ${summary.size} · ${formatUsdMicros(totalUsdMicros)} billed` + : `Size ${summary.size}`; + const sizeChip = ( + {summary.size}