Accept a total of `0` for a progress bar and behave well in this case.
Metadata
Current evaluation
Progress bars should accept total=0 as an unknown-total state instead of dividing by zero. The enhancement is triaged and remains open; the desired rendering needs definition and implementation.
Suggested action: keep open
Reason: The issue is labeled Status: Triaged and Type: Enhancement, while Printer._write_bar_terminal still unconditionally calculates message.bar_progress / message.bar_total, causing total=0 to raise ZeroDivisionError on terminal output. The code path is localized, but the requested acceptable output is underspecified and needs an indeterminate-rendering design plus tests.
Evaluated by: mr-cal-bot
Impact:
42
Quick Win:
20
Complexity:
34
Confidence:
95
Actionability:
72
Issue body
### What needs to get done
When using a progress bar, accept a total of 0 and provide some sort of acceptable output that indicates we don't know the total progress.
### Why it needs to get done
We sometimes want to use a progress bar but aren't sure what the total will be.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
42
Quick Win:
20
Complexity:
34
Confidence:
95
Actionability:
72
|
keep open | Progress bars should accept total=0 as an unknown-total state instead of dividing by zero. The enhancement is triaged and remains open; the desired rendering needs definition and implementation. | |
| stealth/space-bunny-alpha |
Impact:
30
Quick Win:
15
Complexity:
30
Confidence:
87
Actionability:
70
|
keep open | Enhancement request: allow progress_bar(total=0) to represent unknown total. Triaged and still open — printer.py:429 does `bar_progress / bar_total` with no zero guard, so total=0 raises ZeroDivisionError; no fix commit exists yet. | |
| qwen/qwen3.6-35b-a3b |
Impact:
35
Quick Win:
21
Complexity:
25
Confidence:
75
Actionability:
80
|
keep open | Enhancement to handle progress bar with total=0 gracefully instead of crashing with ZeroDivisionError. Issue is triaged and open. | |
| qwen/qwen3.8-27b |
Impact:
25
Quick Win:
18
Staleness:
68
Complexity:
30
Confidence:
75
Support Request:
0
|
keep open | Enhancement to accept total=0 in progress bars to indicate unknown total progress. Triaged by maintainer with Jira ticket CRAFT-4622, but no code changes since. printer.py still divides by bar_total without guarding against zero. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
20
Confidence:
80
Support Request:
0
|
keep open | Enhancement request to handle a total of 0 for progress bars gracefully, indicating unknown progress. Triaged by a maintainer but inactive for over a year with no further discussion or implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
80
Complexity:
20
Confidence:
75
Support Request:
5
|
keep open | Enhancement to gracefully handle a total of 0 in progress bars. Currently triaged but inactive for over a year with no implementation progress. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.