Skip to content

Pass progress estimates as seconds and write them without a space - #165

Merged
bboe merged 1 commit into
mainfrom
estimate-spacing
Nov 12, 2026
Merged

bboe merged 1 commit into
mainfrom
estimate-spacing

Conversation

@bboe

@bboe bboe commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Progress estimates read "~40 s" while elapsed times and totals read "24s". Callers now pass the estimate as seconds, and the progress line alone writes it, as "~40s". The label column gains the character that frees.

🤖 Generated with Claude Code

@bboe
bboe force-pushed the estimate-spacing branch 2 times, most recently from e8a6933 to ba37849 Compare November 12, 2026 09:54
@bboe bboe changed the title Write progress estimates without a space before the s Pass progress estimates as seconds and write them without a space Nov 12, 2026
A step's estimate read "~40 s" while its elapsed time and the total read
"24s" and "2m 03s total". Each caller built the estimate as a string,
so the display lived in some 75 call sites. The estimate is now an int
of seconds, and Progress.begin alone writes it, as "~40s". The label
column takes the character that frees, 43 wide where it was 42.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bboe
bboe merged commit d815836 into main Nov 12, 2026
2 checks passed
@bboe
bboe deleted the estimate-spacing branch November 12, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant