Files
hermes-agent/scripts
BearHuddleston 053ff29629 fix(bundles): pack a uv-cache member too big for a plain ZIP header
pack_uv_cache_archive opened each member with ZipInfo.file_size still 0, and
zipfile chooses a member's ZIP64 header from that size before writing, so
allowZip64=True never applied to it: any single cache file past 2 GiB - 1
stopped the Windows bundle build with "File size too large, try using
force_zip64". The member's size now goes in from the open file first.

Ordinary members come out byte-identical, so archives for today's caches do
not change. The new test lowers zipfile.ZIP64_LIMIT to stand in for 2 GiB and
fails on c83f704484 with that RuntimeError.

Raised by the Sol review of #161706 (S1).
2026-11-30 04:52:06 -08:00
..
…