Skip to content

bootupctl: only print the available component when running status in container#1069

Open
HuijingHei wants to merge 1 commit intocoreos:mainfrom
HuijingHei:fix-status-in-container
Open

bootupctl: only print the available component when running status in container#1069
HuijingHei wants to merge 1 commit intocoreos:mainfrom
HuijingHei:fix-status-in-container

Conversation

@HuijingHei
Copy link
Member

Skip the component if the update meatadata is missing

Copy link

@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 updates bootupctl status to only show components with available update metadata when running inside a container. The changes in the Rust code are logical and well-implemented. However, the associated test script in tests/tests/bootupctl-status-in-bootc.sh contains a couple of issues. Specifically, the expected JSON output for the 'no components' scenario is incorrect, and the test case for this scenario lacks assertions, failing to verify the behavior. I've provided detailed comments and suggestions to address these issues in the test script.

@HuijingHei HuijingHei force-pushed the fix-status-in-container branch 4 times, most recently from 850ed45 to 77d5e28 Compare March 13, 2026 03:20
in container

Skip the component if the update meatadata is missing
@HuijingHei HuijingHei force-pushed the fix-status-in-container branch from 77d5e28 to b7c1da3 Compare March 13, 2026 06:17
@HuijingHei HuijingHei requested a review from cgwalters March 16, 2026 07:08
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