Take the Go package artifacts out of the delivery parts for now, so the running builder builds them (issue 1966)
The running builder predates Go package artifacts ("refused kind: package of language go ... no build module
builds it"), so it can build neither the new builder, the grants module, the Go build module nor the checker:
each new part is needed before the others can be built or delivered. For the bootstrap of the registry
delivery, at the operator's word (19:4x, "do the temporary change"), the package artifacts leave the manifests of
the parts that run; the contracts and SDK modules, which run on no node, keep theirs. They come back in one change
once the new builder runs. Quick vs thorough: quick; the thorough fix is 47/G's tier order (issue 1921 note 80).
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
@@ -29,10 +29,6 @@ func TestTheReadingsLayoutIsAPublishedPackageOfThisModule(t *testing.T) {
|
|||||||
if !slices.Contains(m.Reads, engineDataRead) {
|
if !slices.Contains(m.Reads, engineDataRead) {
|
||||||
t.Errorf("reads %v do not name %s", m.Reads, engineDataRead)
|
t.Errorf("reads %v do not name %s", m.Reads, engineDataRead)
|
||||||
}
|
}
|
||||||
for _, a := range m.Build.Artifacts {
|
// Issue 1966's bootstrap: the package artifact diskreadings is out of the manifest until the new builder runs; the follow-up
|
||||||
if a.Name == "diskreadings" && a.Kind == "package" && a.Series == "0.1" && len(a.Paths) == 1 && a.Paths[0] == "diskreadings" {
|
// puts this check back.
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
t.Errorf("no package artifact diskreadings of series 0.1 in %s", raw)
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,15 +24,6 @@
|
|||||||
"loads": [
|
"loads": [
|
||||||
"disk-load"
|
"disk-load"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "diskreadings",
|
|
||||||
"kind": "package",
|
|
||||||
"language": "go",
|
|
||||||
"paths": [
|
|
||||||
"diskreadings"
|
|
||||||
],
|
|
||||||
"series": "0.1"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -85,15 +85,8 @@ func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) {
|
|||||||
}
|
}
|
||||||
// buildstep, which mesh-build-node and mesh-build-image require, is a Go package of this module, numbered in
|
// buildstep, which mesh-build-node and mesh-build-image require, is a Go package of this module, numbered in
|
||||||
// series 0.1 (CAT-BG6; ADR 0606): its users accept a series, never a commit.
|
// series 0.1 (CAT-BG6; ADR 0606): its users accept a series, never a commit.
|
||||||
declared := false
|
// Issue 1966's bootstrap: the package artifact buildstep is out of the manifest until the new builder runs; the follow-up
|
||||||
for _, a := range m.Build.Artifacts {
|
// puts this check back.
|
||||||
if a.Name == "buildstep" {
|
|
||||||
declared = a.Kind == "package" && a.Language == "go" && slices.Equal(a.Paths, []string{"buildstep"}) && a.Series == "0.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if !declared {
|
|
||||||
t.Errorf("artifacts %+v declare no Go package buildstep in series 0.1", m.Build.Artifacts)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// The work and cache directories are outside the home (ADR 0466 §1), owned by the account.
|
// The work and cache directories are outside the home (ADR 0466 §1), owned by the account.
|
||||||
|
|||||||
@@ -213,15 +213,6 @@
|
|||||||
"name": "files",
|
"name": "files",
|
||||||
"kind": "archive",
|
"kind": "archive",
|
||||||
"from": "files"
|
"from": "files"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "buildstep",
|
|
||||||
"kind": "package",
|
|
||||||
"language": "go",
|
|
||||||
"paths": [
|
|
||||||
"buildstep"
|
|
||||||
],
|
|
||||||
"series": "0.1"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,10 +23,6 @@ func TestTheReadingsLayoutIsAPublishedPackageOfThisModule(t *testing.T) {
|
|||||||
if err := json.Unmarshal(raw, &m); err != nil {
|
if err := json.Unmarshal(raw, &m); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
for _, a := range m.Build.Artifacts {
|
// Issue 1966's bootstrap: the package artifact backupgood is out of the manifest until the new builder runs; the follow-up
|
||||||
if a.Name == "backupgood" && a.Kind == "package" && a.Series == "0.1" && len(a.Paths) == 1 && a.Paths[0] == "backupgood" {
|
// puts this check back.
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
t.Errorf("no package artifact backupgood of series 0.1 in %s", raw)
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -196,15 +196,6 @@
|
|||||||
"name": "files",
|
"name": "files",
|
||||||
"kind": "archive",
|
"kind": "archive",
|
||||||
"from": "files"
|
"from": "files"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "backupgood",
|
|
||||||
"kind": "package",
|
|
||||||
"language": "go",
|
|
||||||
"paths": [
|
|
||||||
"backupgood"
|
|
||||||
],
|
|
||||||
"series": "0.1"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -63,15 +63,8 @@ func TestEveryFileTakesItsTextFromATemplate(t *testing.T) {
|
|||||||
t.Errorf("the build packs files/ into %d archives, not one", packs)
|
t.Errorf("the build packs files/ into %d archives, not one", packs)
|
||||||
}
|
}
|
||||||
// The key keeper is this module's published package, taken by series (ADR 0634 §1).
|
// The key keeper is this module's published package, taken by series (ADR 0634 §1).
|
||||||
published := false
|
// Issue 1966's bootstrap: the package artifact sshkeys is out of the manifest until the new builder runs; the follow-up
|
||||||
for _, a := range m.Build.Artifacts {
|
// puts this check back.
|
||||||
if a["name"] == "sshkeys" && a["kind"] == "package" && a["series"] == "0.1" {
|
|
||||||
published = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if !published {
|
|
||||||
t.Errorf("no package artifact sshkeys of series 0.1 in the build")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Issue 955, area S2: the module keeps the keys state and requires the forge's account provision. It declares
|
// Issue 955, area S2: the module keeps the keys state and requires the forge's account provision. It declares
|
||||||
|
|||||||
@@ -106,15 +106,6 @@
|
|||||||
"name": "files",
|
"name": "files",
|
||||||
"kind": "archive",
|
"kind": "archive",
|
||||||
"from": "files"
|
"from": "files"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sshkeys",
|
|
||||||
"kind": "package",
|
|
||||||
"language": "go",
|
|
||||||
"paths": [
|
|
||||||
"sshkeys"
|
|
||||||
],
|
|
||||||
"series": "0.1"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user