From d8e2f9f6a61354179f9f1066572782d98428b9c5 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 1 Nov 2026 02:29:48 +0100 Subject: [PATCH] =?UTF-8?q?mesh-conditions=20tests=20decode=20their=20mani?= =?UTF-8?q?fest=20instead=20of=20judging=20it=20(ADR=200578=20=C2=A73)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL --- modules/mesh-conditions/cmd/mesh-conditions/manifest_test.go | 4 ++-- modules/mesh-conditions/go.mod | 2 +- modules/mesh-conditions/go.sum | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/mesh-conditions/cmd/mesh-conditions/manifest_test.go b/modules/mesh-conditions/cmd/mesh-conditions/manifest_test.go index 94b1801c..1670f3b9 100644 --- a/modules/mesh-conditions/cmd/mesh-conditions/manifest_test.go +++ b/modules/mesh-conditions/cmd/mesh-conditions/manifest_test.go @@ -20,9 +20,9 @@ func TestTheManifestSaysWhatTheCodeDoes(t *testing.T) { if err != nil { t.Fatal(err) } - m, err := catalogue.ParseManifest(raw) + m, err := catalogue.Decode(raw) if err != nil { - t.Fatalf("the manifest is refused: %v", err) + t.Fatalf("the manifest does not decode: %v", err) } seat, _ := catalogue.SeatNamed(Seat) if m.Module != Module || m.RunsAs != Module || len(m.Claims) != 1 || m.Claims[0].Name != Seat || diff --git a/modules/mesh-conditions/go.mod b/modules/mesh-conditions/go.mod index 02410641..60908f8e 100644 --- a/modules/mesh-conditions/go.mod +++ b/modules/mesh-conditions/go.mod @@ -3,7 +3,7 @@ module mesh-conditions go 1.26.0 require ( - git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261031203031-cbbfbf3d2d55 + git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261101012031-7cab079e2ec3 github.com/nats-io/nats.go v1.54.0 ) diff --git a/modules/mesh-conditions/go.sum b/modules/mesh-conditions/go.sum index 5a992d56..b812c7d6 100644 --- a/modules/mesh-conditions/go.sum +++ b/modules/mesh-conditions/go.sum @@ -1,5 +1,7 @@ git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261031203031-cbbfbf3d2d55 h1:OcKTrlH72cPwAHuyAwyRLjGz0qt4VHTeal4MeahPnBM= git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261031203031-cbbfbf3d2d55/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261101012031-7cab079e2ec3 h1:an2f0MLx9OhaDLu5i51OMPBbuGwX+aoTzqOkFLMpVfE= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261101012031-7cab079e2ec3/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=