Design 47 H2: H-A-513, an image artifact keeps its pinned reference in the composition
This commit is contained in:
@@ -1480,3 +1480,14 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
|
||||
(int64) beside run, in the nodeengine seat's contract (mesh-contracts, with the seat's form bump), written with every
|
||||
have; a have without it counts as no revision applied, so the next want is applied once and recorded. The mesh owns
|
||||
the truth: nothing only in memory. In order: mesh-contracts, then the node-engine.
|
||||
- **H-A-513 (an image artifact keeps its pinned reference in the composition, 01:49)** 23 Nov 01:43: main.369 passed
|
||||
nats 0.1.196 and its composition step on the control-node, and the control-node's node-engine refused the composition:
|
||||
"resource nats.server: image `http://<registry>/v2/nats/server/blobs/sha256:e4bf…` is not pinned. Write it as
|
||||
name@sha256:…". The manifest names the image pinned (nats:2.11.17-alpine@sha256:…), the builder records it as
|
||||
container-image-registry/upstream/docker.io/library/nats@sha256:…, and the node-engine's own composer rewrites every
|
||||
placed artifact to `artifact-store://<module>/<artifact>/blobs/<digest>` (A-50's form for files), which the routing
|
||||
turns into a blob URL its validator refuses; the check's composer judged the manifest, not that form. So: the
|
||||
node-engine keeps an upstream or image artifact's reference as the entry records it (name@digest through the registry
|
||||
route) and uses the blobs form for files and bundles only; the composition step judges the same declaration the engine
|
||||
will apply (the engine's own composer output), so the two validators cannot disagree. One module: the node-engine.
|
||||
P-failure-loud with one truth: a composition that passes its check must be the one the node applies.
|
||||
|
||||
Reference in New Issue
Block a user