Skip to content

Comments

Demo tinygo CI : experimental net + cpuid builds [WON'T MERGE]#3306

Draft
leongross wants to merge 2 commits intou-root:mainfrom
leongross:tinygo/net-fork-build
Draft

Demo tinygo CI : experimental net + cpuid builds [WON'T MERGE]#3306
leongross wants to merge 2 commits intou-root:mainfrom
leongross:tinygo/net-fork-build

Conversation

@leongross
Copy link
Member

Test runner to show the buildability of all u-root commands using the experimental tinygo network support.

@leongross leongross requested a review from jenstopp February 19, 2025 13:39
@leongross leongross force-pushed the tinygo/net-fork-build branch from 51bdbd0 to 7c8900e Compare February 19, 2025 13:42
Copy link
Member

@jenstopp jenstopp left a comment

Choose a reason for hiding this comment

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

Pls comment on the empty imports of _ "github.com/u-root/cpuid" why it is necessary, that it is temporary and when it can be removed again.

@codecov
Copy link

codecov bot commented Feb 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.43%. Comparing base (e3636c7) to head (f94ec83).
⚠️ Report is 291 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3306   +/-   ##
=======================================
  Coverage   58.43%   58.43%           
=======================================
  Files         612      612           
  Lines       51680    51680           
=======================================
+ Hits        30198    30200    +2     
+ Misses      21482    21480    -2     
Flag Coverage Δ
.-amd64 88.88% <ø> (ø)
cmds/...-amd64 51.35% <ø> (+0.01%) ⬆️
integration/generic-tests/...-amd64 23.37% <ø> (ø)
integration/generic-tests/...-arm 20.29% <ø> (ø)
integration/generic-tests/...-arm64 21.50% <ø> (ø)
integration/gotests/...-amd64 60.53% <ø> (ø)
integration/gotests/...-arm 61.58% <ø> (ø)
integration/gotests/...-arm64 61.70% <ø> (ø)
pkg/...-amd64 58.09% <ø> (ø)

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

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

@leongross leongross force-pushed the tinygo/net-fork-build branch 5 times, most recently from 769ea1d to 88d629c Compare February 19, 2025 14:39
@leongross leongross self-assigned this Feb 19, 2025
@leongross leongross requested a review from jenstopp February 19, 2025 15:26
@leongross leongross marked this pull request as ready for review February 19, 2025 15:29
@leongross leongross force-pushed the tinygo/net-fork-build branch from 88d629c to c1179d7 Compare February 19, 2025 15:31
binjip978
binjip978 previously approved these changes Feb 20, 2025
@leongross
Copy link
Member Author

@jensdrenhaus should we get this in or is it sufficient to keep this as an open PR for now?

@jenstopp
Copy link
Member

This PR is just to show how the tinygo CI in u-root would pass when including some non-upstream tinygo changes.
This is not meant to be merged and will be closed once these changes are upstream in tinygo.

@jenstopp jenstopp changed the title tinygo: experimental net + cpuid builds Demo tinygo CI : experimental net + cpuid builds [WON'T MERGE] Mar 20, 2025
@leongross leongross marked this pull request as draft March 20, 2025 11:26
@leongross leongross force-pushed the tinygo/net-fork-build branch 2 times, most recently from e9a92f0 to 8c81e1f Compare March 21, 2025 11:33
Use https://github.com/leongross/tinygo/tree/threading-netsquash to
build all u-root commands with network support.
Enable previously failing builds in status quo file.

Signed-off-by: leongross <leon.gross@9elements.com>
* update tinygo image version
* update github.com/u-root/cpuid package version in go.mod and go.sum
* update vendored dependecies

Signed-off-by: leongross <leon.gross@9elements.com>
@leongross leongross force-pushed the tinygo/net-fork-build branch from 8c81e1f to f94ec83 Compare March 21, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants