H-A-553 (2): floor-silent leaves the conditions' homes
The builder's version floor went (B1a, issue 721), and with it the finding floor-silent it raised; no home names that kind any more. Builds: design 47 H2 H-A-553 (2), H §756
This commit is contained in:
@@ -108,10 +108,9 @@ var Homes = map[string]Home{
|
||||
// An owner's change not said on its views family past its bound (mesh-sdk views.UnsaidFinding, id <owner>.<state>):
|
||||
// written by each owner of a views family in its own findings (the indexer, the assigner), so no one observer.
|
||||
"view-unsaid": {Source: "views", Why: "every owner of a views family writes its own"},
|
||||
// The builder's own (design 51): a build that ended failed, a floor whose holder said nothing past its bound, an old
|
||||
// form held seven days by a counted node-engine, a tag's removal asked and not done.
|
||||
// The builder's own (design 51): a build that ended failed, an old form held seven days by a counted node-engine, a tag's
|
||||
// removal asked and not done. Its floor-silent went with its version floor (design 47 H2 H-A-553 (2)).
|
||||
"build-failed": {Source: "builder", Observer: builder},
|
||||
"floor-silent": {Source: "builder", Observer: builder},
|
||||
"old-form-held": {Source: "builder", Observer: builder},
|
||||
"tag-removal-not-done": {Source: "builder", Observer: builder},
|
||||
// The builder's publishing (design 51): a holder refused the publish, or said nothing past its bound (about the name);
|
||||
|
||||
@@ -366,7 +366,7 @@ func TestEveryControllerKindHasItsHome(t *testing.T) {
|
||||
}
|
||||
for kind, observer := range map[string]string{"needs-operator": watchman, "machine-network": watchman, "lease-split": selfCheck,
|
||||
"data-shrank": selfCheck, "retire-waiting": provisioner, "asks-undelivered": messenger,
|
||||
"image-missing": artifactStore, "build-failed": builder, "floor-silent": builder, "old-form-held": builder,
|
||||
"image-missing": artifactStore, "build-failed": builder, "old-form-held": builder,
|
||||
"tag-removal-not-done": builder, "seat-definition-unparsed": indexer, "generated-types-out-of-step": indexer,
|
||||
"seat-defined-twice": indexer, "accepted-unsaid": indexer, "manifest-held": indexer, "packages-token-refused": gitea,
|
||||
"publish-refused": builder, "publish-unanswered": builder, "seat-outcome-unread": builder} {
|
||||
@@ -374,6 +374,10 @@ func TestEveryControllerKindHasItsHome(t *testing.T) {
|
||||
t.Errorf("%s's home is %+v", kind, h)
|
||||
}
|
||||
}
|
||||
// Design 47 H2 H-A-553 (2): the builder's floor-silent went with its version floor, so no home names it.
|
||||
if h, ok := Homes["floor-silent"]; ok {
|
||||
t.Errorf("floor-silent still has a home: %+v", h)
|
||||
}
|
||||
for _, kind := range []string{"resolver-wrong", "holder-silent", "archives-missing", "archives-unheld", "binding-kept",
|
||||
"binding-moved", "binding-moving", "grant-composes-nothing", "root-not-free", "cleanup-waiting", "data-held-twice"} {
|
||||
if h := Homes[kind]; !h.Carried || h.Observer != "" || h.Why != Dropped {
|
||||
@@ -397,9 +401,10 @@ func TestEveryControllerKindHasItsHome(t *testing.T) {
|
||||
// first view, the owners' view too large, the builder's four, the indexer's four and the package seats' token refused.
|
||||
// And the builder's three publishing kinds and the delivery parts' family not heard: 103.
|
||||
// And the owners' changes not said, view-unsaid: 104. And the indexer's mesh-wide hold past its bound, manifest-held
|
||||
// (ADR 0632 §2): 105. (The bus module's own conditions, nats.status-unwritten among them, are said to the keeper
|
||||
// directly, never through findings, so they have no home here.)
|
||||
if len(Homes) != 105 || carried != 37 {
|
||||
// (ADR 0632 §2): 105. Less the builder's floor-silent, gone with its floor (design 47 H2 H-A-553 (2)): 104. (The bus
|
||||
// module's own conditions, nats.status-unwritten among them, are said to the keeper directly, never through findings, so
|
||||
// they have no home here.)
|
||||
if len(Homes) != 104 || carried != 37 {
|
||||
t.Errorf("the table holds %d kinds, %d carried", len(Homes), carried)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user