Skip to content

fix(release): harden notary wait and ship short-alias sidecars only - #358

Merged
mjmhK merged 1 commit into
mainfrom
fix/notarize-wait-and-sidecar-slim
Aug 14, 2026
Merged

fix(release): harden notary wait and ship short-alias sidecars only#358
mjmhK merged 1 commit into
mainfrom
fix/notarize-wait-and-sidecar-slim

Conversation

@mjmhK

@mjmhK mjmhK commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Raise notary wait budget to 150m with per-slice notarytool wait --timeout, network backoff, and 20m submit upload timeout for ~1GB apps.
  • Pack only short sidecar aliases (opencode / onmyagent-orchestrator / versions.json) so dual-arch triple copies never enter the installer.
  • Log afterPack sidecars/runtimes/app sizes for release diagnostics.
  • Clarify unnotarized release warning (no longer says hardcoded false).

Why

Recent Release App failures (e.g. arm64 success / x64 fail) end with:

  • notarization did not complete within 60 min while Apple status is still In Progress
  • intermittent runner network offline (NSURLErrorDomain -1009) during wait
  • occasional notarytool submit timed out

No recent failures show Apple Invalid/Rejected or missing codesign secrets when certs are present. arm64 notarized assets already land on v0.5.3.

Test plan

  • node --check apps/desktop/scripts/electron-after-sign.cjs
  • node --test apps/desktop/scripts/prune-bundled-runtime.test.mjs
  • windows electron-builder config unit test
  • After merge: run Release App with notarize: true, prerelease: true, confirm arm64+x64 package steps succeed

Extend notary wait budget with per-slice timeouts and network backoff, raise
submit upload timeout for ~1GB apps, pack only short sidecar aliases per
target arch, and log afterPack resource sizes for release diagnostics.
@mjmhK
mjmhK merged commit 9447a30 into main Aug 14, 2026
14 checks passed
@mjmhK
mjmhK deleted the fix/notarize-wait-and-sidecar-slim branch August 14, 2026 16:38
@github-actions github-actions Bot added desktop Electron desktop host and packaging ci CI workflows, gates, and check scripts labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI workflows, gates, and check scripts desktop Electron desktop host and packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant