From a71b9d05615b4d66e431f78bf820bf780b5fb81c Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 4 Mar 2026 01:10:39 -0500 Subject: [PATCH] Keep duration on far right in stage completion lines Swap cost and duration order so cost appears first and duration stays consistently on the far right edge. Co-Authored-By: Claude Opus 4.6 --- crates/arc-workflows/src/cli/progress.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/arc-workflows/src/cli/progress.rs b/crates/arc-workflows/src/cli/progress.rs index 621f4b51a..5c7f0b857 100644 --- a/crates/arc-workflows/src/cli/progress.rs +++ b/crates/arc-workflows/src/cli/progress.rs @@ -218,9 +218,9 @@ impl ProgressUI { let cost_str = usage .as_ref() .and_then(compute_stage_cost) - .map(|c| format!(" {}", format_cost(c))) + .map(|c| format!("{} ", format_cost(c))) .unwrap_or_default(); - let prefix = format!("{dur}{cost_str}"); + let prefix = format!("{cost_str}{dur}"); let glyph = if succeeded { green_check() } else {