Skip to content

cmd/image-builder: upload messages progress bar - #2654

Merged
croissanne merged 1 commit into
osbuild:mainfrom
supakeen:fix-upload-messages
Sep 4, 2026
Merged

croissanne merged 1 commit into
osbuild:mainfrom
supakeen:fix-upload-messages

Conversation

@supakeen

@supakeen supakeen commented Sep 4, 2026

Copy link
Copy Markdown
Member

During upload, status messages (e.g. "Registering AMI...") are written directly to stderr while the progress bar is still rendering sequences to the same stream. This causes garbage terminal output during the registration step.

Closes: #2625

During upload, status messages (e.g. "Registering AMI...") are
written directly to stderr while the progress bar is still rendering
sequences to the same stream. This causes garbage terminal
output during the registration step.

Closes: osbuild#2625

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
supakeen requested a review from a team as a code owner September 4, 2026 09:05

@schuellerf schuellerf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you - more progress :-D

@croissanne

Copy link
Copy Markdown
Member

Let's not merge this one quite yet, I think it would be nice to be able to clear the progress bars too; so you just get the message 'registering'.

@supakeen
supakeen marked this pull request as draft September 4, 2026 10:12

@croissanne croissanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this, definitely an improvement. The progress bytes are still there, but at least the registering message has a spinner in front of it now:

Image

@supakeen
supakeen marked this pull request as ready for review September 4, 2026 11:07
@croissanne
croissanne added this pull request to the merge queue Sep 4, 2026
Merged via the queue into osbuild:main with commit aa628fc Sep 4, 2026
54 checks passed
@supakeen
supakeen deleted the fix-upload-messages branch September 17, 2026 08: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.

image-builder upload progress bar gets weird in the registration step (HMS-11262)

3 participants