validate fails on large workflows: checker report exceeds spawnSync's default 1 MiB buffer
Commit: 9e35d2b0b39b155553ba9fcfe0b4f2a5198dd993 Command: node archify/bin/archify.mjs validate workflow map.json --json
What happens: a workflow IR with 51 nodes and 110 edges renders fine, and running the checker directly on the rendered HTML reports ok:true. The report carries 1146 line-crossing and 490 shared-corridor warnings and is about 1.41 MB. validate runs the checker through spawnSync with Node's default maxBuffer (1 MiB), so the report is cut off, the JSON parse fails, and validate reports the workflow as invalid although the layout passed.
Expected: validate either passes maxBuffer sized to the report, streams the checker output, or summarises warnings above a count so the report stays small. A warning count should not turn a valid layout into a failure.
Reproduce: generate a workflow with about 50 nodes across 8 lanes and 110 edges with many lane crossings; run validate workflow with --json; compare with running the checker on the rendered HTML.
Workaround we use: render first, then run the checker on the HTML.
Source: tt-a1i/archify