You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A schema nested past 124 levels builds, then fails reading back its stored schema #172
124 levels build; at 125 the build stores the schema, then can't decode what it stored. The failure is an internal error with no source location.
Fix: a nesting limit below the store's, checked before freezing, with a diagnostic pointing at the type. Related: the depth limit in the bounds design (core#98).
Fixed by e454cc0. parse_schema refuses a syntax tree deeper than MAX_SYNTAX_DEPTH (256 levels, about 80 arrays), with a diagnostic at the node. That's below the ~124 arrays where the stored schema stopped decoding. Since #215, the ids_compile fuzz target round-trips every schema it compiles through CBOR, on pull requests and nightly.
Activity
Kinflou commentedon Nov 9, 2026
Fixed by e454cc0.
parse_schemarefuses a syntax tree deeper thanMAX_SYNTAX_DEPTH(256 levels, about 80 arrays), with a diagnostic at the node. That's below the ~124 arrays where the stored schema stopped decoding. Since #215, theids_compilefuzz target round-trips every schema it compiles through CBOR, on pull requests and nightly.