fix: rehash zec2 and zec2online against their checked-out form

CI failed the manifest check on both files. The hashes in CHECKSUMS.txt were
computed from the copies zpublish_zscripts had just written, which land with
LF; .gitattributes pins *.ps1 to eol=crlf, so every checkout - CI's included
- materialises them with CRLF and hashes differently.

Local runs passed because the working tree had already been normalised by a
later git operation. Only CI, checking out clean, saw the mismatch. The new
hashes are byte-for-byte the "But was:" values from the failing run.

Nothing about the scripts changed; this is the manifest catching up with the
form the files actually take on disk after checkout.

Worth noting where the sharp edge is: the manifest is generated from the
working tree, so any tool that writes a pinned file and hashes it in the same
breath records a hash the repo will never reproduce. Re-materialising from
git before hashing is what makes the two agree.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
KellyMichels 2026-09-15 20:34:00 -05:00
parent b4478b1070
commit 926bc2c3fb

View File

@ -10,11 +10,11 @@ a0bf131d0efa75cb3ad468d51a857c272faabc362d793a9401ad5a51db1c7b2e zbackup_ec2.ps
9cd51b0aee0bd96c4ba1820a8bcdc0ad515cf26027113536a8f356a2854a8ff7 zdeploy.cmd 9cd51b0aee0bd96c4ba1820a8bcdc0ad515cf26027113536a8f356a2854a8ff7 zdeploy.cmd
16bcfe8231f52788fc1e91626c1f3ddca2ef231f947dc7d72a0f9cad7bbe3bce zdeploy.ps1 16bcfe8231f52788fc1e91626c1f3ddca2ef231f947dc7d72a0f9cad7bbe3bce zdeploy.ps1
a6891e5f6b9d443e9aa296ccd68f63b76e1d2d17ff5e3764a519287efc006bcd zec2.cmd a6891e5f6b9d443e9aa296ccd68f63b76e1d2d17ff5e3764a519287efc006bcd zec2.cmd
4ae9ef4d131d17e326a3f378a41f6561d6a4ddcac1af8617851a26c4b4ee4304 zec2.ps1 d327270e135ddccdc1e12fbbf0fac452fd41207b854c7b060dcfb0796723f015 zec2.ps1
1ee7c70216a4db33b3e92726d3ca18c16c4fbcedae378b7e92bbcd67d2ba690a zec2_rotatekeys.cmd 1ee7c70216a4db33b3e92726d3ca18c16c4fbcedae378b7e92bbcd67d2ba690a zec2_rotatekeys.cmd
efc43770e03c1e363f42064a7ee46c04e19a1c40e0f1daadf5b811d159d28967 zec2_rotatekeys.ps1 efc43770e03c1e363f42064a7ee46c04e19a1c40e0f1daadf5b811d159d28967 zec2_rotatekeys.ps1
6215052f8e6fc2f276e7a3dbacc887e4e3e70e4f1f78eecee434991c23d31011 zec2online.cmd 6215052f8e6fc2f276e7a3dbacc887e4e3e70e4f1f78eecee434991c23d31011 zec2online.cmd
3b8115d323ed6973b2945cc525543c13264bd5a336d849d914fcdae633fe8bad zec2online.ps1 df3159022eada0412609cdfb7d8c95516d8665f1d343610374b27d524a1bbfb3 zec2online.ps1
d4bb99f85f591f3e2ee893788bce9e8020ad737dbd7a183eb713e43120a1ecde ZHelpers.ps1 d4bb99f85f591f3e2ee893788bce9e8020ad737dbd7a183eb713e43120a1ecde ZHelpers.ps1
e90f327cb4bdae778ff2c595d938e8292784bc1c7172f9770a569c820cb61f35 zkill.cmd e90f327cb4bdae778ff2c595d938e8292784bc1c7172f9770a569c820cb61f35 zkill.cmd
fc8865ebe5d493c8d560341f013cef1493a4b727439108b70edc839531cebb8a zkill.ps1 fc8865ebe5d493c8d560341f013cef1493a4b727439108b70edc839531cebb8a zkill.ps1