Skip to content

Conversation

@tjones60
Copy link
Contributor

Tweak the output of query-size such that only the size itself is printed to stdout to make it easier for consumers of VmgsTool to parse programmatically. The log intended to be human readable has been shifted to stderr for debugging purposes.

@tjones60 tjones60 requested a review from a team as a code owner November 17, 2025 22:10
Copilot AI review requested due to automatic review settings November 17, 2025 22:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the programmatic usability of the query-size command by separating human-readable debug output from machine-readable data. The informational log message is moved to stderr while the size value itself is printed to stdout, making it straightforward to parse the command output in scripts and automation.

  • Moved descriptive message to stderr for debugging purposes
  • Added clean size-only output to stdout for easy parsing

file_id.0, file_id, file_size
);

println!("{file_size}");
Copy link
Contributor

Choose a reason for hiding this comment

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

If we're expecting people to take a dependency on this behavior we should have comments saying what's stable and what's not.

@github-actions
Copy link

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.

2 participants