tool runner: mesh/stream.publish says an event on the calling bundle's own bound stream (A-42)

Builds: design 42 zfs-owns-zfs §25, §24, lead answer A-42
This commit is contained in:
2026-11-13 01:49:02 +01:00
parent 447a8d0359
commit a775b42e4d
6 changed files with 97 additions and 2 deletions
@@ -0,0 +1,15 @@
package runtime
import (
"slices"
"testing"
"git.novox.be/novox/mesh-sdk/go/buscalls"
)
// A-42: mesh/stream.publish is part of the bus-state-calls capability a module's manifest asks for.
func TestStreamPublishIsPartOfTheBusStateCallsCapability(t *testing.T) {
if !slices.Contains(callFamilies[CapBusStateCalls], buscalls.StreamPublish) {
t.Fatal("bus-state-calls does not state mesh/stream.publish")
}
}