cache: ARTIFACT_FORMAT_VERSION 561, the codec's new precision-note tag

f4a423ced6 added PrecisionNote::DeviceLineRasterization as the last entry of the codec's
precision-note list (cache/codec.rs), which is a new tag in an encoded type. Entries written
before it still decode, but a reader from before it, under the same format version, would meet
an unknown tag in an entry this build writes. ARTIFACT_FORMAT_VERSION's own rule (cache/mod.rs:
"a field, variant or tag added") asks for the bump, so such an entry is a miss under the old
reader rather than a decode error.

The value is 561, one above development's 560 (valexec's lockstep note). This branch's base held
557, so the line conflicts at landing and resolves to 561. No SEMANTICS_VERSION bump: the
translator emits no different bytes. The runtime-sources pin does not cover cache/mod.rs.

Verified: cargo fmt --all. The compile runs as its own job.
This commit is contained in:
Anees Iqbal committed 2026-11-20 15:09:55 -08:00
1 parent f6b9aa2a3d
commit 0f0769a7bd
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ pub const SEMANTICS_VERSION: u32 = 2217;
/// re-typed in an encoded type, its `codec` body or its `envelope`. A variant removed while its tag
/// stays unused needs no bump: an entry holding it fails to decode, which is a miss. The commit that
/// bumps it says what changed; this comment keeps no history.
pub const ARTIFACT_FORMAT_VERSION: u32 = 560;
pub const ARTIFACT_FORMAT_VERSION: u32 = 561;
/// The version of what this crate's runtime does with a compiled pipeline: instantiating a binding
/// plan (`BindingPlan::instantiate_*`: descriptor ranges, push bytes, root, argument, and handle