Problem
During Mac deployment builds, codesign --timestamp contacts Apple's timestamp server for every file in the app bundle. The PyInstaller-bundled Flask backend includes hundreds of data files (particularly tzdata/zoneinfo), which can trigger rate limits or transient timeouts from the timestamp service.
Example error from CI:
codesign --sign ... --timestamp ... flask/_internal/tzdata/zoneinfo/America/Recife
The timestamp service is not available.
This causes the electron-builder signing step to fail intermittently.
Plan
Problem
During Mac deployment builds,
codesign --timestampcontacts Apple's timestamp server for every file in the app bundle. The PyInstaller-bundled Flask backend includes hundreds of data files (particularlytzdata/zoneinfo), which can trigger rate limits or transient timeouts from the timestamp service.Example error from CI:
This causes the
electron-buildersigning step to fail intermittently.Plan
signIgnorepatterns inpackage.jsonto skip signing pure data files (tzdata,certifi) that contain no executable code (PR Prepare release v1.1.0 #1069)electron-builderfrom v24.9.1 to a newer version with better retry logic for codesign timestamp failuresjsonschema_specifications, NWB/HDMF namespace schemas,probeinterfaceprobe library files) — care must be taken not to skip.so/.dylibbinaries within those packages