Display program size for each import during leo build#29554
Open
mvanhorn wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The program-sizes report only listed the primary program, so a developer reviewing a program that pulls in several imports had no per-import size breakdown and could not tell which dependency dominated the on-chain footprint. This adds an import-size line per imported program, formatted consistently with the existing primary-program size output. Closes #29174.
Test Plan
Updated the affected CLI expectation snapshots so they include the new import-size lines, and confirmed the formatting matches the existing primary-size rendering. Run the CLI test suite to verify the snapshots match.
Related PRs
None.
AI was used for assistance.