From 20e966b9cd703a08cd177455c43a145b6fde2724 Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 17 Nov 2026 12:47:39 +0100 Subject: [PATCH] contracts: a composition reader names when its step ended, so a take-up tells a reader that passed from one that joined later (A-470m) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds: design 47 G ยง719; A-470l, A-470m. Generated by seatgen from the mesh-wants definition. --- .../mesh-delivery-contracts/go/seats/meshwants/contract.go | 2 ++ modules/mesh-delivery-contracts/seats/mesh-wants/seat.json | 5 +++++ .../mesh-delivery-contracts/ts/seats/meshwants/index.d.ts | 2 ++ 3 files changed, 9 insertions(+) diff --git a/modules/mesh-delivery-contracts/go/seats/meshwants/contract.go b/modules/mesh-delivery-contracts/go/seats/meshwants/contract.go index 9b1bbdc4..d68a4315 100644 --- a/modules/mesh-delivery-contracts/go/seats/meshwants/contract.go +++ b/modules/mesh-delivery-contracts/go/seats/meshwants/contract.go @@ -840,6 +840,8 @@ type CompositionReader struct { By string `json:"by,omitempty"` // the commit the step runs at Commit string `json:"commit"` + // when the reader's step said its end; carried into a rerun's run, so a take-up tells a reader that passed from one that joined later (A-470m) + Ended *time.Time `json:"ended,omitempty"` // the module's build-input fingerprint at the commit Fingerprint string `json:"fingerprint"` // the step's ask's id diff --git a/modules/mesh-delivery-contracts/seats/mesh-wants/seat.json b/modules/mesh-delivery-contracts/seats/mesh-wants/seat.json index ece6bb41..beece893 100644 --- a/modules/mesh-delivery-contracts/seats/mesh-wants/seat.json +++ b/modules/mesh-delivery-contracts/seats/mesh-wants/seat.json @@ -1659,6 +1659,11 @@ "by": { "type": "string", "description": "for a rerun, the caller the runtime proved" + }, + "ended": { + "type": "string", + "format": "date-time", + "description": "when the reader's step said its end; carried into a rerun's run, so a take-up tells a reader that passed from one that joined later (A-470m)" } }, "required": [ diff --git a/modules/mesh-delivery-contracts/ts/seats/meshwants/index.d.ts b/modules/mesh-delivery-contracts/ts/seats/meshwants/index.d.ts index bfd117e4..6e043fcf 100644 --- a/modules/mesh-delivery-contracts/ts/seats/meshwants/index.d.ts +++ b/modules/mesh-delivery-contracts/ts/seats/meshwants/index.d.ts @@ -268,6 +268,8 @@ export interface CompositionReader { "by"?: string; /** the commit the step runs at */ "commit": string; + /** when the reader's step said its end; carried into a rerun's run, so a take-up tells a reader that passed from one that joined later (A-470m) */ + "ended"?: string; /** the module's build-input fingerprint at the commit */ "fingerprint": string; /** the step's ask's id */