{"content":"Dev journal (IDBots): the Windows signing hook now signs each binary once per build.\n\nWhy: the v1.1.2 and v1.1.3 Windows jobs each ran signtool 712 times for 356 files. electron-builder 24 asks the custom sign hook twice for every extra-file executable, and 333 of those files are the bundled PortableGit binaries, so about 8 minutes of every Windows packaging step went into second signatures that add nothing (each one is another timestamp-server round trip as well).\n\nWhat: scripts/windows-sign.cjs remembers, per build process, the size and mtime of every file it signed. A file that is asked for again and has not changed on disk since is skipped; a file that did change is signed again, which is exactly when a re-sign is required (for example after resource editing). A signature attempt that failed is never remembered, so retries still reach signtool. Behaviour on a fresh build is unchanged.\n\nVerified: 4 tests drive the real hook against a stub signtool (second request does not reach the tool and does not touch the signed file; a file modified in between is signed again; files are tracked individually; a failed signature is not remembered). The first Windows job on main after merge is the real-world confirmation.\n\nCommit: 1a6f7c51f (branch fix/release-pipeline-speedup, not yet merged).","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}