Files
hermes-agent/tests-js
BearHuddleston bcf917ab2d fix(desktop): harden macOS DMG signing, notary budget, and release/smoke gates
Address CI failure and validated review findings on outer macOS DMG
signing, notarization, recording, and smoke verification:

- Update tests/ci/test_protected_canary_publication.py's darwin transport
  fixture to write a real gzipped .dmg.blockmap and parse_mac_feed-valid
  canary-mac.yml matching the recorded ZIP and DMG bytes.
- Reuse the exact certificate identity and keychain selected for the .app
  by recording them in apps/desktop/scripts/mac-sign.mjs (getAppSigningResult)
  instead of re-querying security find-identity in notarize-dmg.mjs.
- Share one combined 300-minute notarization budget across afterSign and
  notarize-dmg.mjs (with a 15-minute reserve for verification/metadata) so
  DMG waiting cannot outlast the 330-minute CI step.
- Require .dmg.blockmap presence and validate tagged *-mac.yml feeds via
  parse_mac_feed (exact ZIP + single DMG entries) in
  scripts/bundles/release_artifacts.py, keeping the no-feed path explicit
  for commit and channel builds.
- Align commit-claim outer DMG verification across release_artifacts.py
  and tests/install/macos-bundle-smoke.sh via a sealed signedDmg: true
  field in darwin bundled install-stamp.json: releases, canaries,
  channels, and signedDmg commit claims enforce outer DMG verification,
  while older pre-PR and legacy commit claims still verify the inner .app.
2026-11-25 00:42:59 +00:00
..
…