Skip to content

fix(build): repair macOS signing and enable release recovery - #422

Merged
dbfx merged 1 commit into
mainfrom
t3code/review-open-prs-1
Sep 12, 2026
Merged

fix(build): repair macOS signing and enable release recovery#422
dbfx merged 1 commit into
mainfrom
t3code/review-open-prs-1

Conversation

@dbfx

@dbfx dbfx commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

macOS releases v2.7.0 and v2.8.0 fail when electron-builder passes the certificate password to the temporary signing keychain. Upgrade electron-builder to 26.16.1, which includes the upstream keychain-password fix, and update the lockfile without changing production dependencies.

Add a manual macOS recovery workflow for an existing latest release. It verifies the source is descended from the release tag, rejects application and production-dependency changes, tests the recovery checkout, signs and notarizes both architectures, and verifies all nine macOS release assets. This lets us repair v2.8.0 without moving its tag or including later application changes.

Validation: npm ci, npm run check (137 files / 2,688 tests), npm run build, workflow YAML parsing and bash syntax checks, and git diff --check passed. The separate v2.8.0 recovery checkout passed npm ci, 132 files / 2,633 tests, build, and npm 11.4.2 frozen-lockfile dry run. Actual macOS signing and notarization will be verified through the recovery workflow after merge.

Upstream fix: electron-userland/electron-builder#10172

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T11:55:40.037107Z 8cfeb1b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dbfx
dbfx merged commit 672c310 into main Sep 12, 2026
11 checks passed
@dbfx
dbfx deleted the t3code/review-open-prs-1 branch September 12, 2026 11:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8cfeb1b5ef

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +58 to +61
const production = lock => Object.fromEntries(
Object.entries(lock.packages).filter(([name, pkg]) => name && !pkg.dev)
)
assert.deepEqual(production(recoveryLock), production(releasedLock), 'Production dependencies must stay unchanged')

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject unrelated dev-dependency lock changes

When source_ref changes only lockfile resolutions for another dev dependency, this comparison ignores the changes because every package marked dev is removed. That includes Electron and build tools such as electron-vite/Vite, so the recovery workflow can pass validation and publish binaries built with a different runtime or toolchain even though it promises that only electron-builder may change. Validate the complete lockfile while allowing only electron-builder and its dependency closure, or restrict recovery to an explicitly approved lockfile.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant