From ba5a253888ca0d7767b76ecb8b1ad7367c577662 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 03:13:15 +0100 Subject: [PATCH] H2 K: the have's pipeline is compared only when the want's branch is the same MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A pipeline's key is ., so the engine compares a want's run with the have's when the want's branch, the key without its last part, is the have's; the description said "the same" pipeline. Description only, no form change. Generated with mesh-delivery's seatgen (built from b65b6173's source); seatgen -check clean in all five folders. Review round 2, finding: the whole pipeline key compared instead of its branch. Builds: design 47 H2 §813 (1); H-A-429 (1), H-A-458 (1) --- go/seats/nodeengine/contract.go | 2 +- seats/node-engine/seat.json | 2 +- ts/seats/nodeengine/index.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go/seats/nodeengine/contract.go b/go/seats/nodeengine/contract.go index 95f3682..a1ea2f2 100644 --- a/go/seats/nodeengine/contract.go +++ b/go/seats/nodeengine/contract.go @@ -1762,7 +1762,7 @@ type HaveByNodeModuleValue struct { Kept []string `json:"kept,omitempty"` // how far it has come Phase string `json:"phase"` - // the pipeline of the want the module was applied from, its key ., beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want names the same; absent for a want in none + // the pipeline of the want the module was applied from, its key ., beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want's branch is the same, the key without its last .; absent for a want in none Pipeline string `json:"pipeline,omitempty"` PullWait *PullWait `json:"pull-wait,omitempty"` // the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): a restarted engine applies no older run again diff --git a/seats/node-engine/seat.json b/seats/node-engine/seat.json index 4711ce8..6214da6 100644 --- a/seats/node-engine/seat.json +++ b/seats/node-engine/seat.json @@ -1362,7 +1362,7 @@ }, "pipeline": { "type": "string", - "description": "the pipeline of the want the module was applied from, its key ., beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want names the same; absent for a want in none" + "description": "the pipeline of the want the module was applied from, its key ., beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want's branch is the same, the key without its last .; absent for a want in none" }, "kept": { "type": "array", diff --git a/ts/seats/nodeengine/index.d.ts b/ts/seats/nodeengine/index.d.ts index debebf7..05a956f 100644 --- a/ts/seats/nodeengine/index.d.ts +++ b/ts/seats/nodeengine/index.d.ts @@ -1350,7 +1350,7 @@ export interface HaveByNodeModuleValue { "kept"?: string[]; /** how far it has come */ "phase": "backing-up" | "applying" | "checking" | "running" | "failed" | "removed" | "held" | "waiting-yes"; - /** the pipeline of the want the module was applied from, its key ., beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want names the same; absent for a want in none */ + /** the pipeline of the want the module was applied from, its key ., beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want's branch is the same, the key without its last .; absent for a want in none */ "pipeline"?: string; "pull-wait"?: PullWait; /** the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): a restarted engine applies no older run again */