Skip to content

Advertisement#3482

Merged
rminnich merged 3 commits intou-root:mainfrom
rminnich:advertisement
Jan 11, 2026
Merged

Advertisement#3482
rminnich merged 3 commits intou-root:mainfrom
rminnich:advertisement

Conversation

@rminnich
Copy link
Copy Markdown
Member

@rminnich rminnich commented Jan 9, 2026

No description provided.

Copy link
Copy Markdown

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 pull request adds timing instrumentation to display how long the u-root build takes in the testramfs tool. The changes include importing the time package and wrapping the build execution with timing code that outputs the duration in seconds with an asterisk border decoration.

Key Changes:

  • Added timing measurement for u-root builds
  • Outputs build duration to stderr with decorative borders
  • Includes a large cinema recording file (5850 lines) showing test output

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated 1 comment.

File Description
tools/testramfs/testramfs.go Added time import and build duration tracking with formatted output
tools/testramfs/cinema/linux_arm64 Added cinema recording file showing terminal output of test execution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.01%. Comparing base (88a0baa) to head (36eaba1).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3482   +/-   ##
=======================================
  Coverage   62.01%   62.01%           
=======================================
  Files         638      638           
  Lines       43150    43150           
=======================================
+ Hits        26758    26759    +1     
+ Misses      16392    16391    -1     
Flag Coverage Δ
.-amd64 90.90% <ø> (ø)
cmds/...-amd64 51.17% <ø> (+0.01%) ⬆️
integration/generic-tests/...-amd64 30.94% <ø> (ø)
integration/generic-tests/...-arm 33.06% <ø> (ø)
integration/generic-tests/...-arm64 30.12% <ø> (ø)
integration/gotests/...-amd64 62.61% <ø> (-0.01%) ⬇️
integration/gotests/...-arm 62.92% <ø> (+<0.01%) ⬆️
integration/gotests/...-arm64 63.02% <ø> (ø)
pkg/...-amd64 60.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
everything 67.21% <ø> (+<0.01%) ⬆️
cmds/exp 32.82% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brho
Copy link
Copy Markdown

brho commented Jan 10, 2026

gotta love that nsec resolution! (will +2 after that one nit about time.Since())

It will onw print this for the u-root build:
************************************************
u-root build took 7.047367875 seconds
************************************************

Useful for showing people.

Signed-off-by: Ronald G. Minnich <[email protected]>
THe plan is to make these visible on the web page

Signed-off-by: Ronald G. Minnich <[email protected]>
@rminnich
Copy link
Copy Markdown
Member Author

If you mean the asciinema, I figure they are not that big, and I want them showing when people go to GitHub.com/u-root/u-root, to give som idea of how it works and how fast it is. I have a feeling people still won't appreciate how fast this build works, but we have to try.

@brho
Copy link
Copy Markdown

brho commented Jan 11, 2026

If you mean the asciinema, I figure they are not that big, and I want them showing when people go to GitHub.com/u-root/u-root, to give som idea of how it works and how fast it is. I have a feeling people still won't appreciate how fast this build works, but we have to try.

thinking of putting them on the README.md page?

@rminnich rminnich merged commit 72cd527 into u-root:main Jan 11, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting reviewer Waiting for a reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants