mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-09-14 14:01:28 +08:00
4327ec9ffa
The >256KB rejection case fails on Linux CI because Linux's MAX_ARG_STRLEN (128 KiB per argv element on most kernels) trips before the helper's own size cap fires. spawnSync returns status=null with error.code='E2BIG' instead of status=1. Local macOS development passes because Mach's per-arg limit is ~1 MiB so the helper's cap is what fires. The smoke now accepts either path — the assertion is "rejected before gh is invoked," and E2BIG satisfies that even more strongly (the body cannot reach exec at all). Co-Authored-By: RuFlo <ruflo-bot@users.noreply.github.com>
7.8 KiB
7.8 KiB