internal/rosa/git: disable more broken tests
Some checks failed
Test / Sandbox (push) Has started running
Test / Flake checks (push) Has been cancelled
Test / ShareFS (push) Has been cancelled
Test / Hakurei (race detector) (push) Has been cancelled
Test / Create distribution (push) Has been cancelled
Test / Sandbox (race detector) (push) Has been cancelled
Test / Hakurei (push) Has been cancelled

These are causing too many spurious failures.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-07 19:49:35 +09:00
parent 403d949f50
commit 0dd95970a4
4 changed files with 23 additions and 24 deletions

View File

@@ -183,7 +183,8 @@ const (
// PresetUnexportedStart is the first unexported preset. // PresetUnexportedStart is the first unexported preset.
PresetUnexportedStart PresetUnexportedStart
llvmSource = iota - 1 stage0Dist = iota - 1
llvmSource
// earlyCompilerRT is an early, standalone compiler-rt installation for the // earlyCompilerRT is an early, standalone compiler-rt installation for the
// standalone runtimes build. // standalone runtimes build.
// //

View File

@@ -55,6 +55,9 @@ disable_test t9300-fast-import
disable_test t0211-trace2-perf disable_test t0211-trace2-perf
disable_test t1517-outside-repo disable_test t1517-outside-repo
disable_test t2200-add-update disable_test t2200-add-update
disable_test t0027-auto-crlf
disable_test t7513-interpret-trailers
disable_test t7703-repack-geometric
`, `,
Check: []string{ Check: []string{
"-C t", "-C t",

View File

@@ -266,7 +266,7 @@ func (t Toolchain) New(
support = append(support, extra...) support = append(support, extra...)
support = append(support, cureEtc{}) support = append(support, cureEtc{})
if t == toolchainStage0 { if t == toolchainStage0 {
support = append(support, NewStage0()) support = append(support, t.Load(stage0Dist))
} else { } else {
support = append(support, _toolchainBusybox.New("gentoo", 0, nil, nil, nil, ` support = append(support, _toolchainBusybox.New("gentoo", 0, nil, nil, nil, `
tar -C /work -xf /usr/src/stage3.tar.xz tar -C /work -xf /usr/src/stage3.tar.xz

View File

@@ -1,8 +1,6 @@
package rosa package rosa
import ( import (
"sync"
"hakurei.app/fhs" "hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
) )
@@ -32,25 +30,22 @@ func init() {
} }
} }
var ( func init() {
// stage0 stores the tarball unpack artifact. const version = "20260504"
stage0 pkg.Artifact artifactsM[stage0Dist] = Metadata{
// stage0Once is for lazy initialisation of stage0. f: func(Toolchain) (pkg.Artifact, string) {
stage0Once sync.Once return newTar(
) "https://hakurei.app/seed/"+version+"/"+
// NewStage0 returns a stage0 distribution created from curing [Stage0].
func NewStage0() pkg.Artifact {
stage0Once.Do(func() {
stage0 = newTar(
"https://hakurei.app/seed/20260504/"+
"stage0-"+triplet()+".tar.bz2", "stage0-"+triplet()+".tar.bz2",
perArch[string]{ perArch[string]{
"amd64": "IQjFDkiAVLo1XzflgMMiLP3gnVY2hhDMTzl-QqJDCQhcLQ3lLtRzjI5WCxGyW_lk", "amd64": "IQjFDkiAVLo1XzflgMMiLP3gnVY2hhDMTzl-QqJDCQhcLQ3lLtRzjI5WCxGyW_lk",
"arm64": "6fmwl2Umx2QssKQvxxb1JOGkAjzfA_MXKku0jVdGjYGb35OvwEVA5NYtd0HIy3yH", "arm64": "6fmwl2Umx2QssKQvxxb1JOGkAjzfA_MXKku0jVdGjYGb35OvwEVA5NYtd0HIy3yH",
}.unwrap(), }.unwrap(),
pkg.TarBzip2, pkg.TarBzip2,
) ), version
}) },
return stage0
Name: "stage0-dist",
Description: "Rosa OS stage0 bootstrap seed",
}
} }