Skip to content

Conversation

@cgwalters
Copy link
Collaborator

If we were waiting on a lock as part of bootc status --format=json this information message would end up in stderr, corrupting the output.

@bootc-bot bootc-bot bot requested a review from jeckersb January 13, 2026 20:56
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly redirects spinner status messages to stderr, preventing them from corrupting JSON output on stdout. The changes in the Rust code are logical, and the updated test case is a significant improvement, effectively verifying the fix. I've included a couple of suggestions to enhance the robustness of both the application code and the test script.

@henrywang
Copy link
Collaborator

We might hitting an grub2 regression injected in fedora-bootc:44 44.20260113.0. (Does not have issue on fedora-bootc:44 44.20260112.0.
I filed a blocker bug https://bugzilla.redhat.com/show_bug.cgi?id=2429501 to track this issue.

If we were waiting on a lock as part of `bootc status --format=json`
this information message would end up in stderr, corrupting the output.

Signed-off-by: Colin Walters <walters@verbum.org>
@jeckersb jeckersb force-pushed the status-progress-json branch from 3fd0b4e to 4d5f8de Compare January 14, 2026 16:50
@jeckersb
Copy link
Collaborator

Rebased to pick up #1908

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.

3 participants