Skip to content

ci: fix macOS build workflow failing on every push#4

Merged
bionorthtech merged 1 commit into
mainfrom
claude/sharp-fermat-UUwei
May 26, 2026
Merged

ci: fix macOS build workflow failing on every push#4
bionorthtech merged 1 commit into
mainfrom
claude/sharp-fermat-UUwei

Conversation

@bionorthtech

Copy link
Copy Markdown
Owner

Problem

build-macos.yml ran on every push to main and failed ~13s in at the "Import Apple certificates" step because the repository has no Apple Developer signing secrets. With the default fail-fast matrix, the Intel job was then cancelled and the Universal Binary step skipped — producing the red "some checks were not successful". The workflow also still referenced opcode.app, a leftover bundle name from the upstream fork (the app is now Syndrome AI).

Fix

  • No longer runs on every push — converted to a release/manual workflow (workflow_call + workflow_dispatch). Per-commit compilation is already covered by build-test.yml across Linux/Windows/macOS/ARM64.
  • Signing is now optional — all Apple secrets are required: false, and the certificate import is gated on APPLE_CERTIFICATE being present. Without secrets the build still succeeds and produces an unsigned bundle.
  • Let Tauri handle signing/notarization — removed the bespoke opcode.app lipo/codesign/notarytool steps; builds per-arch DMGs by target instead.
  • fail-fast: false so one arch failing no longer cancels the other.

Verification

  • All workflow YAML validated.
  • tsc --noEmit clean, npm run build succeeds, npm audit 0 vulnerabilities.

https://claude.ai/code/session_01Gmu1w8BkBKAGnZSLfTsERC


Generated by Claude Code

The macOS workflow ran on every push to main and failed at the Apple
certificate import step because the repo has no signing secrets; it also
referenced the old opcode.app bundle name from the upstream fork.

- Make it a release/manual workflow (workflow_call + workflow_dispatch),
  not a per-push job — build-test.yml already compiles on all platforms
- Make all signing secrets optional; gate certificate import on their
  presence so unsigned builds still succeed
- Let Tauri handle signing/notarization (drops the opcode.app-specific
  lipo/codesign/notarytool steps) and build per-arch DMGs by target
- Add fail-fast: false so one arch failing no longer cancels the other

https://claude.ai/code/session_01Gmu1w8BkBKAGnZSLfTsERC
@bionorthtech bionorthtech merged commit 818378a into main May 26, 2026
3 of 6 checks passed
@bionorthtech bionorthtech deleted the claude/sharp-fermat-UUwei branch May 26, 2026 18:11
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