From 81e335e42dbf70b71bfcc093647d82783a655a29 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 25 Oct 2026 18:15:22 +0100 Subject: [PATCH] Say why a node with no compositions answers none to compose again (ADR 0545, the empty-on-error rule) --- cmd/mesh-controller/kept_compositions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mesh-controller/kept_compositions.go b/cmd/mesh-controller/kept_compositions.go index 148c5095..f7f188c1 100644 --- a/cmd/mesh-controller/kept_compositions.go +++ b/cmd/mesh-controller/kept_compositions.go @@ -101,7 +101,7 @@ func followKept(ctx context.Context, open *stores, node string, modules map[stri lister, err := at.bucket.ListKeys(ctx) if err != nil { if errors.Is(err, jetstream.ErrNoKeysFound) { - return nil, nil + return nil, nil // empty-on-error: a node with no compositions keeps none to compose again } return nil, err }