Repository navigation
Description
Add a macOS unsigned preview release flow for the desktop app, so ProPR Desktop for macOS can be distributed without a paid Apple Developer account. Check current upstream main first.
Context: the production desktop release (desktop-release-guard.yml, desktop-v* tags) needs Apple Developer ID signing and notarization secrets and the desktop-release/desktop-release-preflight environments, which don't exist yet (#2077). Leave that path untouched. Linux already has a preview track: desktop-linux-preview.yml (stage-draft an unsigned bundle from a frozen source_revision with pinned runtime_app_image/runtime_ui_image/runtime_agent_image digests, identity bound to main) → desktop-linux-signed-preview.yml (sign, then publish through protected environments). CI already builds and validates unsigned darwin-x64 (macos-15-intel) and darwin-arm64 (macos-15) packages ('Validate unsigned darwin-… package' jobs, including apps/desktop/scripts/sign-darwin-local-package.test.mjs for the local ad-hoc signature on arm64). docs/docs/operations/desktop-application.md already documents installing unsigned macOS builds (Gatekeeper 'Open Anyway' on macOS 15+, xattr -dr com.apple.quarantine /Applications/propr-desktop.app, no self-update, notifications may not be delivered).
Build desktop-macos-preview.yml (workflow_dispatch, main only), mirroring the Linux preview's structure and safety properties:
- Inputs:
source_revision(full SHA reachable from main) and the same three pinned runtime image references (propr/app:<sha>@sha256:…multi-arch,propr/ui:<sha>@sha256:…multi-arch,propr/agent:<sha>@sha256:…linux/amd64). Reuse the Linux preview's identity binding and runtime-manifest verification steps or scripts instead of duplicating logic. - Build darwin-x64 and darwin-arm64 DMG and ZIP packages on the native macOS runners from the frozen SHA, with the runtime manifest bound to the pinned digests. Apply the existing local ad-hoc signature so arm64 launches. Run the existing unsigned-package acceptance and validation checks, and fail closed.
- Produce SHA256SUMS across all assets and GitHub build provenance attestations (actions/attest-build-provenance) for every artifact, so users can verify downloads without Apple notarization.
- Publish as a GitHub pre-release (never 'latest'), tagged like the Linux preview's naming, e.g.
desktop-macos-preview-v<version>-<short sha>, through a protected environment: reusedesktop-linux-preview-publicationor add adesktop-macos-preview-publicationenvironment, and document which. Stage a draft first, then publish, as Linux does, so a failed job never leaves a half-published release. No Apple secrets anywhere, and no signing secrets exposed to build jobs. - Make sure the unsigned macOS build does not try to self-update through the signed update channel (verify how
signed-update-policyand the release profile behave for unsigned darwin builds, and add a test). The docs already say manual replacement. - Update docs/docs/operations/desktop-application.md with where to download macOS preview builds and how to verify them (
shasum -a 256 -candgh attestation verify), keeping the existing Gatekeeper, keychain and notification caveats. Add a CHANGELOG [Unreleased] entry. - Tests: workflow contract tests in the style of the existing desktop workflow tests (identity binding, pinned digests, pre-release only, no secrets in build jobs, checksums and attestations present), plus actionlint and zizmor if the repo uses them.
Validation: desktop and workflow tests, npm run lint --workspaces --if-present -- --max-warnings 0, root and workspace typechecks. If possible, include evidence from a real dispatch on a PR branch, or explain why it must run from main. One focused PR ready for review. Do not auto-merge, tag, publish or deploy.
Submitted by @integry through ProPR.
Activity
propr-dev commentedon Oct 31, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53407/claude-opus-5-5-add-a-macos-unsigned-prev-20261031-2316-1twmainissue-3407-20261031-2316-claude-opus-5-5-1tw🔍 Track Task Execution