Runtime image authority¶
Two things can name the image a model runtime runs: a build artifact the node produced, or the engine catalog. Exactly one of them is authoritative for a given deployment, and which one follows from the build route rather than from precedence.
Two authority sources¶
build_artifact is authoritative when the build route produced an artifact.
engine_catalog is authoritative when the route is proxy with no build.
flowchart LR
subgraph SRC["TWO AUTHORITY SOURCES"]
direction TB
BA[("build_artifact<br/>digest a node reported")]
EC[("engine_catalog<br/>digest-pinned release")]
end
RK{{"Build route kind<br/>on the execution plan"}}
IMG[("Deployment's resolved image")]
RK -->|"artifact route"| BA
RK -->|"proxy, no build"| EC
BA --> IMG
EC --> IMG
The route kind picks exactly one of the two boxes, and the deployment's image is read from that box alone.
There is one authority per deployment, so the question "which image is this runtime running" has a single answer with a single source.
What a build artifact must carry¶
An artifact route requires the build to have reported enough to pin the image. Four refusals cover what can be missing or wrong:
| Reason | Means |
|---|---|
build_artifact_required |
The route is an artifact route and no build artifact is present |
build_artifact_image_ref_required |
The artifact carries no image reference |
build_artifact_image_digest_required |
The artifact carries no digest |
build_artifact_image_invalid |
The image reference does not resolve as valid |
The digest requirement is the same rule the publish contract enforces at the other end: a digest must come from the builder result, and an alias is never promoted before the immutable push succeeds. Authority resolution simply refuses to pin what the build never reported. See Publish and pull contracts.
Two refusals about the plan itself¶
execution_plan_unsupported the execution plan is not one this resolves for
unsupported_build_route_kind the route kind is outside the supported set
Both are refusals against the deployment's shape rather than its contents. They appear when a model was classified into a route that image authority does not know how to resolve, which is a classification problem rather than a build problem.
The reason set is closed¶
Every outcome is one of seven values, with ok for success, and the set is
registered rather than open. A caller reads one field to learn whether
resolution succeeded and the same field to learn why it did not, and can
enumerate the possibilities in advance.
Why authority is resolved centrally¶
The image a runtime runs is part of what a deployment is. Resolving it in the control plane means it is recorded with the deployment before any node acts, so two nodes serving the same revision serve the same image, and the record of what ran does not depend on asking a node.
See Engine catalog for how a catalog image is resolved, and Build strategy, composition, and orchestration for how the route is classified in the first place.