From 4e82a824be7a2344e876502b3514096c8dfddde4 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 25 Oct 2026 18:57:08 +0100 Subject: [PATCH] Announce the pauses state in the three build modules, and pin mesh-sdk 518dae5 (an unreadable pause pulls as not paused) Without it in Kept, stdio.KeptState refuses the state before the bus (mesh-sdk go/keeps.go refusedUnannounced), so the pause could be neither read nor written. --- modules/mesh-build-go/cmd/mesh-build-go/announce.go | 1 + modules/mesh-build-go/go.mod | 2 +- modules/mesh-build-go/go.sum | 4 ++-- modules/mesh-build-image/cmd/mesh-build-image/announce.go | 1 + modules/mesh-build-image/go.mod | 2 +- modules/mesh-build-image/go.sum | 4 ++-- modules/mesh-build-node/cmd/mesh-build-node/announce.go | 1 + modules/mesh-build-node/go.mod | 2 +- modules/mesh-build-node/go.sum | 4 ++-- 9 files changed, 12 insertions(+), 9 deletions(-) diff --git a/modules/mesh-build-go/cmd/mesh-build-go/announce.go b/modules/mesh-build-go/cmd/mesh-build-go/announce.go index 2543242e..2163bca1 100644 --- a/modules/mesh-build-go/cmd/mesh-build-go/announce.go +++ b/modules/mesh-build-go/cmd/mesh-build-go/announce.go @@ -14,6 +14,7 @@ var Kept = []announce.State{ {Name: "toolchains", Readable: true}, {Name: "keys", Readable: true}, {Name: "steps", Readable: true}, + {Name: "pauses", Readable: true}, } // keepStates announces Kept as this module's (stdio.Keeps): main calls it before it serves. diff --git a/modules/mesh-build-go/go.mod b/modules/mesh-build-go/go.mod index 82373748..f2ce3bf2 100644 --- a/modules/mesh-build-go/go.mod +++ b/modules/mesh-build-go/go.mod @@ -3,7 +3,7 @@ module meshbuildgo go 1.26.0 require ( - git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11 + git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8 github.com/distribution/distribution/v3 v3.1.2 github.com/nats-io/nats-server/v2 v2.11.17 github.com/nats-io/nats.go v1.54.0 diff --git a/modules/mesh-build-go/go.sum b/modules/mesh-build-go/go.sum index af761614..2bc2434a 100644 --- a/modules/mesh-build-go/go.sum +++ b/modules/mesh-build-go/go.sum @@ -1,5 +1,5 @@ -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11 h1:Epg9AslHBC8mL0/CnLx2TI6Knkypcjzn99EiJxhS7rc= -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8 h1:x4mvY7yiGTP5lnzxbiwyj1o24p05hAmzZP7xHg3XX2M= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= github.com/alicebob/miniredis/v2 v2.35.0 h1:QwLphYqCEAo1eu1TqPRN2jgVMPBweeQcR21jeqDCONI= github.com/alicebob/miniredis/v2 v2.35.0/go.mod h1:TcL7YfarKPGDAthEtl5NBeHZfeUQj6OXMm/+iu5cLMM= github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op h1:Z/MZK75wC/NSrkgqeNIa7jexam9uWzhLmFTSCPI/kn0= diff --git a/modules/mesh-build-image/cmd/mesh-build-image/announce.go b/modules/mesh-build-image/cmd/mesh-build-image/announce.go index 616e78c1..ee48ed0a 100644 --- a/modules/mesh-build-image/cmd/mesh-build-image/announce.go +++ b/modules/mesh-build-image/cmd/mesh-build-image/announce.go @@ -13,6 +13,7 @@ import ( var Kept = []announce.State{ {Name: "keys", Readable: true}, {Name: "steps", Readable: true}, + {Name: "pauses", Readable: true}, } // keepStates announces Kept as this module's (stdio.Keeps): main calls it before it serves. diff --git a/modules/mesh-build-image/go.mod b/modules/mesh-build-image/go.mod index 7040f76e..d61c482e 100644 --- a/modules/mesh-build-image/go.mod +++ b/modules/mesh-build-image/go.mod @@ -3,7 +3,7 @@ module meshbuildimage go 1.26.0 require ( - git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11 + git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8 github.com/nats-io/nats-server/v2 v2.11.17 github.com/nats-io/nats.go v1.54.0 ) diff --git a/modules/mesh-build-image/go.sum b/modules/mesh-build-image/go.sum index e05ce0a4..8a877fdd 100644 --- a/modules/mesh-build-image/go.sum +++ b/modules/mesh-build-image/go.sum @@ -1,5 +1,5 @@ -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11 h1:Epg9AslHBC8mL0/CnLx2TI6Knkypcjzn99EiJxhS7rc= -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8 h1:x4mvY7yiGTP5lnzxbiwyj1o24p05hAmzZP7xHg3XX2M= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op h1:Z/MZK75wC/NSrkgqeNIa7jexam9uWzhLmFTSCPI/kn0= github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op/go.mod h1:FQyySiasQQM8735Ddel3MRojmy4dA1IqCeyJ5jmPMbI= github.com/google/go-tpm v0.9.8 h1:slArAR9Ft+1ybZu0lBwpSmpwhRXaa85hWtMinMyRAWo= diff --git a/modules/mesh-build-node/cmd/mesh-build-node/announce.go b/modules/mesh-build-node/cmd/mesh-build-node/announce.go index 2543242e..2163bca1 100644 --- a/modules/mesh-build-node/cmd/mesh-build-node/announce.go +++ b/modules/mesh-build-node/cmd/mesh-build-node/announce.go @@ -14,6 +14,7 @@ var Kept = []announce.State{ {Name: "toolchains", Readable: true}, {Name: "keys", Readable: true}, {Name: "steps", Readable: true}, + {Name: "pauses", Readable: true}, } // keepStates announces Kept as this module's (stdio.Keeps): main calls it before it serves. diff --git a/modules/mesh-build-node/go.mod b/modules/mesh-build-node/go.mod index 30a0eb64..80306322 100644 --- a/modules/mesh-build-node/go.mod +++ b/modules/mesh-build-node/go.mod @@ -3,7 +3,7 @@ module meshbuildnode go 1.26.0 require ( - git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11 + git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8 github.com/distribution/distribution/v3 v3.1.2 github.com/nats-io/nats.go v1.54.0 ) diff --git a/modules/mesh-build-node/go.sum b/modules/mesh-build-node/go.sum index 06abcf12..e6f92511 100644 --- a/modules/mesh-build-node/go.sum +++ b/modules/mesh-build-node/go.sum @@ -1,5 +1,5 @@ -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11 h1:Epg9AslHBC8mL0/CnLx2TI6Knkypcjzn99EiJxhS7rc= -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175104-e8f8ef63fa11/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8 h1:x4mvY7yiGTP5lnzxbiwyj1o24p05hAmzZP7xHg3XX2M= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261025175617-518dae5ec9c8/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= github.com/alicebob/miniredis/v2 v2.35.0 h1:QwLphYqCEAo1eu1TqPRN2jgVMPBweeQcR21jeqDCONI= github.com/alicebob/miniredis/v2 v2.35.0/go.mod h1:TcL7YfarKPGDAthEtl5NBeHZfeUQj6OXMm/+iu5cLMM= github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op h1:Z/MZK75wC/NSrkgqeNIa7jexam9uWzhLmFTSCPI/kn0=