From 10a6824abe42d5f76fa5e6681e55ac503e304fdc Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 17 Nov 2026 01:21:36 +0100 Subject: [PATCH] Compose: a fault of finding the store other than its listen refusal still refuses the node, tested (A-461b) Builds: design 47 G A-461b --- internal/compose/rendering_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/compose/rendering_test.go b/internal/compose/rendering_test.go index 806c8c7f..e7bc84e0 100644 --- a/internal/compose/rendering_test.go +++ b/internal/compose/rendering_test.go @@ -368,6 +368,14 @@ func TestTheStoreIsFoundByTheImageSeatsHolderAndItsListen(t *testing.T) { if why, held := got.Rendering.NotPlaced["plain"]; held { t.Errorf("a module that fetches nothing from the store waits: %q", why) } + // A-461b: only the listen refusal holds the store's fetchers; any other fault of finding the store (here the holder's machine is + // on the network as first read but unknown when its assignment is read) still refuses the node. + broken := newComposer(in) + broken.onTheNetwork() + broken.in.Nodes = []Node{*nodeOf(t, &in, "laptop")} + if _, err := broken.places("laptop", Resolved{}); err == nil || !strings.Contains(err.Error(), "reading what anchor is assigned") { + t.Errorf("a fault of finding the store other than its listen refusal did not refuse the node: %v", err) + } } // A zone a module declares is placed where the mesh put it: settled from that node's settings, at the node's private address, on