fabro/lib/components/fabro-workflow-version
Scott Werner 24f99d4bd6 Serialize workflow-version canonical bytes once at construction
WorkflowVersion::new serialized the whole version just to enforce the
size limit and threw the bytes away, the store re-serialized them to
write the blob, and every read re-serialized a third time for the
canonicality comparison. Cache the canonical bytes on the struct at
construction (skipped during serde) and expose them as an infallible
borrow; the now-unconstructable InvalidShape store error variant goes
away with it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 13:46:10 -04:00
..
src Serialize workflow-version canonical bytes once at construction 2026-08-13 13:46:10 -04:00
Cargo.toml Split workflow version wire type from semantic validation 2026-08-13 13:46:10 -04:00