mesh-grants: the bootstrap row proves a removed have places nothing
mesh/delivery merged: source.main moved to novox/mesh-delivery@dcc48b82d0cb

Review round 1 of issue 1966's fix: the membership check alone did not pin the removed
phase; the row now reads the inputs and requires mod-y off b while its have is removed.

Claude-Session: https://claude.ai/code/session_01NcbgfFfQ4Z9UE5jK32PmE5
This commit is contained in:
2026-11-07 22:51:35 +01:00
parent ffaff3d3aa
commit 69b6b89af5
+3
View File
@@ -2400,6 +2400,9 @@ func TestGrants(t *testing.T) {
slices.Contains(res.Published, "b.mod-y") {
t.Errorf("memberships published %v (a removed have places nothing)", res.Published)
}
if in := grants.ReadInputs(b, &grants.Manifests{}); slices.Contains(in.Assigned["b"], "mod-y") || !slices.Contains(in.Assigned["b"], "mesh-delivery-builder") {
t.Errorf("a removed have placed its module: b runs %v", in.Assigned["b"])
}
if sealed, _, _ := p.Sealed(); sealed.Digest == "" || sealed.Node != "a" {
t.Errorf("no list sealed to the bus node the haves name: %+v, %+v", sealed, res.Sealed)
}