SEMANTICS 2303: a metallib without MDSZ or an extended header now translates

What: SEMANTICS_VERSION 2302 -> 2303.

Why: the container fix (c9b08b08f5) changes the output for an input under
an unchanged key: a format 2.2 library, whose entries carry no MDSZ and
which has no extended header, was refused InvalidInput(Container(
MissingTag)), and it now parses and its functions compile. docs/HOWTO.md
section 4 lets a consumer keep a non-transient error as the answer for
that input and device, so without the bump a cached InvalidInput would
outlive the fix. A library that parsed before parses to the same
functions, so no other output changes. The validation censuses key on
SEMANTICS_VERSION (the translation census and the authored-compile
census through the product's census key) and move with it. Harvest
carves the modules of a library the reader refuses and keys nothing on
the reader, so no census, index or harvest version needs a bump of its
own. The golden table reports a bless due; it is re-blessed on
development.

Verified: the lane's quick check and suites at this commit.
This commit is contained in:
Anees Iqbal committed 2026-11-25 12:25:49 -08:00
1 parent ca4759d43f
commit 25945236d1
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ mod tests;
/// unchanged version, and its bless records the version. Independent of the crate's version and of
/// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no
/// history.
pub const SEMANTICS_VERSION: u32 = 2302;
pub const SEMANTICS_VERSION: u32 = 2303;
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another