cmd/mbf: shallow by default
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m58s
Test / ShareFS (push) Successful in 4m6s
Test / Hakurei (push) Successful in 4m14s
Test / Sandbox (race detector) (push) Successful in 5m41s
Test / Hakurei (race detector) (push) Successful in 6m53s
Test / Flake checks (push) Successful in 1m7s

This is going to be used most of the time, with --deep only useful for fetching bootstrap artifacts.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-07 16:39:38 +09:00
parent aa5d38981d
commit c8e8651694
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -28,6 +28,8 @@ type cache struct {
idle bool
// Unset [pkg.CSuppressInit].
verboseInit bool
// Unset [pkg.CExternShallow].
deep bool
// Loaded artifact of [rosa.QEMU].
qemu pkg.Artifact
@@ -57,6 +59,9 @@ func (cache *cache) open() (err error) {
if !cache.verboseInit {
flags |= pkg.CSuppressInit
}
if !cache.deep {
flags |= pkg.CExternShallow
}
done := make(chan struct{})
defer close(done)