Name no controller verb in hints and drop its handover and paging reads, since the controller ended (issue 1126 B19)
Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
@@ -160,8 +160,8 @@ func TestTheOfferServesThePortTheManifestServes(t *testing.T) {
|
||||
}
|
||||
}
|
||||
for _, r := range m.Reads {
|
||||
if r == "mesh-controller.assignments" {
|
||||
t.Error("the manifest still reads mesh-controller.assignments, which the sdk's helper no longer reads (issue 1954)")
|
||||
if r == "mesh-placement.assignments" {
|
||||
t.Error("the manifest still reads mesh-placement.assignments, which the sdk's helper no longer reads (issue 1954)")
|
||||
}
|
||||
}
|
||||
for _, a := range m.Build.Artifacts {
|
||||
@@ -195,9 +195,9 @@ func TestOnlyTheMachinesRuntimeStartsTheHelper(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// 774/S33 (ADR 0571 clause 13): this manifest, read as the lease write's check reads it, is not refused at the write: it
|
||||
// reads and invokes nothing of the controller and consumes nothing of it.
|
||||
func TestTheManifestIsNotRefusedAtTheLeaseWrite(t *testing.T) {
|
||||
// 1126/B19 (ADR 0590): this manifest is not refused by the check that refuses any manifest naming the controller:
|
||||
// it reads, invokes, claims and requires nothing of it.
|
||||
func TestTheManifestNamesNothingOfTheController(t *testing.T) {
|
||||
raw, err := os.ReadFile("../../module.json")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -206,7 +206,7 @@ func TestTheManifestIsNotRefusedAtTheLeaseWrite(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if refused := catalogue.ManifestRefusals(map[string]catalogue.Manifest{Module: m}, catalogue.PhaseWrite); len(refused) != 0 {
|
||||
t.Errorf("the lease write's check refuses node-tools' manifest: %v", refused)
|
||||
if refused := catalogue.ManifestRefusals(map[string]catalogue.Manifest{Module: m}); len(refused) != 0 {
|
||||
t.Errorf("the controller-dependence check refuses node-tools' manifest: %v", refused)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user