Skip to content

Ship release Rust workers in direct distribution bundle#52

Merged
jonathanKingston merged 1 commit into
mainfrom
jkt/auto/ship-rust-workers-release-ad47
May 27, 2026
Merged

Ship release Rust workers in direct distribution bundle#52
jonathanKingston merged 1 commit into
mainfrom
jkt/auto/ship-rust-workers-release-ad47

Conversation

@jonathanKingston

Copy link
Copy Markdown
Owner

Summary

Release builds (make bundle-direct / make ship-release) previously shipped only the Swift app and Sparkle, while debug bundles already included the Rust multiprocess runtime workers. This closes that gap so 1.6+ releases include the sandboxed workers by default.

Changes

  • build-rust-release — runs cargo build --release, verifies all three workers exist, and copies them to .build/release/.
  • bundle-direct — now depends on build-rust-release and copies voicey-capture, voicey-fetch, and voicey-supervisor into Voicey.app/Contents/MacOS/ (fails fast if any worker is missing).
  • sign-direct — codesigns worker binaries after mlx.metallib and before the main app (required for notarization).
  • scripts/release.sh — same worker codesign step in the release signing path.

Debug workflows (build-rust, bundle-debug, bundle-debug-direct) are unchanged.

Test plan

  • On macOS: make build-rust-release produces target/release/{voicey-capture,voicey-fetch,voicey-supervisor}
  • On macOS: make bundle-direct copies release workers into Voicey.app/Contents/MacOS/
  • On macOS: make sign-direct DEVELOPER_ID=... codesigns workers before the main app
  • On macOS: codesign --verify --deep --strict Voicey.app passes with workers present
  • Full release dry-run: make ship-release VERSION=... (or ./scripts/release.sh ...) notarizes successfully

Cannot verify build/sign/notarize on Linux Cloud Agent (macOS-only toolchain).

Open in Web Open in Cursor 

Add build-rust-release to compile workers with cargo --release and copy
them into .build/release/. bundle-direct now depends on it and copies
voicey-capture, voicey-fetch, and voicey-supervisor into
Voicey.app/Contents/MacOS/.

sign-direct and scripts/release.sh codesign those worker binaries after
mlx.metallib and before the main app, which is required for notarization.
@jonathanKingston
jonathanKingston marked this pull request as ready for review May 27, 2026 22:47
@jonathanKingston
jonathanKingston merged commit a3bb40c into main May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants