Context: Forge parses pipeline definitions from Git and from the database. Forge tracks this as VL-TOML-01.
Current behavior: Toml.hpp provides typed values, source locations, UTF-8 validation, duplicate-key rejection, max_input_bytes and max_depth (defaults 16 MiB and depth 64). Depth checks appear in value parsing; uniform coverage of dotted/table paths needs qualification.
Need: both definition sources must pass identical parser limits and Forge schema validation before scheduling. Reject unknown schema fields, invalid types, non-finite values where prohibited, excessive expansion and invalid graph structure. Parsing must never execute hooks or pipeline code.
Proposed: Forge-owned PipelineDefinitionLimits and parse_and_validate_pipeline; extend upstream ParseOptions only if a reproducer proves inadequate allocation, node, key-path or depth control.
Tests/gate: arrays, inline tables, long dotted keys, deep table trees, invalid UTF-8, duplicates, huge scalars, boundary limits and stable diagnostics. Preserve valid generic TOML behavior. Gates Forge M13 and migration workflow conversion.
Context: Forge parses pipeline definitions from Git and from the database. Forge tracks this as VL-TOML-01.
Current behavior: Toml.hpp provides typed values, source locations, UTF-8 validation, duplicate-key rejection, max_input_bytes and max_depth (defaults 16 MiB and depth 64). Depth checks appear in value parsing; uniform coverage of dotted/table paths needs qualification.
Need: both definition sources must pass identical parser limits and Forge schema validation before scheduling. Reject unknown schema fields, invalid types, non-finite values where prohibited, excessive expansion and invalid graph structure. Parsing must never execute hooks or pipeline code.
Proposed: Forge-owned PipelineDefinitionLimits and parse_and_validate_pipeline; extend upstream ParseOptions only if a reproducer proves inadequate allocation, node, key-path or depth control.
Tests/gate: arrays, inline tables, long dotted keys, deep table trees, invalid UTF-8, duplicates, huge scalars, boundary limits and stable diagnostics. Preserve valid generic TOML behavior. Gates Forge M13 and migration workflow conversion.
Implemented on branch issue-46-toml-limits (commit 9ccfbf7): uniform max_depth enforcement across table headers, dotted keys, inline tables and arrays, plus an opt-in max_nodes cap and input-byte boundary tests. Merged into main; the full Data test suite and a -Werror build pass. Forge-specific pipeline schema validation stays in Forge (no pipeline type exists in Void). Closing as done.
Implemented on branch `issue-46-toml-limits` (commit `9ccfbf7`): uniform `max_depth` enforcement across table headers, dotted keys, inline tables and arrays, plus an opt-in `max_nodes` cap and input-byte boundary tests. Merged into `main`; the full Data test suite and a `-Werror` build pass. Forge-specific pipeline schema validation stays in Forge (no pipeline type exists in Void). Closing as done.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context: Forge parses pipeline definitions from Git and from the database. Forge tracks this as VL-TOML-01.
Current behavior: Toml.hpp provides typed values, source locations, UTF-8 validation, duplicate-key rejection, max_input_bytes and max_depth (defaults 16 MiB and depth 64). Depth checks appear in value parsing; uniform coverage of dotted/table paths needs qualification.
Need: both definition sources must pass identical parser limits and Forge schema validation before scheduling. Reject unknown schema fields, invalid types, non-finite values where prohibited, excessive expansion and invalid graph structure. Parsing must never execute hooks or pipeline code.
Proposed: Forge-owned PipelineDefinitionLimits and parse_and_validate_pipeline; extend upstream ParseOptions only if a reproducer proves inadequate allocation, node, key-path or depth control.
Tests/gate: arrays, inline tables, long dotted keys, deep table trees, invalid UTF-8, duplicates, huge scalars, boundary limits and stable diagnostics. Preserve valid generic TOML behavior. Gates Forge M13 and migration workflow conversion.
Implemented on branch
issue-46-toml-limits(commit9ccfbf7): uniformmax_depthenforcement across table headers, dotted keys, inline tables and arrays, plus an opt-inmax_nodescap and input-byte boundary tests. Merged intomain; the full Data test suite and a-Werrorbuild pass. Forge-specific pipeline schema validation stays in Forge (no pipeline type exists in Void). Closing as done.