From 19758f44cf4a2d2c6816e47828a2232b141bd1d0 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 16 Nov 2026 12:55:59 +0100 Subject: [PATCH] =?UTF-8?q?pipeline=20runner:=20bind=20the=20kept=20seat?= =?UTF-8?q?=20events'=20streams,=20so=20a=20step's=20end=20is=20heard=20(G?= =?UTF-8?q?-1=20=C2=A724)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesh-delivery-pipeline/cmd/mesh-delivery-pipeline/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/mesh-delivery-pipeline/cmd/mesh-delivery-pipeline/main.go b/modules/mesh-delivery-pipeline/cmd/mesh-delivery-pipeline/main.go index 0a836eb8..9f655c13 100644 --- a/modules/mesh-delivery-pipeline/cmd/mesh-delivery-pipeline/main.go +++ b/modules/mesh-delivery-pipeline/cmd/mesh-delivery-pipeline/main.go @@ -245,6 +245,9 @@ func run(ctx context.Context, getenv func(string) string, logOut io.Writer) erro if err := hub.StartUntilBound(ctx, js, cred, nil, seats.EventsLive); err != nil { logger.Printf("the consumer %s is not bound yet (%v): bound once the bus makes it", cred.EventConsumerName(), err) } + // The steps' ends are kept seat events, each on its own stream (step-ended of the build seats, mesh-builds and + // mesh-wants), never on EVENTS: bound here, or no step of any pipeline is ever heard ending (G-1 ยง24). + logger.Printf("the kept seat events heard: %d streams bound", hub.StartKept(ctx, js, cred)) // The seat's write verbs are answered here, by the process that holds the pipelines (A-107). stopVerbs, err := answerVerbs(calls, seats, writeVerbs(ctx, hearer, starter, func(branch string) (pipeline.Half, bool) { return rv.Catalog.View(branch) }, calls, bounds)) if err != nil {