unknownlayerfixture

command
v0.2.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Command unknownlayerfixture publishes a migration artifact carrying one layer whose media type the pinned executor does not accept.

It exists because no product command can produce this artifact. `ptah migrations push` writes the layers it knows, which is the point of it, so an artifact built by a newer publisher than the executor installed here has to be assembled directly. What the fixture is imitating is not corruption: it is the next version of the format, carrying a layer this executor predates.

The refusal that follows belongs to the executor and not to this command. A reader that meets a layer outside its accepted set refuses the whole artifact on the layer descriptor, before the bytes are fetched, which is how it fails closed rather than reading around what it cannot understand.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL