Skip to content

Fix Copilot crash in macOS release builds#147

Closed
Redth wants to merge 3 commits intomainfrom
fix/copilot-release-signing
Closed

Fix Copilot crash in macOS release builds#147
Redth wants to merge 3 commits intomainfrom
fix/copilot-release-signing

Conversation

@Redth
Copy link
Copy Markdown
Owner

@Redth Redth commented Apr 14, 2026

Summary

Fix the macOS release signing workflow so the bundled Copilot CLI keeps its required Node/V8 entitlements.

Root cause

The release workflow was re-signing the app with --deep, which overwrote the Copilot helper entitlements and caused the production-only crash: Failed to reserve virtual memory for CodeRange.

Changes

  • sign nested helpers explicitly instead of relying on deep signing
  • preserve the Copilot binary entitlements during re-signing
  • add CI verification so the helper entitlements cannot regress silently

@Redth Redth added build-artifacts-notarized build-artifacts Triggers building app artifacts on PRs and removed build-artifacts-notarized labels Apr 14, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Redth Redth force-pushed the fix/copilot-release-signing branch from 477cd3a to 88f3ac2 Compare April 14, 2026 17:21
Redth and others added 2 commits April 15, 2026 17:42
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Redth Redth closed this Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-artifacts Triggers building app artifacts on PRs build-artifacts-notarized

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant