From fe052c135e46b108804b460a4bf7d35a19942aee Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 00:06:05 +0100 Subject: [PATCH] Read a state's max-mib in the manifest-reads baseline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every running node-engine reads a state's max-mib (it writes every module's bucket cap from it), so the baseline a node-engine that states nothing is read as stating carries it. Builds: design 47 H2 §812, §820; H-A-383 --- go/catalogue/manifest_reads_baseline.txt | 1 + go/catalogue/own_manifest_test.go | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go/catalogue/manifest_reads_baseline.txt b/go/catalogue/manifest_reads_baseline.txt index e1f0f367..68c7239f 100644 --- a/go/catalogue/manifest_reads_baseline.txt +++ b/go/catalogue/manifest_reads_baseline.txt @@ -303,6 +303,7 @@ word:slug word:state word:state.history word:state.key-ttl +word:state.max-mib word:state.name word:state.per-machine word:state.ttl-seconds diff --git a/go/catalogue/own_manifest_test.go b/go/catalogue/own_manifest_test.go index 5c86bd0b..82f00aed 100644 --- a/go/catalogue/own_manifest_test.go +++ b/go/catalogue/own_manifest_test.go @@ -72,7 +72,9 @@ func TestOwnManifestUsesNoWordTheRunningControllerRefuses(t *testing.T) { t.Errorf("%s is in the baseline, or not read: added since it are %v", want, added) } } - for _, want := range []string{"word:claims.serves", "word:settings.default", "form:config", "form:setting", "seat:mesh-catalog"} { + for _, want := range []string{"word:claims.serves", "word:settings.default", "form:config", "form:setting", "seat:mesh-catalog", + // H-A-383: every node-engine reads a state's max-mib, so a manifest naming it needs no newer engine. + "word:state.max-mib"} { if !slices.Contains(baseline, want) { t.Errorf("the baseline lacks %s", want) }