A-112: the node-engine reads recovery-wait-minutes from a file its manifest declares, 90 when missing

The manifest declares the file recovery-wait (content ${config:recovery-wait-minutes}); the node-engine reads it at its start and
does not call stdio.Config, which needs the runtime that launches a bundle.

Builds: design 47 G §633, A-112
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-12 00:21:10 +01:00
parent dc1aee51d9
commit ece79788a3
4 changed files with 39 additions and 6 deletions
+3
View File
@@ -76,6 +76,9 @@ func TestTheManifestConsumesTheBackupEvent(t *testing.T) {
t.Errorf("invokes %v lacks %s", m.Invokes, v)
}
}
if !strings.Contains(string(raw), `"content": "${config:recovery-wait-minutes}\n"`) {
t.Errorf("module.json declares no file with the content ${config:recovery-wait-minutes} (design 47 G A-112)")
}
if m.Config["recovery-wait-minutes"].Default != float64(90) {
t.Errorf("config recovery-wait-minutes is %+v, want default 90", m.Config["recovery-wait-minutes"])
}