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,14 @@
package launch
import (
"testing"
"git.novox.be/novox/mesh-sdk/go/buscalls"
)
// A-42: a launched bundle may ask mesh/stream.publish.
func TestABundleMayAskStreamPublish(t *testing.T) {
if !busStateCalls[buscalls.StreamPublish] {
t.Fatal("mesh/stream.publish is not among the methods a bundle may ask")
}
}