pub enum Refusal {
UnsupportedPlatform,
ActionTree,
ActionMetadata,
PathNotRegularBlob,
ManifestUnreadable,
ManifestDigest,
DependencyLock,
ArtifactSelection,
RuntimeClosure,
EngineDigest,
PlatformBinding,
BootstrapDigest,
}Expand description
The exact reason a validation refused, in the order the contract checks them. Every one fails before scanning; none of them is recoverable.
Variants§
UnsupportedPlatform
The runner’s platform is outside the closed table.
ActionTree
The action repository, commit, or tree does not resolve as reported.
ActionMetadata
The root action definition is not pinned by the runtime closure.
PathNotRegularBlob
A required path is absent, a symlink, a gitlink, or the wrong mode.
ManifestUnreadable
The manifest blob does not parse under the strict rules.
ManifestDigest
The manifest’s semantic digest differs from the constraint.
DependencyLock
A shipped lockfile’s bytes do not recompute to the manifest’s recorded member digest.
ArtifactSelection
No artifact matches the selected platform and name.
RuntimeClosure
A runtime file’s checksum or mode differs from its manifest row.
EngineDigest
The selected binary’s SHA-256 or engine digest differs.
PlatformBinding
The executable’s own header names a different platform.
BootstrapDigest
The bootstrap’s own bytes do not recompute to the pinned digest.