diff --git a/modules/mesh-delivery-contracts/seats/node-build-go/seat.json b/modules/mesh-delivery-contracts/seats/node-build-go/seat.json index 44ad2671..0de300b1 100644 --- a/modules/mesh-delivery-contracts/seats/node-build-go/seat.json +++ b/modules/mesh-delivery-contracts/seats/node-build-go/seat.json @@ -10,8 +10,7 @@ "acts": [ { "step": "build", - "on": "go", - "bound": "60m" + "on": "go" } ], "accepts": [ diff --git a/modules/mesh-delivery-contracts/seats/node-build-image/seat.json b/modules/mesh-delivery-contracts/seats/node-build-image/seat.json index fe1d6afd..78bb6394 100644 --- a/modules/mesh-delivery-contracts/seats/node-build-image/seat.json +++ b/modules/mesh-delivery-contracts/seats/node-build-image/seat.json @@ -10,8 +10,7 @@ "acts": [ { "step": "build", - "on": "kind:image", - "bound": "60m" + "on": "kind:image" } ], "accepts": [ diff --git a/modules/mesh-delivery-contracts/seats/node-build-node/seat.json b/modules/mesh-delivery-contracts/seats/node-build-node/seat.json index a291d993..a04b6240 100644 --- a/modules/mesh-delivery-contracts/seats/node-build-node/seat.json +++ b/modules/mesh-delivery-contracts/seats/node-build-node/seat.json @@ -10,8 +10,7 @@ "acts": [ { "step": "build", - "on": "typescript", - "bound": "60m" + "on": "typescript" } ], "accepts": [ diff --git a/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go b/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go index 53198d98..3458ae1a 100644 --- a/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go +++ b/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go @@ -6,7 +6,8 @@ import ( "testing" ) -// The seat's `build` acting rule matches an artifact by its kind, an image having no language (design 47 G §324, §397). +// The seat's `build` acting rule matches an artifact by its kind, an image having no language (design 47 G §324, §397), +// and names no bound: the acting part's hold ends (H-A-57, H-A-70). func TestTheSeatsBuildRuleActsOnTheKindImage(t *testing.T) { raw, err := os.ReadFile("../../mesh-delivery-contracts/seats/node-build-image/seat.json") if err != nil { @@ -18,7 +19,7 @@ func TestTheSeatsBuildRuleActsOnTheKindImage(t *testing.T) { if err := json.Unmarshal(raw, &def); err != nil { t.Fatal(err) } - if len(def.Acts) != 1 || def.Acts[0].Step != "build" || def.Acts[0].On != "kind:image" { - t.Errorf("acts = %+v; wanted the one rule {build, kind:image}", def.Acts) + if len(def.Acts) != 1 || def.Acts[0].Step != "build" || def.Acts[0].On != "kind:image" || def.Acts[0].Bound != "" { + t.Errorf("acts = %+v; wanted the one rule {build, kind:image} with no bound", def.Acts) } }