R6: the controller writes signed per-node compositions and their digests; plans, pushes and their verbs go (issue 1945) #457

Merged
mesh-tools merged 67 commits from feat/r6 into main 2026-10-24 23:00:31 +00:00
Showing only changes of commit 9abe0b59fa - Show all commits
@@ -9,6 +9,8 @@ import (
"testing"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker"
)
// Where root creates and owns a module's directories, and which of the machine's paths reach its container,
@@ -39,8 +41,10 @@ func atTheTerminal(t *testing.T, argv ...string) error {
func runLine(t *testing.T, argv []string) error {
t.Helper()
before := os.Args
defer func() { os.Args = before }()
before, named := os.Args, broker.ConnectionName
// run names every connection this process dials after the line's verb; a later test in this process would dial as
// that verb (issue 1945: a conditions test saw "mesh-controller verb settings").
defer func() { os.Args, broker.ConnectionName = before, named }()
os.Args = append([]string{"mesh-controller"}, argv...)
return run()
}