mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-09 13:47:14 +00:00
3c6bea3c5d
Commit the ZIP response status and headers lazily, on the first byte written, via a small zipStreamWriter. A build failure before any output now returns the normal structured error response instead of a committed 200 with a truncated body; mid-stream failures still abort. Also check the reader Close error in the helper test and cover the pre-stream failure path.