Repository navigation
Conversation
…cos-preview.yml` workflow plus helper scripts, tests and docs. It hasn't run for real yet. The package and publish jobs need macOS runners and a dispatch from `main`, and the workflow refuses any other branch, so a PR branch can't be used to test it. What a run does (one `workflow_dispatch`, main only, no secrets anywhere): 1. identity – checks that `source_revision` is reachable from main and that all three runtime images are pinned to that exact SHA. It also refuses a source revision older than the macOS preview tooling, because the build runs that revision's own scripts. 2. runtime-preflight – checks the three published images in the registry, using the same step as the Linux preview. 3. package – builds the x64 and arm64 DMG and ZIP on `macos-15-intel` and `macos-15` from the frozen SHA, with the pinned digests baked in. The existing build hook ad-hoc signs arm64. It then runs the same unsigned-package checks as PR validation, plus the native install/relaunch/removal test. It fails if any signing, notarization or update variable is present, or if the app has a Developer ID signature. 4. finalize – re-checks both builds and writes `macos-preview.json`, `INSTALL.md` and `SHA256SUMS` over all assets. 5. attest – the only job that can mint a signing token. It runs no repository code: it re-checks `SHA256SUMS`, then creates a provenance attestation for all seven assets with `actions/attest-build-provenance` (pinned to v4.2.2). 6. stage-draft – creates (or safely resumes) a draft pre-release tagged `desktop-macos-preview-v<version>-<short sha>`. 7. publish – waits for approval in a new `desktop-macos-preview-publication` environment. I made it separate from the Linux one so approving one platform never approves the other. It runs `gh attestation verify` on every asset, re-downloads and hashes the draft, refuses an existing tag, and publishes as a pre-release with `make_latest: 'false'`. If it fails, only the draft is left behind. Reuse instead of copying: - The identity check is now a shared script (`desktop-preview-identity.mjs`), and the Linux preview workflow uses it too. That changes the Linux workflow: identity now runs from the main checkout rather than the frozen source. The checks and error messages are the same, and I updated the Linux workflow tests to match. - The GitHub draft/upload/verify code moved out of the Linux helper into `preview-release-github.mjs`; the Linux behaviour and messages are unchanged. - A new `macos-preview-v1` profile is treated as preview-only, so it can never produce signed update metadata or go through the stable release publisher. Self-update: unsigned macOS builds already never update. The update URL is only embedded when both `PROPR_DESKTOP_ENABLE_UPDATES=1` and `PROPR_DESKTOP_CODE_SIGNED=1` are set, and the app skips the update check when that URL is empty. `src/macos-preview-update-policy.test.ts` checks this against the workflow's actual build environment. It also checks that turning updates on without signing fails the build, and that update clients reject preview metadata. Docs: `desktop-application.md` now has a "macOS preview builds" section on where to download and how to verify (`shasum -a 256 -c`, `gh attestation verify`). The existing Gatekeeper, keychain and notification notes are kept. Maintainer steps are in `apps/desktop/README.md`, and there's a CHANGELOG [Unreleased] entry. Validation: - `npm run desktop:test`: 1380 passed, 0 failed (56 skipped are platform-gated). - Workspace and root lint with `--max-warnings 0`, and root and workspace typechecks: all clean. - actionlint v1.7.12 and zizmor v1.31.1 (pedantic) report nothing new for either preview workflow; the repo only runs actionlint in CI. I mutated the workflow a few ways (wrong environment, approval check removed, signing token permission removed, credentials persisted) and the contract tests caught each one. - One root test fails before and after my change: `test/thirdPartyNotices.test.mjs` says `THIRD_PARTY_LICENSES.md` is out of date with the last `package-lock.json` commit. I didn't touch either file. Before the first run: - Create the `desktop-macos-preview-publication` environment with required reviewers, deployment limited to `main`, and the variable `PROPR_DESKTOP_MACOS_PREVIEW_PUBLICATION_AUTHORIZED=1`. - Add a tag ruleset for `refs/tags/desktop-macos-preview-v*` that blocks updates and deletion. - Pick a `source_revision` on main that includes this PR. Nothing was tagged, published or merged.
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within the reviewed scope, conditional on the pending Validate Changes check completing successfully. The implementation separates unsigned macOS previews from production releases and provides substantial validation coverage. ✅ Source-bound builds — Identity validation requires a full commit reachable from dispatched main and validates all three source-tagged runtime image digests. ✅ Publication safeguards — Publication checks the exact draft identity, downloads and hashes remote assets, and explicitly publishes a prerelease with ✅ Update-channel isolation — The new preview profile is rejected by stable publication and metadata-signing helpers; tests also cover disabled update configuration. This was a static review; no commands were run. The linked objective contains a truncation notice, so compliance with its omitted requirements could not be assessed. The supplied diff was reviewed as complete. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Record first workflow executionAfter merge and environment configuration, record a complete main-branch dispatch covering both architectures, attestation verification, and publication. The new tests exercise helper behavior and workflow structure, but the implementation summary reports no actual execution of this workflow. This is useful operational validation rather than evidence of a code defect. ScoreThe changed paths have strong identity, integrity, and publication checks, with no verified merge blocker. The supplied current-head status reports zero failures and one pending check; live execution of the new release flow remains unverified. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryI resolved the one merge conflict, in The conflict: Both branches added a new entry at the same spot, under
How I resolved it: I kept both entries in full, with the PR's macOS entry first and Why: The two entries describe unrelated features, and the only reason they conflicted is that both were added in the same place. Dropping or rewording either one would lose a real change from the changelog. The section still reads as valid Markdown, and the ProPR also reported Gmail, Google Calendar and Google Drive as needing sign-in. You can connect them in your claude.ai connector settings if you want them, but this task didn't need them. 🤖 Resolution Details
System-triggered merge conflict resolution |
…cos-unsigned-prev-20261031-2316-1tw Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - CHANGELOG.md PR: #3410 Model: Claude Opus 5.5
|
🔀 Auto-merged No conflicts were found — the merge was verified by an AI agent. 🤖 Verification Details
System-triggered merge conflict resolution |
AI Implementation Summary
Closes #3407
Branch:
3407/claude-opus-5-5-add-a-macos-unsigned-prev-20261031-2316-1twCommits: ✅ Changes committed (aa004f6)
AI Processing Completed
Execution Details:
Summary:
I've added the unsigned macOS preview release flow: a new
desktop-macos-preview.ymlworkflow plus helper scripts, tests and docs. It hasn't run for real yet. The package and publish jobs need macOS runners and a dispatch frommain, and the workflow refuses any other branch, so a PR branch can't be used to test it.What a run does (one
workflow_dispatch, main only, no secrets anywhere):source_revisionis reachable from main and that all three runtime images are pinned to that exact SHA. It also refuses a source revision older than the macOS preview tooling, because the build runs that revision's own scripts.macos-15-intelandmacos-15from the frozen SHA, with the pinned digests baked in. The existing build hook ad-hoc signs arm64. It then runs the same unsigned-package checks as PR validation, plus the native install/relaunch/removal test. It fails if any signing, notarization or update variable is present, or if the app has a Developer ID signature.macos-preview.json,INSTALL.mdandSHA256SUMSover all assets.SHA256SUMS, then creates a provenance attestation for all seven assets withactions/attest-build-provenance(pinned to v4.2.2).desktop-macos-preview-v<version>-<short sha>.desktop-macos-preview-publicationenvironment. I made it separate from the Linux one so approving one platform never approves the other. It runsgh attestation verifyon every asset, re-downloads and hashes the draft, refuses an existing tag, and publishes as a pre-release withmake_latest: 'false'. If it fails, only the draft is left behind.Reuse instead of copying:
desktop-preview-identity.mjs), and the Linux preview workflow uses it too. That changes the Linux workflow: identity now runs from the main checkout rather than the frozen source. The checks and error messages are the same, and I updated the Linux workflow tests to match.preview-release-github.mjs; the Linux behaviour and messages are unchanged.macos-preview-v1profile is treated as preview-only, so it can never produce signed update metadata or go through the stable release publisher.Self-update: unsigned macOS builds already never update. The update URL is only embedded when both
PROPR_DESKTOP_ENABLE_UPDATES=1andPROPR_DESKTOP_CODE_SIGNED=1are set, and the app skips the update check when that URL is empty.src/macos-preview-update-policy.test.tschecks this against the workflow's actual build environment. It also checks that turning updates on without signing fails the build, and that update clients reject preview metadata.Docs:
desktop-application.mdnow has a "macOS preview builds" section on where to download and how to verify (shasum -a 256 -c,gh attestation verify). The existing Gatekeeper, keychain and notification notes are kept. Maintainer steps are inapps/desktop/README.md, and there's a CHANGELOG [Unreleased] entry.Validation:
npm run desktop:test: 1380 passed, 0 failed (56 skipped are platform-gated).--max-warnings 0, and root and workspace typechecks: all clean.test/thirdPartyNotices.test.mjssaysTHIRD_PARTY_LICENSES.mdis out of date with the lastpackage-lock.jsoncommit. I didn't touch either file.Before the first run:
desktop-macos-preview-publicationenvironment with required reviewers, deployment limited tomain, and the variablePROPR_DESKTOP_MACOS_PREVIEW_PUBLICATION_AUTHORIZED=1.refs/tags/desktop-macos-preview-v*that blocks updates and deletion.source_revisionon main that includes this PR.Nothing was tagged, published or merged.
Detailed Logs:
e7ea676c-207f-4500-9476-d99e106b1643Log files stored at:
/usr/src/app/logs/executions/issue-3407-2026-10-31T23-35-34-513Z-conversation.json/usr/src/app/logs/executions/issue-3407-2026-10-31T23-35-34-513Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3407.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!