You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(node-sea-builder): add hash-based caching for SEA binaries
Add intelligent caching to skip SEA builds when CLI bundle unchanged:
- Hash CLI bundle and build script (the inputs)
- Store hashes in centralized build/.cache/ directory
- Skip build if CLI unchanged (per platform/arch)
- Clear logging when using cached builds
Benefits:
- Saves time downloading Node.js binary and injecting blob
- Each platform/arch binary cached separately
- Works reliably on CI and local development
- SHA256 content hashing for accurate cache validation
Hash file naming: {binary-name}.hash (e.g., socket-sea-darwin-arm64.hash)
0 commit comments