← Back to issue list

In "streaming brief" mode, `emit.message()` should clean the progress prefix

View original Github issue

Metadata

Project
craft-cli
Number
#202
Type
issue
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in commit 256d8c2: emit.message() and emit.error() now clear the terminal prefix in streaming brief mode, preventing output such as "Hi :: Done!".

Resolution: closed resolved

Reason: Commit 256d8c2 ("fix: clear prefix for message() and error()") implements the fix. The resulting code resets the terminal prefix before displaying a standalone message in streaming brief mode.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description If I call `emit.progress("Hi")` and then `emit.message("Done!")`, the text that is actually shown is `Hi :: Done!`. ### To Reproduce Something like: ``` emit.progress("Hi", permanent=False) emit.message("Done!") ``` ### part yaml ```shell n/a ``` ### Relevant log output ```shell n/a ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in commit 256d8c2: emit.message() and emit.error() now clear the terminal prefix in streaming brief mode, preventing output such as "Hi :: Done!".
stealth/space-bunny-alpha — closed stale Closed without a documented fix or maintainer explanation; the request to clear temporary progress prefixes in streaming brief mode received no recorded activity.
qwen/qwen3.6-35b-a3b — — Closed without a linked resolution or pull request. The bug report that emit.message() fails to clear the progress prefix in streaming brief mode was acknowledged but left without a merged fix or further action.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The bug reporting that emit.message() fails to clear the progress prefix in streaming brief mode was abandoned. No fix or pull request was implemented.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The bug where emit.message() failed to clear the progress prefix in streaming brief mode was not addressed. Likely abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#203 fix: clear prefix for message() and error() craft-cli merged Merged #203 via commits 9cdb9ef and 256d8c2, routing progress-clearing carriage returns correctly and clearing streaming-brief prefixes before message() and error().
76%