The watchman is not a moved module: it names no template (issue 1135)

This commit is contained in:
2026-10-18 20:59:09 +02:00
parent 1191a10be1
commit 431f3f023b
2 changed files with 2 additions and 3 deletions
@@ -72,8 +72,8 @@ func load(t *testing.T) (manifest, map[string]json.RawMessage) {
func TestManifestStateAndReads(t *testing.T) { // 1135/AC6
m, top := load(t)
if m.Module != "mesh-delivery-watchman" || !m.Moved || m.Slug != "watchman" {
t.Errorf("module %q moved %v slug %q", m.Module, m.Moved, m.Slug)
if m.Module != "mesh-delivery-watchman" || m.Moved || m.Slug != "watchman" {
t.Errorf("module %q moved %v (it has no template, so it is not moved) slug %q", m.Module, m.Moved, m.Slug)
}
want := []state{{Name: "presence", History: 20}, {Name: "pulse", KeyTTL: true}, {Name: "stuck", History: 20}}
if !reflect.DeepEqual(m.State, want) {
@@ -1,7 +1,6 @@
{
"module": "mesh-delivery-watchman",
"version": "1",
"moved": true,
"slug": "watchman",
"reads": [
"mesh-controller.builds",